public final class Direction extends java.lang.Object implements 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()
Creates "direction:initial"
|
Direction(Direction.Type type)
Creates direction with type
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
draw()
All descendant have to implement how to draw it
|
Direction.Type |
getType() |
public Direction()
public Direction(Direction.Type type)
type
- direction of Direction.Type
public Direction.Type getType()
public java.lang.String draw()
StyleElement
draw
in interface StyleElement