| Modifier and Type | Field and Description |
|---|---|
| private StyleSheet. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public float | Returns: the desired spanOverrides javax. Calculates the desired shape of the list. |
| public void | paint(Graphics
the rendering surface to use g, Shape the allocated region to render into allocation)Overrides javax. Renders using the given rendering surface and area on that surface. |
| protected void | paintChild(Graphics
the graphics context g, Rectangle the allocated region to render the child into alloc, int the index of the child index)Overrides javax. Paints one of the children; called by paint(). |
| protected void | setPropertiesFromAttributes()
Overrides javax. Update any cached values that come from attributes. |
| listPainter | back to summary |
|---|---|
| private StyleSheet. | |
| ListView | back to summary |
|---|---|
| public ListView(Element elem) Creates a new view that represents a list element.
| |
| getAlignment | back to summary |
|---|---|
| public float getAlignment(int axis) Overrides javax. Calculates the desired shape of the list.
| |
| paint | back to summary |
|---|---|
| public void paint(Graphics g, Shape allocation) Overrides javax. Renders using the given rendering surface and area on that surface.
| |
| paintChild | back to summary |
|---|---|
| protected void paintChild(Graphics g, Rectangle alloc, int index) Overrides javax. Paints one of the children; called by paint(). By default that is all it does, but a subclass can use this to paint things relative to the child. | |
| setPropertiesFromAttributes | back to summary |
|---|---|
| protected void setPropertiesFromAttributes() Overrides javax. Doc from javax. Update any cached values that come from attributes. | |