|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.framework.PO
org.compiere.model.X_AD_PrintFormatItem
org.compiere.print.MPrintFormatItem
public class MPrintFormatItem
Print Format Item Model. Caches Column Name (Add missing Items with PrintFormatUtil)
| Field Summary |
|---|
| Fields inherited from class org.compiere.framework.PO |
|---|
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, log, p_changeVO, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID |
| Constructor Summary | |
|---|---|
MPrintFormatItem(Ctx ctx,
int AD_PrintFormatItem_ID,
String trxName)
Constructor |
|
MPrintFormatItem(Ctx ctx,
ResultSet rs,
String trxName)
Constructor |
|
| Method Summary | |
|---|---|
protected boolean |
afterSave(boolean newRecord,
boolean success)
After Save |
protected boolean |
beforeSave(boolean newRecord)
Before Save |
MPrintFormatItem |
copyToClient(int To_Client_ID,
int AD_PrintFormat_ID)
Copy existing Definition To Client |
static MPrintFormatItem |
createFromBViewColumn(MPrintFormat format,
int AD_Column_ID,
int AD_BView_ID,
int seqNo)
|
static MPrintFormatItem |
createFromColumn(MPrintFormat format,
int AD_Column_ID,
int seqNo)
Create Print Format Item from Column |
String |
getColumnName()
Get ColumnName from AD_Column_ID |
String |
getPrintName(Language language)
Get print name with language |
String |
getPrintNameSuffix(Language language)
Get print name suffix with language |
boolean |
isBarcode()
Barcode |
boolean |
isContent()
Content |
boolean |
isFieldAlignBlock()
Field Align Block |
boolean |
isFieldAlignDefault()
Field Align Default |
boolean |
isFieldAlignLeading()
Field Align Leading |
boolean |
isFieldAlignTrailing()
Field Align Trailing |
boolean |
isFieldCenter()
Field Center |
boolean |
isFooter()
Footer |
boolean |
isHeader()
Header |
boolean |
isLineAlignCenter()
Line Align Center |
boolean |
isLineAlignLeading()
Line Align Leading |
boolean |
isLineAlignTrailing()
Line Align Trailing |
boolean |
isTypeBox()
Type Box |
boolean |
isTypeField()
Type Field |
boolean |
isTypeImage()
Type Image |
boolean |
isTypePrintFormat()
Type Print Format |
boolean |
isTypeText()
Type Text |
String |
toString()
String representation |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MPrintFormatItem(Ctx ctx,
int AD_PrintFormatItem_ID,
String trxName)
ctx - contextAD_PrintFormatItem_ID - AD_PrintFormatItem_IDtrxName - transaction
public MPrintFormatItem(Ctx ctx,
ResultSet rs,
String trxName)
ctx - contextrs - ResultSettrxName - transaction| Method Detail |
|---|
public String getPrintName(Language language)
language - language - ignored if IsMultiLingualDocument not 'Y'
public String getPrintNameSuffix(Language language)
language - language - ignored if IsMultiLingualDocument not 'Y'
public boolean isTypeField()
public boolean isTypeText()
public boolean isTypePrintFormat()
public boolean isTypeImage()
public boolean isTypeBox()
public boolean isFieldCenter()
public boolean isFieldAlignLeading()
public boolean isFieldAlignTrailing()
public boolean isFieldAlignBlock()
public boolean isFieldAlignDefault()
public boolean isLineAlignCenter()
public boolean isLineAlignLeading()
public boolean isLineAlignTrailing()
public boolean isHeader()
public boolean isContent()
public boolean isFooter()
public boolean isBarcode()
public String toString()
toString in class X_AD_PrintFormatItempublic String getColumnName()
public static MPrintFormatItem createFromColumn(MPrintFormat format,
int AD_Column_ID,
int seqNo)
format - parentAD_Column_ID - columnseqNo - sequence of display if 0 it is not printed
public MPrintFormatItem copyToClient(int To_Client_ID,
int AD_PrintFormat_ID)
To_Client_ID - to clientAD_PrintFormat_ID - parent print format
protected boolean beforeSave(boolean newRecord)
beforeSave in class POnewRecord -
protected boolean afterSave(boolean newRecord,
boolean success)
afterSave in class POnewRecord - newsuccess - success
public static MPrintFormatItem createFromBViewColumn(MPrintFormat format,
int AD_Column_ID,
int AD_BView_ID,
int seqNo)
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||