public final class VerticalAlign extends java.lang.Object implements StyleElement
Modifier and Type | Class and Description |
---|---|
static class |
VerticalAlign.Type
Type of vertical align
|
Constructor and Description |
---|
VerticalAlign()
Creates: "vertical-align: initial;"
|
VerticalAlign(Length length)
Creates vertical align with given
Length |
VerticalAlign(VerticalAlign.Type type)
Creates vertical align with given
VerticalAlign.Type |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
draw()
All descendant have to implement how to draw it
|
Length |
getLength() |
VerticalAlign.Type |
getType() |
public VerticalAlign()
public VerticalAlign(VerticalAlign.Type type)
VerticalAlign.Type
type
- of vertical alignpublic java.lang.String draw()
StyleElement
draw
in interface StyleElement
public VerticalAlign.Type getType()
public Length getLength()