📄 x_ad_printtableformat.java
字号:
/** Hdr_PrintFont_ID AD_Reference_ID=267 */
public static final int HDR_PRINTFONT_ID_AD_Reference_ID=267;
/** Set Header Row Font.
Header row Font */
public void setHdr_PrintFont_ID (int Hdr_PrintFont_ID)
{
if (Hdr_PrintFont_ID <= 0) set_Value ("Hdr_PrintFont_ID", null);
else
set_Value ("Hdr_PrintFont_ID", new Integer(Hdr_PrintFont_ID));
}
/** Get Header Row Font.
Header row Font */
public int getHdr_PrintFont_ID()
{
Integer ii = (Integer)get_Value("Hdr_PrintFont_ID");
if (ii == null) return 0;
return ii.intValue();
}
/** Set Header Center.
Content of the center portion of the header. */
public void setHeaderCenter (String HeaderCenter)
{
if (HeaderCenter != null && HeaderCenter.length() > 255)
{
log.warning("Length > 255 - truncated");
HeaderCenter = HeaderCenter.substring(0,254);
}
set_Value ("HeaderCenter", HeaderCenter);
}
/** Get Header Center.
Content of the center portion of the header. */
public String getHeaderCenter()
{
return (String)get_Value("HeaderCenter");
}
/** Set Header Left.
Content of the left portion of the header. */
public void setHeaderLeft (String HeaderLeft)
{
if (HeaderLeft != null && HeaderLeft.length() > 255)
{
log.warning("Length > 255 - truncated");
HeaderLeft = HeaderLeft.substring(0,254);
}
set_Value ("HeaderLeft", HeaderLeft);
}
/** Get Header Left.
Content of the left portion of the header. */
public String getHeaderLeft()
{
return (String)get_Value("HeaderLeft");
}
/** Set Header Right.
Content of the right portion of the header. */
public void setHeaderRight (String HeaderRight)
{
if (HeaderRight != null && HeaderRight.length() > 255)
{
log.warning("Length > 255 - truncated");
HeaderRight = HeaderRight.substring(0,254);
}
set_Value ("HeaderRight", HeaderRight);
}
/** Get Header Right.
Content of the right portion of the header. */
public String getHeaderRight()
{
return (String)get_Value("HeaderRight");
}
/** Set Image attached.
The image to be printed is attached to the record */
public void setImageIsAttached (boolean ImageIsAttached)
{
set_Value ("ImageIsAttached", new Boolean(ImageIsAttached));
}
/** Get Image attached.
The image to be printed is attached to the record */
public boolean isImageIsAttached()
{
Object oo = get_Value("ImageIsAttached");
if (oo != null)
{
if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Image URL.
URL of image */
public void setImageURL (String ImageURL)
{
if (ImageURL != null && ImageURL.length() > 120)
{
log.warning("Length > 120 - truncated");
ImageURL = ImageURL.substring(0,119);
}
set_Value ("ImageURL", ImageURL);
}
/** Get Image URL.
URL of image */
public String getImageURL()
{
return (String)get_Value("ImageURL");
}
/** Set Default.
Default value */
public void setIsDefault (boolean IsDefault)
{
set_Value ("IsDefault", new Boolean(IsDefault));
}
/** Get Default.
Default value */
public boolean isDefault()
{
Object oo = get_Value("IsDefault");
if (oo != null)
{
if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Paint Boundary Lines.
Paint table boundary lines */
public void setIsPaintBoundaryLines (boolean IsPaintBoundaryLines)
{
set_Value ("IsPaintBoundaryLines", new Boolean(IsPaintBoundaryLines));
}
/** Get Paint Boundary Lines.
Paint table boundary lines */
public boolean isPaintBoundaryLines()
{
Object oo = get_Value("IsPaintBoundaryLines");
if (oo != null)
{
if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Paint Horizontal Lines.
Paint horizontal lines */
public void setIsPaintHLines (boolean IsPaintHLines)
{
set_Value ("IsPaintHLines", new Boolean(IsPaintHLines));
}
/** Get Paint Horizontal Lines.
Paint horizontal lines */
public boolean isPaintHLines()
{
Object oo = get_Value("IsPaintHLines");
if (oo != null)
{
if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Paint Header Lines.
Paint Lines over/under the Header Line */
public void setIsPaintHeaderLines (boolean IsPaintHeaderLines)
{
set_Value ("IsPaintHeaderLines", new Boolean(IsPaintHeaderLines));
}
/** Get Paint Header Lines.
Paint Lines over/under the Header Line */
public boolean isPaintHeaderLines()
{
Object oo = get_Value("IsPaintHeaderLines");
if (oo != null)
{
if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Paint Vertical Lines.
Paint vertical lines */
public void setIsPaintVLines (boolean IsPaintVLines)
{
set_Value ("IsPaintVLines", new Boolean(IsPaintVLines));
}
/** Get Paint Vertical Lines.
Paint vertical lines */
public boolean isPaintVLines()
{
Object oo = get_Value("IsPaintVLines");
if (oo != null)
{
if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Print Function Symbols.
Print Symbols for Functions (Sum, Average, Count) */
public void setIsPrintFunctionSymbols (boolean IsPrintFunctionSymbols)
{
set_Value ("IsPrintFunctionSymbols", new Boolean(IsPrintFunctionSymbols));
}
/** Get Print Function Symbols.
Print Symbols for Functions (Sum, Average, Count) */
public boolean isPrintFunctionSymbols()
{
Object oo = get_Value("IsPrintFunctionSymbols");
if (oo != null)
{
if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Line Stroke.
Width of the Line Stroke */
public void setLineStroke (BigDecimal LineStroke)
{
set_Value ("LineStroke", LineStroke);
}
/** Get Line Stroke.
Width of the Line Stroke */
public BigDecimal getLineStroke()
{
BigDecimal bd = (BigDecimal)get_Value("LineStroke");
if (bd == null) return Env.ZERO;
return bd;
}
/** LineStrokeType AD_Reference_ID=312 */
public static final int LINESTROKETYPE_AD_Reference_ID=312;
/** Dash-Dotted Line = 2 */
public static final String LINESTROKETYPE_Dash_DottedLine = "2";
/** Dashed Line = D */
public static final String LINESTROKETYPE_DashedLine = "D";
/** Solid Line = S */
public static final String LINESTROKETYPE_SolidLine = "S";
/** Dotted Line = d */
public static final String LINESTROKETYPE_DottedLine = "d";
/** Set Line Stroke Type.
Type of the Line Stroke */
public void setLineStrokeType (String LineStrokeType)
{
if (LineStrokeType == null) throw new IllegalArgumentException ("LineStrokeType is mandatory");
if (LineStrokeType == null || LineStrokeType.equals("2") || LineStrokeType.equals("D") || LineStrokeType.equals("S") || LineStrokeType.equals("d"));
else throw new IllegalArgumentException ("LineStrokeType Invalid value - " + LineStrokeType + " - Reference_ID=312 - 2 - D - S - d");
if (LineStrokeType != null && LineStrokeType.length() > 1)
{
log.warning("Length > 1 - truncated");
LineStrokeType = LineStrokeType.substring(0,0);
}
set_Value ("LineStrokeType", LineStrokeType);
}
/** Get Line Stroke Type.
Type of the Line Stroke */
public String getLineStrokeType()
{
return (String)get_Value("LineStrokeType");
}
/** Line_PrintColor_ID AD_Reference_ID=266 */
public static final int LINE_PRINTCOLOR_ID_AD_Reference_ID=266;
/** Set Line Color.
Table line color */
public void setLine_PrintColor_ID (int Line_PrintColor_ID)
{
if (Line_PrintColor_ID <= 0) set_Value ("Line_PrintColor_ID", null);
else
set_Value ("Line_PrintColor_ID", new Integer(Line_PrintColor_ID));
}
/** Get Line Color.
Table line color */
public int getLine_PrintColor_ID()
{
Integer ii = (Integer)get_Value("Line_PrintColor_ID");
if (ii == null) return 0;
return ii.intValue();
}
/** Set Name.
Alphanumeric identifier of the entity */
public void setName (String Name)
{
if (Name == null) throw new IllegalArgumentException ("Name is mandatory.");
if (Name.length() > 60)
{
log.warning("Length > 60 - truncated");
Name = Name.substring(0,59);
}
set_Value ("Name", Name);
}
/** Get Name.
Alphanumeric identifier of the entity */
public String getName()
{
return (String)get_Value("Name");
}
public KeyNamePair getKeyNamePair()
{
return new KeyNamePair(get_ID(), getName());
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -