Class ProfilingAttributesPresentingColorsPO

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, PersistentObject

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

      • 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 Detail

      • 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.
      • clone

        public java.lang.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 java.lang.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:
        Object.clone()