|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.fop.traits.TraitEnum
org.apache.fop.traits.Direction
public final class Direction
Enumeration class for direction traits, namely {inline,block}-progression-direction and shift-direction.
| Field Summary | |
|---|---|
static Direction |
BT
direction: bottom-to-top |
static Direction |
LR
direction: left-to-right |
static Direction |
RL
direction: right-to-left |
static Direction |
TB
direction: top-to-bottom |
| Method Summary | |
|---|---|
boolean |
isHorizontal()
Determine if direction is horizontal or not. |
boolean |
isVertical()
Determine if direction is vertical or not. |
java.lang.String |
toString()
|
static Direction |
valueOf(int enumValue)
Returns the enumeration/singleton object based on its name. |
static Direction |
valueOf(java.lang.String name)
Returns the enumeration/singleton object based on its name. |
| Methods inherited from class org.apache.fop.traits.TraitEnum |
|---|
getEnumValue, getName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Direction LR
public static final Direction RL
public static final Direction TB
public static final Direction BT
| Method Detail |
|---|
public boolean isVertical()
public boolean isHorizontal()
public static Direction valueOf(java.lang.String name)
name - the name of the enumeration value
public static Direction valueOf(int enumValue)
enumValue - the enumeration value
public java.lang.String toString()
toString in class java.lang.Object
|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||