Class ProfilingAttributesPresentingColorsPO

java.lang.Object
ro.sync.ecss.conditions.ProfilingAttributesPresentingColorsPO
All Implemented Interfaces:
Serializable, Cloneable, PersistentObject

@API(type=EXTENDABLE, src=PRIVATE) public class ProfilingAttributesPresentingColorsPO extends Object implements PersistentObject
Persistent object containing information about the colors used when presenting the profiling attributes in the Author page.
See Also:
  • Field Details

  • Constructor Details

    • ProfilingAttributesPresentingColorsPO

      public ProfilingAttributesPresentingColorsPO()
      Default constructor
    • ProfilingAttributesPresentingColorsPO

      public ProfilingAttributesPresentingColorsPO(int backgroundColor, int nameForegroundColor, int valuesForegroundColor, int borderColor)
      Constructor.
      Parameters:
      backgroundColor - Profiling background color.
      nameForegroundColor - Profiling attribute name foreground color.
      valuesForegroundColor - Profiling attribute values foreground color.
      borderColor - The color of the border that surrounds the profiled content.
  • Method Details

    • getNameForegroundColor

      public int getNameForegroundColor()
      Returns:
      Returns the profiling attribute name foreground color.
    • getValuesForegroundColor

      public int getValuesForegroundColor()
      Returns:
      Returns the profiling attribute values foreground color.
    • getBackgroundColor

      public int getBackgroundColor()
      Returns:
      Returns the profiling background color.
    • getBorderColor

      public int getBorderColor()
      Returns:
      Returns the color of the border that surrounds the profiled content.
    • checkValid

      public void checkValid() throws InvalidPersistentObjException
      Description copied from interface: PersistentObject
      Check if object is valid to be used. Method is called after it is deserialized from options. If not then throw an InvalidPersistentObjException exception.
      Specified by:
      checkValid in interface PersistentObject
      Throws:
      InvalidPersistentObjException - Thrown when instance is not valid.
      See Also:
    • getNotPersistentFieldNames

      public String[] getNotPersistentFieldNames()
      Specified by:
      getNotPersistentFieldNames in interface PersistentObject
      Returns:
      The names of the field from this object which should not be serialized.
      See Also:
    • clone

      public Object clone()
      Description copied from interface: PersistentObject
      Forces all the persistent objects to be cloneable.
      Specified by:
      clone in interface PersistentObject
      Overrides:
      clone in class Object
      Returns:
      A clone of this object. The clone and the original are disjunct. They share only immutable objects, like Strings, Integers, etc.
      See Also: