public class Direction extends StyleElement
Modifier and Type | Class and Description |
---|---|
static class |
Direction.Type
Specifies the text direction for the content in an element.
|
Constructor and Description |
---|
Direction(Direction.Type type) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
draw()
All descendant have to implement how to draw it
|
protected StyleElementType |
getElementType() |
Direction.Type |
getType() |
Direction |
setType(Direction.Type type) |
drawClass, drawScript, getRoot, setRoot, toString
public Direction(Direction.Type type)
type
- of directionprotected StyleElementType getElementType()
getElementType
in class StyleElement
protected java.lang.String draw()
StyleElement
draw
in class StyleElement
public Direction.Type getType()
public Direction setType(Direction.Type type)
type
- the type to set