API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.text.html. StyleSheet.ListPainter View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      StyleSheet.ListPainter
Implements
 Serializable
Subclasses
Description
publicstatic class StyleSheet.ListPainter
  Class to carry out some of the duties of CSS list formatting.
See also:   
Constructors
pack-private StyleSheet.ListPainter (AttributeSet attr, StyleSheet ss)
Methods
Hide/Show inherited methods
pack-private void drawIcon (Graphics g, int ax, int ay, int aw, int ah, float align, Component c)
  Draws the bullet icon specified by the list-style-image argument.
pack-private void drawLetter (Graphics g, char letter, int ax, int ay, int aw, int ah, float align, int index)
  Draws the letter or number for an ordered list.
pack-private void drawShape (Graphics g, Value type, int ax, int ay, int aw, int ah, float align)
  Draws the graphical bullet item specified by the type argument.
pack-private String formatAlphaNumerals (int itemNum)
  Converts the item number into an alphabetic character
pack-private String formatItemNum (int itemNum, char type)
  Converts the item number into the ordered list number (i.e.
pack-private String formatRomanDigit (int level, int digit)
  Converts the item number into a roman numeral
pack-private String formatRomanNumerals (int num)
  Converts the item number into a roman numeral
pack-private String formatRomanNumerals (int level, int num)
  Converts the item number into a roman numeral
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.
Fields
Hide/Show inherited fields
pack-private URL imageurl
pack-private Icon img
pack-privatefinalstatic char romanChars
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar