public final class StyleKey extends Object implements Serializable, Cloneable
Modifier and Type | Field and Description |
---|---|
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 |
String |
name
The name of the style key.
|
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 |
Modifier | Constructor and Description |
---|---|
protected |
StyleKey(String name,
boolean trans,
boolean inherited,
int index,
int validity)
Creates a new style key.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final int ALWAYS
public static final int INLINE_ELEMENTS
public static final int BLOCK_ELEMENTS
public static final int DOM_ELEMENTS
public static final int All_ELEMENTS
public static final int PSEUDO_BEFORE
public static final int PSEUDO_AFTER
public static final int PSEUDO_ALTERNATE
public static final int PSEUDO_MARKER
public static final int PSEUDO_LINEMARKER
public static final int PSEUDO_FIRST_LETTER
public static final int PSEUDO_FIRST_LINE
public static final int PSEUDO_OTHER
public static final int MARGINS
public static final int FOOTNOTE_AREA
public static final int PAGE_CONTEXT
public static final int COUNTERS
public final transient int index
public final String name
protected StyleKey(String name, boolean trans, boolean inherited, int index, int validity)
name
- the name (never null).public String getName()
public int getIndex()
public boolean isValidOn(int mask)
public boolean equals(Object o)
public boolean isInherited()
public int hashCode()
java.util.Hashtable
.
public boolean isTransient()
public String toString()
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
Copyright © 2018 Hitachi Vantara. All rights reserved.