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

public class X_AD_Color extends PO implements I_AD_Color, I_Persistent
Generated Model for AD_Color
Version:
Release 11 - $Id$
Author:
iDempiere (generated)
See Also:
  • Field Details

  • Constructor Details

    • X_AD_Color

      public X_AD_Color(Properties ctx, int AD_Color_ID, String trxName)
      Standard Constructor
    • X_AD_Color

      public X_AD_Color(Properties ctx, int AD_Color_ID, String trxName, String... virtualColumns)
      Standard Constructor
    • X_AD_Color

      public X_AD_Color(Properties ctx, String AD_Color_UU, String trxName)
      Standard Constructor
    • X_AD_Color

      public X_AD_Color(Properties ctx, String AD_Color_UU, String trxName, String... virtualColumns)
      Standard Constructor
    • X_AD_Color

      public X_AD_Color(Properties ctx, ResultSet rs, String trxName)
      Load Constructor
  • Method Details

    • get_AccessLevel

      protected int get_AccessLevel()
      AccessLevel
      Specified by:
      get_AccessLevel in class PO
      Returns:
      4 - System
    • initPO

      protected POInfo initPO(Properties ctx)
      Load Meta Data
      Specified by:
      initPO in class PO
      Parameters:
      ctx - context
      Returns:
      Meta data of PO
    • toString

      public String toString()
      Description copied from class: PO
      String representation
      Overrides:
      toString in class PO
      Returns:
      String representation
    • setAD_Color_ID

      public void setAD_Color_ID(int AD_Color_ID)
      Set System Color.
      Specified by:
      setAD_Color_ID in interface I_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 interface I_AD_Color
      Returns:
      Color for backgrounds or indicators
    • setAD_Color_UU

      public void setAD_Color_UU(String AD_Color_UU)
      Set AD_Color_UU.
      Specified by:
      setAD_Color_UU in interface I_AD_Color
      Parameters:
      AD_Color_UU - AD_Color_UU
    • getAD_Color_UU

      public String getAD_Color_UU()
      Get AD_Color_UU.
      Specified by:
      getAD_Color_UU in interface I_AD_Color
      Returns:
      AD_Color_UU
    • getAD_Image

      public I_AD_Image getAD_Image() throws RuntimeException
      Specified by:
      getAD_Image in interface I_AD_Color
      Throws:
      RuntimeException
    • setAD_Image_ID

      public void setAD_Image_ID(int AD_Image_ID)
      Set Image.
      Specified by:
      setAD_Image_ID in interface I_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 interface I_AD_Color
      Returns:
      Image or Icon
    • setAlpha

      public void setAlpha(int Alpha)
      Set Alpha.
      Specified by:
      setAlpha in interface I_AD_Color
      Parameters:
      Alpha - Color Alpha value 0-255
    • getAlpha

      public int getAlpha()
      Get Alpha.
      Specified by:
      getAlpha in interface I_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 interface I_AD_Color
      Parameters:
      Alpha_1 - Alpha value for second color
    • getAlpha_1

      public int getAlpha_1()
      Get 2nd Alpha.
      Specified by:
      getAlpha_1 in interface I_AD_Color
      Returns:
      Alpha value for second color
    • setBlue

      public void setBlue(int Blue)
      Set Blue.
      Specified by:
      setBlue in interface I_AD_Color
      Parameters:
      Blue - Color RGB blue value
    • getBlue

      public int getBlue()
      Get Blue.
      Specified by:
      getBlue in interface I_AD_Color
      Returns:
      Color RGB blue value
    • setBlue_1

      public void setBlue_1(int Blue_1)
      Set 2nd Blue.
      Specified by:
      setBlue_1 in interface I_AD_Color
      Parameters:
      Blue_1 - RGB value for second color
    • getBlue_1

      public int getBlue_1()
      Get 2nd Blue.
      Specified by:
      getBlue_1 in interface I_AD_Color
      Returns:
      RGB value for second color
    • setColorType

      public void setColorType(String ColorType)
      Set Color Type.
      Specified by:
      setColorType in interface I_AD_Color
      Parameters:
      ColorType - Color presentation for this color
    • getColorType

      public String getColorType()
      Get Color Type.
      Specified by:
      getColorType in interface I_AD_Color
      Returns:
      Color presentation for this color
    • setGreen

      public void setGreen(int Green)
      Set Green.
      Specified by:
      setGreen in interface I_AD_Color
      Parameters:
      Green - RGB value
    • getGreen

      public int getGreen()
      Get Green.
      Specified by:
      getGreen in interface I_AD_Color
      Returns:
      RGB value
    • setGreen_1

      public void setGreen_1(int Green_1)
      Set 2nd Green.
      Specified by:
      setGreen_1 in interface I_AD_Color
      Parameters:
      Green_1 - RGB value for second color
    • getGreen_1

      public int getGreen_1()
      Get 2nd Green.
      Specified by:
      getGreen_1 in interface I_AD_Color
      Returns:
      RGB value for second color
    • setImageAlpha

      public void setImageAlpha(BigDecimal ImageAlpha)
      Set Image Alpha.
      Specified by:
      setImageAlpha in interface I_AD_Color
      Parameters:
      ImageAlpha - Image Texture Composite Alpha
    • getImageAlpha

      public BigDecimal getImageAlpha()
      Get Image Alpha.
      Specified by:
      getImageAlpha in interface I_AD_Color
      Returns:
      Image Texture Composite Alpha
    • setIsDefault

      public void setIsDefault(boolean IsDefault)
      Set Default.
      Specified by:
      setIsDefault in interface I_AD_Color
      Parameters:
      IsDefault - Default value
    • isDefault

      public boolean isDefault()
      Get Default.
      Specified by:
      isDefault in interface I_AD_Color
      Returns:
      Default value
    • setLineDistance

      public void setLineDistance(int LineDistance)
      Set Line Distance.
      Specified by:
      setLineDistance in interface I_AD_Color
      Parameters:
      LineDistance - Distance between lines
    • getLineDistance

      public int getLineDistance()
      Get Line Distance.
      Specified by:
      getLineDistance in interface I_AD_Color
      Returns:
      Distance between lines
    • setLineWidth

      public void setLineWidth(int LineWidth)
      Set Line Width.
      Specified by:
      setLineWidth in interface I_AD_Color
      Parameters:
      LineWidth - Width of the lines
    • getLineWidth

      public int getLineWidth()
      Get Line Width.
      Specified by:
      getLineWidth in interface I_AD_Color
      Returns:
      Width of the lines
    • setName

      public void setName(String Name)
      Set Name.
      Specified by:
      setName in interface I_AD_Color
      Parameters:
      Name - Alphanumeric identifier of the entity
    • getName

      public String getName()
      Get Name.
      Specified by:
      getName in interface I_AD_Color
      Returns:
      Alphanumeric identifier of the entity
    • getKeyNamePair

      public KeyNamePair getKeyNamePair()
      Get Record ID/ColumnName
      Returns:
      ID/ColumnName pair
    • setRed

      public void setRed(int Red)
      Set Red.
      Specified by:
      setRed in interface I_AD_Color
      Parameters:
      Red - RGB value
    • getRed

      public int getRed()
      Get Red.
      Specified by:
      getRed in interface I_AD_Color
      Returns:
      RGB value
    • setRed_1

      public void setRed_1(int Red_1)
      Set 2nd Red.
      Specified by:
      setRed_1 in interface I_AD_Color
      Parameters:
      Red_1 - RGB value for second color
    • getRed_1

      public int getRed_1()
      Get 2nd Red.
      Specified by:
      getRed_1 in interface I_AD_Color
      Returns:
      RGB value for second color
    • setRepeatDistance

      public void setRepeatDistance(int RepeatDistance)
      Set Repeat Distance.
      Specified by:
      setRepeatDistance in interface I_AD_Color
      Parameters:
      RepeatDistance - Distance in points to repeat gradient color - or zero
    • getRepeatDistance

      public int getRepeatDistance()
      Get Repeat Distance.
      Specified by:
      getRepeatDistance in interface I_AD_Color
      Returns:
      Distance in points to repeat gradient color - or zero
    • setStartPoint

      public void setStartPoint(String StartPoint)
      Set Start Point.
      Specified by:
      setStartPoint in interface I_AD_Color
      Parameters:
      StartPoint - Start point of the gradient colors
    • getStartPoint

      public String getStartPoint()
      Get Start Point.
      Specified by:
      getStartPoint in interface I_AD_Color
      Returns:
      Start point of the gradient colors