|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.typesetter.Mode
public abstract class Mode
This class provides type-safe constants for the modes of a typesetter.
| Field Summary | |
|---|---|
static Mode |
DISPLAYMATH
The constant DISPLAYMATH contains the display math mode of the typesetter. |
static Mode |
HORIZONTAL
The constant HORIZONTAL contains the horizontal mode of the typesetter. |
static Mode |
INNER_VERTICAL
The constant INNER_VERTICAL contains the inner vertical mode of the typesetter. |
static Mode |
MATH
The constant MATH contains the math mode of the typesetter. |
static Mode |
RESTRICTED_HORIZONTAL
The constant RESTRICTED_HORIZONTAL contains the restricted horizontal mode of the typesetter. |
static Mode |
VERTICAL
The constant VERTICAL contains the vertical mode of the typesetter. |
| Constructor Summary | |
|---|---|
protected |
Mode(java.lang.String theTag)
Creates a new object. |
| Method Summary | |
|---|---|
protected Localizer |
getLocalizer()
Getter for localizer. |
boolean |
isHmode()
Check for a horizontal mode. |
boolean |
isMath()
Check for a math mode. |
boolean |
isVmode()
Check for a vertical mode. |
java.lang.String |
toString()
Getter for the string representation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Mode DISPLAYMATH
public static final Mode HORIZONTAL
public static final Mode INNER_VERTICAL
public static final Mode MATH
public static final Mode RESTRICTED_HORIZONTAL
public static final Mode VERTICAL
| Constructor Detail |
|---|
protected Mode(java.lang.String theTag)
This constructor is private since only a limited number of modes should be usable. Those are provided by the static constants in this class.
theTag - the tag of the mode| Method Detail |
|---|
protected Localizer getLocalizer()
public boolean isHmode()
true iff the mode is one of the horizontal modespublic boolean isMath()
true iff the mode is one of the math modespublic boolean isVmode()
true iff the mode is one of the vertical modespublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||