Class marimba.gui.ListBoxItemWidget
All Packages Class Hierarchy This Package Previous Next Index
Class marimba.gui.ListBoxItemWidget
java.lang.Object
|
+----marimba.gui.Widget
|
+----marimba.gui.ListItemWidget
|
+----marimba.gui.ListBoxItemWidget
- public class ListBoxItemWidget
- extends ListItemWidget
An Item in a ListBoxWidget.
- Version:
- 1.7, 12/17/96
- Author:
- Arthur van Hoff
-
label
- The label of this listbox item.
-
ListBoxItemWidget(String)
- Create an item for a ListBox
-
getListBoxWidget()
- Get the ListBoxWidget for this item.
-
getText()
- Get the label.
-
key()
- The key to this widget.
-
paint(Graphics)
- Paint the item and all of its columns.
-
paint(Graphics, int, int, int)
- Paint this item
-
setText(String)
- Set the label of this list item.
label
public String label
- The label of this listbox item.
- See Also:
- getText, setText
ListBoxItemWidget
public ListBoxItemWidget(String label)
- Create an item for a ListBox
getText
public String getText()
- Get the label.
- Overrides:
- getText in class Widget
- See Also:
- label
setText
public void setText(String label)
- Set the label of this list item.
- Overrides:
- setText in class Widget
- See Also:
- label
getListBoxWidget
protected ListBoxWidget getListBoxWidget()
- Get the ListBoxWidget for this item. Returns null if none is found.
key
public String key()
- The key to this widget.
- Overrides:
- key in class ListItemWidget
paint
public void paint(Graphics g,
int col,
int x,
int y)
- Paint this item
- Overrides:
- paint in class ListItemWidget
paint
public void paint(Graphics g)
- Paint the item and all of its columns.
- Overrides:
- paint in class ListItemWidget
All Packages Class Hierarchy This Package Previous Next Index