|
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_PA_ColorSchema
org.compiere.model.MColorSchema
public class MColorSchema
Performance Color Schema
| Field Summary |
|---|
| Fields inherited from class org.compiere.model.X_PA_ColorSchema |
|---|
accessLevel, AD_PRINTCOLOR1_ID_AD_Reference_ID, AD_PRINTCOLOR2_ID_AD_Reference_ID, AD_PRINTCOLOR3_ID_AD_Reference_ID, AD_PRINTCOLOR4_ID_AD_Reference_ID, ENTITYTYPE_AD_Reference_ID, Model, Table_ID, Table_Name, updatedMS |
| 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 | |
|---|---|
MColorSchema(Ctx ctx,
int PA_ColorSchema_ID,
String trxName)
Standard Constructor |
|
MColorSchema(Ctx ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
| Method Summary | |
|---|---|
protected boolean |
beforeSave(boolean newRecord)
Before Save |
static MColorSchema |
get(Ctx ctx,
int PA_ColorSchema_ID)
Get MColorSchema from Cache |
static Color |
getColor(Ctx ctx,
int PA_ColorSchema_ID,
BigDecimal target,
BigDecimal actual)
Get Color |
static Color |
getColor(Ctx ctx,
int PA_ColorSchema_ID,
int percent)
Get Color |
Color |
getColor(int percent)
Get Color |
void |
setDefault()
Set Default. |
String |
toString()
String Representation |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MColorSchema(Ctx ctx,
int PA_ColorSchema_ID,
String trxName)
ctx - contextPA_ColorSchema_ID - idtrxName - trx
public MColorSchema(Ctx ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - trx| Method Detail |
|---|
public static Color getColor(Ctx ctx,
int PA_ColorSchema_ID,
BigDecimal target,
BigDecimal actual)
ctx - contextPA_ColorSchema_ID - idtarget - target valueactual - actual value
public static Color getColor(Ctx ctx,
int PA_ColorSchema_ID,
int percent)
ctx - contextPA_ColorSchema_ID - idpercent - percent
public static MColorSchema get(Ctx ctx,
int PA_ColorSchema_ID)
ctx - contextPA_ColorSchema_ID - id
public void setDefault()
protected boolean beforeSave(boolean newRecord)
beforeSave in class POnewRecord - new
public Color getColor(int percent)
percent - percent
public String toString()
toString in class X_PA_ColorSchema
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||