Package org.compiere.model
Class X_AD_Color
java.lang.Object
org.compiere.model.PO
org.compiere.model.X_AD_Color
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_AD_Color
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MColor
Generated Model for AD_Color
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
ColorType AD_Reference_ID=243static final String
Gradient = Gstatic final String
Line = Lstatic final String
Normal (Flat) = Fstatic final String
Texture (Picture) = Tstatic final int
StartPoint AD_Reference_ID=248static final String
East = 3static final String
North = 1static final String
North East = 2static final String
North West = 8static final String
South = 5static final String
South East = 4static final String
South West = 6static final String
West = 7Fields inherited from class org.compiere.model.PO
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, LOCAL_TRX_PREFIX, log, p_ctx, p_info, UUID_NEW_RECORD, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
Fields inherited from interface org.compiere.model.I_AD_Color
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Color_ID, COLUMNNAME_AD_Color_UU, COLUMNNAME_AD_Image_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_Alpha, COLUMNNAME_Alpha_1, COLUMNNAME_Blue, COLUMNNAME_Blue_1, COLUMNNAME_ColorType, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_Green, COLUMNNAME_Green_1, COLUMNNAME_ImageAlpha, COLUMNNAME_IsActive, COLUMNNAME_IsDefault, COLUMNNAME_LineDistance, COLUMNNAME_LineWidth, COLUMNNAME_Name, COLUMNNAME_Red, COLUMNNAME_Red_1, COLUMNNAME_RepeatDistance, COLUMNNAME_StartPoint, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
Constructor Summary
ConstructorDescriptionX_AD_Color
(Properties ctx, int AD_Color_ID, String trxName) Standard ConstructorX_AD_Color
(Properties ctx, int AD_Color_ID, String trxName, String... virtualColumns) Standard ConstructorX_AD_Color
(Properties ctx, String AD_Color_UU, String trxName) Standard ConstructorX_AD_Color
(Properties ctx, String AD_Color_UU, String trxName, String... virtualColumns) Standard ConstructorX_AD_Color
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelint
Get System Color.Get AD_Color_UU.int
Get Image.int
getAlpha()
Get Alpha.int
Get 2nd Alpha.int
getBlue()
Get Blue.int
Get 2nd Blue.Get Color Type.int
getGreen()
Get Green.int
Get 2nd Green.Get Image Alpha.Get Record ID/ColumnNameint
Get Line Distance.int
Get Line Width.getName()
Get Name.int
getRed()
Get Red.int
getRed_1()
Get 2nd Red.int
Get Repeat Distance.Get Start Point.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
Get Default.void
setAD_Color_ID
(int AD_Color_ID) Set System Color.void
setAD_Color_UU
(String AD_Color_UU) Set AD_Color_UU.void
setAD_Image_ID
(int AD_Image_ID) Set Image.void
setAlpha
(int Alpha) Set Alpha.void
setAlpha_1
(int Alpha_1) Set 2nd Alpha.void
setBlue
(int Blue) Set Blue.void
setBlue_1
(int Blue_1) Set 2nd Blue.void
setColorType
(String ColorType) Set Color Type.void
setGreen
(int Green) Set Green.void
setGreen_1
(int Green_1) Set 2nd Green.void
setImageAlpha
(BigDecimal ImageAlpha) Set Image Alpha.void
setIsDefault
(boolean IsDefault) Set Default.void
setLineDistance
(int LineDistance) Set Line Distance.void
setLineWidth
(int LineWidth) Set Line Width.void
Set Name.void
setRed
(int Red) Set Red.void
setRed_1
(int Red_1) Set 2nd Red.void
setRepeatDistance
(int RepeatDistance) Set Repeat Distance.void
setStartPoint
(String StartPoint) Set Start Point.toString()
String representationMethods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, buildInsertSQL, checkImmutable, clearCrossTenantSafe, clone, columnExists, columnExists, compare, copyPO, copyValues, copyValues, createAttachment, delete, delete, delete_Accounting, delete_Tree, deleteEx, deleteEx, dump, dump, equals, get_Attribute, get_Attributes, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_HashMap, get_ID, get_IDOld, get_KeyColumns, get_Logger, get_OptimisticLockingColumns, get_Table_ID, get_TableName, get_Translation, get_Translation, get_Translation, get_Translation, get_Translation, get_TrxName, get_UUID, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getUUIDColumnName, getUUIDColumnName, hashCode, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_Immutable, is_new, is_UseOptimisticLocking, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, loadByUU, loadComplete, loadDefaults, loadPO, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveCrossTenantSafe, saveCrossTenantSafeEx, saveCrossTenantSafeEx, saveEx, saveEx, saveNew_afterSetID, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_Attribute, set_ColumnUpdateable, set_CustomColumn, set_CustomColumnReturningBoolean, set_OptimisticLockingColumns, set_TrxName, set_TrxName, set_UseOptimisticLocking, set_Value, set_Value, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, set_ValueOfColumnReturningBoolean, set_ValueOfColumnReturningBoolean, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setCrossTenantSafe, setDoc, setDocWorkflowMgr, setIsActive, setProcessedOn, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, toInsertSQL, unlock, update_Tree, validForeignKeys
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
Methods inherited from interface org.compiere.model.I_AD_Color
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActive
Methods inherited from interface org.compiere.model.I_Persistent
save
-
Field Details
-
COLORTYPE_AD_Reference_ID
public static final int COLORTYPE_AD_Reference_IDColorType AD_Reference_ID=243- See Also:
-
COLORTYPE_NormalFlat
Normal (Flat) = F- See Also:
-
COLORTYPE_Gradient
Gradient = G- See Also:
-
COLORTYPE_Line
Line = L- See Also:
-
COLORTYPE_TexturePicture
Texture (Picture) = T- See Also:
-
STARTPOINT_AD_Reference_ID
public static final int STARTPOINT_AD_Reference_IDStartPoint AD_Reference_ID=248- See Also:
-
STARTPOINT_North
North = 1- See Also:
-
STARTPOINT_NorthEast
North East = 2- See Also:
-
STARTPOINT_East
East = 3- See Also:
-
STARTPOINT_SouthEast
South East = 4- See Also:
-
STARTPOINT_South
South = 5- See Also:
-
STARTPOINT_SouthWest
South West = 6- See Also:
-
STARTPOINT_West
West = 7- See Also:
-
STARTPOINT_NorthWest
North West = 8- See Also:
-
-
Constructor Details
-
X_AD_Color
Standard Constructor -
X_AD_Color
Standard Constructor -
X_AD_Color
Standard Constructor -
X_AD_Color
Standard Constructor -
X_AD_Color
Load Constructor
-
-
Method Details
-
get_AccessLevel
protected int get_AccessLevel()AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 4 - System
-
initPO
Load Meta Data -
toString
Description copied from class:PO
String representation -
setAD_Color_ID
public void setAD_Color_ID(int AD_Color_ID) Set System Color.- Specified by:
setAD_Color_ID
in interfaceI_AD_Color
- Parameters:
AD_Color_ID
- Color for backgrounds or indicators
-
getAD_Color_ID
public int getAD_Color_ID()Get System Color.- Specified by:
getAD_Color_ID
in interfaceI_AD_Color
- Returns:
- Color for backgrounds or indicators
-
setAD_Color_UU
Set AD_Color_UU.- Specified by:
setAD_Color_UU
in interfaceI_AD_Color
- Parameters:
AD_Color_UU
- AD_Color_UU
-
getAD_Color_UU
Get AD_Color_UU.- Specified by:
getAD_Color_UU
in interfaceI_AD_Color
- Returns:
- AD_Color_UU
-
getAD_Image
- Specified by:
getAD_Image
in interfaceI_AD_Color
- Throws:
RuntimeException
-
setAD_Image_ID
public void setAD_Image_ID(int AD_Image_ID) Set Image.- Specified by:
setAD_Image_ID
in interfaceI_AD_Color
- Parameters:
AD_Image_ID
- Image or Icon
-
getAD_Image_ID
public int getAD_Image_ID()Get Image.- Specified by:
getAD_Image_ID
in interfaceI_AD_Color
- Returns:
- Image or Icon
-
setAlpha
public void setAlpha(int Alpha) Set Alpha.- Specified by:
setAlpha
in interfaceI_AD_Color
- Parameters:
Alpha
- Color Alpha value 0-255
-
getAlpha
public int getAlpha()Get Alpha.- Specified by:
getAlpha
in interfaceI_AD_Color
- Returns:
- Color Alpha value 0-255
-
setAlpha_1
public void setAlpha_1(int Alpha_1) Set 2nd Alpha.- Specified by:
setAlpha_1
in interfaceI_AD_Color
- Parameters:
Alpha_1
- Alpha value for second color
-
getAlpha_1
public int getAlpha_1()Get 2nd Alpha.- Specified by:
getAlpha_1
in interfaceI_AD_Color
- Returns:
- Alpha value for second color
-
setBlue
public void setBlue(int Blue) Set Blue.- Specified by:
setBlue
in interfaceI_AD_Color
- Parameters:
Blue
- Color RGB blue value
-
getBlue
public int getBlue()Get Blue.- Specified by:
getBlue
in interfaceI_AD_Color
- Returns:
- Color RGB blue value
-
setBlue_1
public void setBlue_1(int Blue_1) Set 2nd Blue.- Specified by:
setBlue_1
in interfaceI_AD_Color
- Parameters:
Blue_1
- RGB value for second color
-
getBlue_1
public int getBlue_1()Get 2nd Blue.- Specified by:
getBlue_1
in interfaceI_AD_Color
- Returns:
- RGB value for second color
-
setColorType
Set Color Type.- Specified by:
setColorType
in interfaceI_AD_Color
- Parameters:
ColorType
- Color presentation for this color
-
getColorType
Get Color Type.- Specified by:
getColorType
in interfaceI_AD_Color
- Returns:
- Color presentation for this color
-
setGreen
public void setGreen(int Green) Set Green.- Specified by:
setGreen
in interfaceI_AD_Color
- Parameters:
Green
- RGB value
-
getGreen
public int getGreen()Get Green.- Specified by:
getGreen
in interfaceI_AD_Color
- Returns:
- RGB value
-
setGreen_1
public void setGreen_1(int Green_1) Set 2nd Green.- Specified by:
setGreen_1
in interfaceI_AD_Color
- Parameters:
Green_1
- RGB value for second color
-
getGreen_1
public int getGreen_1()Get 2nd Green.- Specified by:
getGreen_1
in interfaceI_AD_Color
- Returns:
- RGB value for second color
-
setImageAlpha
Set Image Alpha.- Specified by:
setImageAlpha
in interfaceI_AD_Color
- Parameters:
ImageAlpha
- Image Texture Composite Alpha
-
getImageAlpha
Get Image Alpha.- Specified by:
getImageAlpha
in interfaceI_AD_Color
- Returns:
- Image Texture Composite Alpha
-
setIsDefault
public void setIsDefault(boolean IsDefault) Set Default.- Specified by:
setIsDefault
in interfaceI_AD_Color
- Parameters:
IsDefault
- Default value
-
isDefault
public boolean isDefault()Get Default.- Specified by:
isDefault
in interfaceI_AD_Color
- Returns:
- Default value
-
setLineDistance
public void setLineDistance(int LineDistance) Set Line Distance.- Specified by:
setLineDistance
in interfaceI_AD_Color
- Parameters:
LineDistance
- Distance between lines
-
getLineDistance
public int getLineDistance()Get Line Distance.- Specified by:
getLineDistance
in interfaceI_AD_Color
- Returns:
- Distance between lines
-
setLineWidth
public void setLineWidth(int LineWidth) Set Line Width.- Specified by:
setLineWidth
in interfaceI_AD_Color
- Parameters:
LineWidth
- Width of the lines
-
getLineWidth
public int getLineWidth()Get Line Width.- Specified by:
getLineWidth
in interfaceI_AD_Color
- Returns:
- Width of the lines
-
setName
Set Name.- Specified by:
setName
in interfaceI_AD_Color
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
Get Name.- Specified by:
getName
in interfaceI_AD_Color
- Returns:
- Alphanumeric identifier of the entity
-
getKeyNamePair
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setRed
public void setRed(int Red) Set Red.- Specified by:
setRed
in interfaceI_AD_Color
- Parameters:
Red
- RGB value
-
getRed
public int getRed()Get Red.- Specified by:
getRed
in interfaceI_AD_Color
- Returns:
- RGB value
-
setRed_1
public void setRed_1(int Red_1) Set 2nd Red.- Specified by:
setRed_1
in interfaceI_AD_Color
- Parameters:
Red_1
- RGB value for second color
-
getRed_1
public int getRed_1()Get 2nd Red.- Specified by:
getRed_1
in interfaceI_AD_Color
- Returns:
- RGB value for second color
-
setRepeatDistance
public void setRepeatDistance(int RepeatDistance) Set Repeat Distance.- Specified by:
setRepeatDistance
in interfaceI_AD_Color
- Parameters:
RepeatDistance
- Distance in points to repeat gradient color - or zero
-
getRepeatDistance
public int getRepeatDistance()Get Repeat Distance.- Specified by:
getRepeatDistance
in interfaceI_AD_Color
- Returns:
- Distance in points to repeat gradient color - or zero
-
setStartPoint
Set Start Point.- Specified by:
setStartPoint
in interfaceI_AD_Color
- Parameters:
StartPoint
- Start point of the gradient colors
-
getStartPoint
Get Start Point.- Specified by:
getStartPoint
in interfaceI_AD_Color
- Returns:
- Start point of the gradient colors
-