javax.swing.text.html
Class StyleSheet.ListPainter
java.lang.Object
javax.swing.text.html.StyleSheet.ListPainter
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- StyleSheet
public static class StyleSheet.ListPainter
- extends Object
- implements Serializable
This class carries out some of the CSS list formatting duties. Implementations
of this class enable views to present the CSS formatting while not knowing anything
about how the CSS values are being cached.
- See Also:
- Serialized Form
Method Summary |
void |
paint(Graphics g,
float x,
float y,
float w,
float h,
View v,
int item)
Paints the CSS list decoration according to the attributes given. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
paint
public void paint(Graphics g,
float x,
float y,
float w,
float h,
View v,
int item)
- Paints the CSS list decoration according to the attributes given.
- Parameters:
g
- - the graphics configurationx
- - the x coordinatey
- - the y coordinatew
- - the width of the allocated areah
- - the height of the allocated areav
- - the view making the requestitem
- - the list item to be painted >=0.