java.lang.Object
org.pentaho.reporting.libraries.css.model.StyleKey
All Implemented Interfaces:
Serializable, Cloneable

public final class StyleKey extends Object implements Serializable, Cloneable
Creation-Date: 26.10.2005, 14:05:23
Author:
Thomas Morgner
See Also:
  • Field Details

  • Constructor Details

    • StyleKey

      protected StyleKey(String name, boolean trans, boolean inherited, int index, int validity)
      Creates a new style key.
      Parameters:
      name - the name (never null).
  • Method Details

    • getName

      public String getName()
      Returns the name of the key.
      Returns:
      the name.
    • getIndex

      public int getIndex()
    • isValidOn

      public boolean isValidOn(int mask)
    • equals

      public boolean equals(Object o)
      Indicates whether some other object is "equal to" this one.
      Overrides:
      equals in class Object
      Parameters:
      o - the reference object with which to compare.
      Returns:
      true if this object is the same as the obj argument; false otherwise.
    • isInherited

      public boolean isInherited()
    • hashCode

      public int hashCode()
      Returns a hash code value for the object. This method is supported for the benefit of hashtables such as those provided by java.util.Hashtable.

      Overrides:
      hashCode in class Object
      Returns:
      a hash code value for this object.
    • isTransient

      public boolean isTransient()
      Checks, whether this stylekey denotes a temporary computation result.
      Returns:
      true, if the key is transient, false otherwise.
    • toString

      public String toString()
      Returns a string representation of the object.
      Overrides:
      toString in class Object
      Returns:
      a string representation of the object.
    • clone

      public Object clone() throws CloneNotSupportedException
      Overrides:
      clone in class Object
      Throws:
      CloneNotSupportedException