Class StyleKey
java.lang.Object
org.pentaho.reporting.libraries.css.model.StyleKey
- All Implemented Interfaces:
Serializable
,Cloneable
Creation-Date: 26.10.2005, 14:05:23
- Author:
- Thomas Morgner
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
final int
The index is implicitly defined when the key is registered.static final int
static final int
final String
The name of the style key.static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Indicates whether some other object is "equal to" this one.int
getIndex()
getName()
Returns the name of the key.int
hashCode()
Returns a hash code value for the object.boolean
boolean
Checks, whether this stylekey denotes a temporary computation result.boolean
isValidOn
(int mask) toString()
Returns a string representation of the object.
-
Field Details
-
ALWAYS
public static final int ALWAYS- See Also:
-
INLINE_ELEMENTS
public static final int INLINE_ELEMENTS- See Also:
-
BLOCK_ELEMENTS
public static final int BLOCK_ELEMENTS- See Also:
-
DOM_ELEMENTS
public static final int DOM_ELEMENTS- See Also:
-
All_ELEMENTS
public static final int All_ELEMENTS- See Also:
-
PSEUDO_BEFORE
public static final int PSEUDO_BEFORE- See Also:
-
PSEUDO_AFTER
public static final int PSEUDO_AFTER- See Also:
-
PSEUDO_ALTERNATE
public static final int PSEUDO_ALTERNATE- See Also:
-
PSEUDO_MARKER
public static final int PSEUDO_MARKER- See Also:
-
PSEUDO_LINEMARKER
public static final int PSEUDO_LINEMARKER- See Also:
-
PSEUDO_FIRST_LETTER
public static final int PSEUDO_FIRST_LETTER- See Also:
-
PSEUDO_FIRST_LINE
public static final int PSEUDO_FIRST_LINE- See Also:
-
PSEUDO_OTHER
public static final int PSEUDO_OTHER- See Also:
-
MARGINS
public static final int MARGINS- See Also:
-
FOOTNOTE_AREA
public static final int FOOTNOTE_AREA- See Also:
-
PAGE_CONTEXT
public static final int PAGE_CONTEXT- See Also:
-
COUNTERS
public static final int COUNTERS- See Also:
-
index
public final transient int indexThe index is implicitly defined when the key is registered. Do not rely on that index for long term persitence. -
name
The name of the style key.
-
-
Constructor Details
-
StyleKey
Creates a new style key.- Parameters:
name
- the name (never null).
-
-
Method Details
-
getName
Returns the name of the key.- Returns:
- the name.
-
getIndex
public int getIndex() -
isValidOn
public boolean isValidOn(int mask) -
equals
Indicates whether some other object is "equal to" this one. -
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 byjava.util.Hashtable
. -
isTransient
public boolean isTransient()Checks, whether this stylekey denotes a temporary computation result.- Returns:
- true, if the key is transient, false otherwise.
-
toString
Returns a string representation of the object. -
clone
- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
-