public final class Display extends java.lang.Object implements StyleElement
Modifier and Type | Class and Description |
---|---|
static class |
Display.Type
Display type
|
Constructor and Description |
---|
Display()
Creates "display:initial"
|
Display(Display.Type type)
Creates display with type.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
draw()
All descendant have to implement how to draw it
|
Display.Type |
getType() |
public Display()
public Display(Display.Type type)
type
- display of Display.Type
public Display.Type getType()
public java.lang.String draw()
StyleElement
draw
in interface StyleElement