public final class ListStyle extends java.lang.Object implements 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()
Creates "list-style: initial;"
|
ListStyle(ListStyle.Type type,
java.lang.String image,
ListStyle.Position position)
Creates list style with one or all parameters
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
draw()
All descendant have to implement how to draw it
|
java.lang.String |
getImage() |
ListStyle.Position |
getPosition() |
ListStyle.Type |
getType() |
public ListStyle()
public ListStyle(ListStyle.Type type, java.lang.String image, ListStyle.Position position)
type - line styleimage - of line styleposition - of line stylepublic java.lang.String draw()
StyleElementdraw in interface StyleElementpublic java.lang.String getImage()
public ListStyle.Position getPosition()
public ListStyle.Type getType()