All Packages Class Hierarchy This Package Previous Next Index
Class com.bulletproof.gui.ValueList
java.lang.Object
|
+----com.bulletproof.gui.Component
|
+----com.bulletproof.gui.Container
|
+----com.bulletproof.gui.Panel
|
+----com.bulletproof.gui.ValueComponent
|
+----com.bulletproof.gui.ValueList
- public class ValueList
- extends ValueComponent
- implements ActionListener
Class ValueList represents a set of textfields that display a list.
-
list
-
-
popupComponent
-
-
regularComponent
-
-
ValueList(String)
-
-
ValueList(TextGrid, String)
-
-
actionPerformed(ActionEvent)
-
-
addItem(String)
-
-
addItem(String, String)
-
-
clear()
- Clear the component
-
getEditable()
- Get the editable setting of the component
-
getEnabled()
- Get the enabled setting of the component
-
getItemCount()
- Get the number of items in the Choice pulldown.
-
getMinHeight()
- Get the minimum height of the grid
-
getMinWidth()
- Get the minimum width of the grid
-
getPreferredSize()
- Gets the preferred size of this component.
-
getText()
- Get the value of the component
-
processFocusEvent(FocusEvent)
- Get the enabled setting of the component
-
processKeyEvent(KeyEvent)
-
Processes key events occurring on this component by
dispatching them to any registered KeyListener objects.
-
requestFocus()
-
Requests the input focus.
-
setEditable(boolean)
- Set the editable setting of the component
-
setEnabled(boolean)
- Set the enabled setting of the component
-
setMinHeight(int)
- Set the minimum height of the grid
-
setMinWidth(int)
- Set the minimum width of the grid
-
setText(String)
- Set the value of the component
list
public TextGrid list
popupComponent
public ValueComponent popupComponent
regularComponent
public Component regularComponent
ValueList
public ValueList(String listComponentType)
ValueList
public ValueList(TextGrid thisGrid,
String listComponentType)
requestFocus
public void requestFocus()
- Requests the input focus.
- Overrides:
- requestFocus in class Component
addItem
public void addItem(String item,
String item1)
addItem
public void addItem(String item)
clear
public void clear()
- Clear the component
- Overrides:
- clear in class ValueComponent
setText
public void setText(String newValue)
- Set the value of the component
- Parameters:
- newValue - the new value for the component
- Overrides:
- setText in class ValueComponent
getItemCount
public int getItemCount()
- Get the number of items in the Choice pulldown.
- Returns:
- the number of items.
getText
public String getText()
- Get the value of the component
- Returns:
- newValue the new value for the component
- Overrides:
- getText in class ValueComponent
setEditable
public void setEditable(boolean editable)
- Set the editable setting of the component
- Parameters:
- editable - the editable setting for the component
- Overrides:
- setEditable in class ValueComponent
getEditable
public boolean getEditable()
- Get the editable setting of the component
- Returns:
- the editable setting for the component
- Overrides:
- getEditable in class ValueComponent
setEnabled
public void setEnabled(boolean enabled)
- Set the enabled setting of the component
- Parameters:
- enabled - the enabled setting for the component
- Overrides:
- setEnabled in class Component
getEnabled
public boolean getEnabled()
- Get the enabled setting of the component
- Returns:
- the enabled setting for the component
actionPerformed
public void actionPerformed(ActionEvent e)
processFocusEvent
public synchronized void processFocusEvent(FocusEvent fe)
- Get the enabled setting of the component
- Overrides:
- processFocusEvent in class ValueComponent
processKeyEvent
public synchronized void processKeyEvent(KeyEvent ke)
- Processes key events occurring on this component by
dispatching them to any registered KeyListener objects.
- Overrides:
- processKeyEvent in class ValueComponent
setMinWidth
public void setMinWidth(int width)
- Set the minimum width of the grid
- Parameters:
- the - width in pixels.
- Overrides:
- setMinWidth in class Component
getMinWidth
public int getMinWidth()
- Get the minimum width of the grid
- Returns:
- the width in pixels.
- Overrides:
- getMinWidth in class Component
setMinHeight
public void setMinHeight(int height)
- Set the minimum height of the grid
- Parameters:
- the - height in pixels.
- Overrides:
- setMinHeight in class Component
getMinHeight
public int getMinHeight()
- Get the minimum height of the grid
- Returns:
- the height in pixels.
- Overrides:
- getMinHeight in class Component
getPreferredSize
public Dimension getPreferredSize()
- Gets the preferred size of this component.
- Overrides:
- getPreferredSize in class Component
All Packages Class Hierarchy This Package Previous Next Index