javax.swing.text.html
public class ListView extends BlockView
<ul>
and
<ol>
tags.
Constructor Summary | |
---|---|
ListView(Element el)
Creates a new ListView for the specified element.
|
Method Summary | |
---|---|
float | getAlignment(int axis)
Returns the alignment of this view along the specified axis.
|
void | paint(Graphics g, Shape allocation)
Paints the ListView .
|
protected void | paintChild(Graphics g, Rectangle a, int index)
Paints the child with the specified index into the specified allocation.
|
protected void | setPropertiesFromAttributes()
Fetches this view's properties from the style attributes of this view's
element.
|
ListView
for the specified element.
Parameters: el the element to create a list view for
0.5
unconditionally.
Parameters: axis the axis
Returns: the alignment of this view along the specified axis
ListView
.
Parameters: g the graphics context to use for painting allocation the allocation given to this view
super.paintChild(g, a, index)
.
Parameters: g the graphics context to use a the allocation for the child index the child index