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

Variable Index

 o label
The label of this listbox item.

Constructor Index

 o ListBoxItemWidget(String)
Create an item for a ListBox

Method Index

 o getListBoxWidget()
Get the ListBoxWidget for this item.
 o getText()
Get the label.
 o key()
The key to this widget.
 o paint(Graphics)
Paint the item and all of its columns.
 o paint(Graphics, int, int, int)
Paint this item
 o setText(String)
Set the label of this list item.

Variables

 o label
  public String label
The label of this listbox item.
See Also:
getText, setText

Constructors

 o ListBoxItemWidget
  public ListBoxItemWidget(String label)
Create an item for a ListBox

Methods

 o getText
  public String getText()
Get the label.
Overrides:
getText in class Widget
See Also:
label
 o setText
  public void setText(String label)
Set the label of this list item.
Overrides:
setText in class Widget
See Also:
label
 o getListBoxWidget
  protected ListBoxWidget getListBoxWidget()
Get the ListBoxWidget for this item. Returns null if none is found.
 o key
  public String key()
The key to this widget.
Overrides:
key in class ListItemWidget
 o paint
  public void paint(Graphics g,
                    int col,
                    int x,
                    int y)
Paint this item
Overrides:
paint in class ListItemWidget
 o 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