org.jfree.layouting.input.style
public final class StyleKey extends Object implements Serializable, Cloneable
Field Summary | |
---|---|
static int | All_ELEMENTS |
static int | ALWAYS |
static int | BLOCK_ELEMENTS |
static int | COUNTERS |
static int | DOM_ELEMENTS |
static int | FOOTNOTE_AREA |
int | index
The index is implicitly defined when the key is registered. |
static int | INLINE_ELEMENTS |
static int | MARGINS |
static int | PAGE_CONTEXT |
static int | PSEUDO_AFTER |
static int | PSEUDO_ALTERNATE |
static int | PSEUDO_BEFORE |
static int | PSEUDO_FIRST_LETTER |
static int | PSEUDO_FIRST_LINE |
static int | PSEUDO_LINEMARKER |
static int | PSEUDO_MARKER |
static int | PSEUDO_OTHER |
Constructor Summary | |
---|---|
protected | StyleKey(String name, boolean trans, boolean inherited, int index, int validity)
Creates a new style key.
|
Method Summary | |
---|---|
Object | clone() |
boolean | equals(Object o)
Indicates whether some other object is "equal to" this one.
|
int | getIndex() |
String | getName()
Returns the name of the key.
|
int | hashCode()
Returns a hash code value for the object. |
boolean | isInherited() |
boolean | isTransient()
Checks, whether this stylekey denotes a temporary computation result.
|
boolean | isValidOn(int mask) |
String | toString()
Returns a string representation of the object.
|
Parameters: name the name (never null).
Parameters: o the reference object with which to compare.
Returns: true
if this object is the same as the obj argument;
false
otherwise.
Returns: the name.
java.util.Hashtable
.
Returns: a hash code value for this object.
Returns: true, if the key is transient, false otherwise.
Returns: a string representation of the object.