javax.swing.text.html
Class StyleSheet.ListPainter

java.lang.Object
  extended by 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
 

Method Detail

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 configuration
x - - the x coordinate
y - - the y coordinate
w - - the width of the allocated area
h - - the height of the allocated area
v - - the view making the request
item - - the list item to be painted >=0.