public class ListStyle extends StyleElement
Modifier and Type | Class and Description |
---|---|
static class |
ListStyle.Position
The list-style-position property places the list-item marker in the list.
|
static class |
ListStyle.Type
The list-style-type sets the type of the list-item marker.
|
Constructor and Description |
---|
ListStyle() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
draw()
All descendant have to implement how to draw it
|
protected StyleElementType |
getElementType() |
java.lang.String |
getImage() |
ListStyle.Position |
getPosition() |
ListStyle.Type |
getType() |
ListStyle |
setImage(java.lang.String image) |
ListStyle |
setPosition(ListStyle.Position position) |
ListStyle |
setType(ListStyle.Type type) |
drawClass, drawScript, getRoot, setRoot, toString
protected StyleElementType getElementType()
getElementType
in class StyleElement
protected java.lang.String draw()
StyleElement
draw
in class StyleElement
public java.lang.String getImage()
public ListStyle setImage(java.lang.String image)
image
- the image to setpublic ListStyle.Position getPosition()
public ListStyle setPosition(ListStyle.Position position)
position
- the position to setpublic ListStyle.Type getType()
public ListStyle setType(ListStyle.Type type)
type
- the type to set