Class JDPValueList

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----JDPValueComponent
                                   |
                                   +----JDPValueList

public class JDPValueList
extends JDPValueComponent
Class JDPValueList represents a set of textfields that display a list.


Variable Index

 o list
 o popupComponent
 o regularComponent

Constructor Index

 o JDPValueList(JDPUser, JDPTextGrid, String)
 o JDPValueList(JDPUser, String)

Method Index

 o addItem(String)
 o addItem(String, String)
 o clear()
Clear the component
 o getEditable()
Get the editable setting of the component
 o getEnabled()
Get the enabled setting of the component
 o getItemCount()
Get the number of items in the Choice pulldown.
 o getMinimumHeight()
Get the minimum height of the grid
 o getMinimumWidth()
Get the minimum width of the grid
 o getText()
Get the value of the component
 o handleEvent(Event)
 o setBackground(Color)
 o setEditable(boolean)
Set the editable setting of the component
 o setEnabled(boolean)
Set the enabled setting of the component
 o setFont(Font)
 o setForeground(Color)
 o setMinimumHeight(int)
Set the minimum height of the grid
 o setMinimumWidth(int)
Set the minimum width of the grid
 o setText(String)
Set the value of the component

Variables

 o list
 public JDPTextGrid list
 o popupComponent
 public JDPValueComponent popupComponent
 o regularComponent
 public Component regularComponent

Constructors

 o JDPValueList
 public JDPValueList(JDPUser user,
                     String listComponentType)
 o JDPValueList
 public JDPValueList(JDPUser user,
                     JDPTextGrid thisGrid,
                     String listComponentType)

Methods

 o addItem
 public void addItem(String item,
                     String item1)
 o addItem
 public void addItem(String item)
 o setFont
 public void setFont(Font thisFont)
Overrides:
setFont in class Component
 o setBackground
 public void setBackground(Color thisColor)
Overrides:
setBackground in class JDPValueComponent
 o setForeground
 public void setForeground(Color thisColor)
Overrides:
setForeground in class JDPValueComponent
 o clear
 public void clear()
Clear the component

Overrides:
clear in class JDPValueComponent
 o setText
 public void setText(String newValue)
Set the value of the component

Parameters:
newValue - the new value for the component
Overrides:
setText in class JDPValueComponent
 o getItemCount
 public int getItemCount()
Get the number of items in the Choice pulldown.

Returns:
the number of items.
 o getText
 public String getText()
Get the value of the component

Returns:
newValue the new value for the component
Overrides:
getText in class JDPValueComponent
 o 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 JDPValueComponent
 o getEditable
 public boolean getEditable()
Get the editable setting of the component

Returns:
the editable setting for the component
Overrides:
getEditable in class JDPValueComponent
 o 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 JDPValueComponent
 o getEnabled
 public boolean getEnabled()
Get the enabled setting of the component

Returns:
the enabled setting for the component
Overrides:
getEnabled in class JDPValueComponent
 o handleEvent
 public boolean handleEvent(Event e)
Overrides:
handleEvent in class JDPValueComponent
 o setMinimumWidth
 public void setMinimumWidth(int width)
Set the minimum width of the grid

Parameters:
the - width in pixels.
 o getMinimumWidth
 public int getMinimumWidth()
Get the minimum width of the grid

Returns:
the width in pixels.
 o setMinimumHeight
 public void setMinimumHeight(int height)
Set the minimum height of the grid

Parameters:
the - height in pixels.
 o getMinimumHeight
 public int getMinimumHeight()
Get the minimum height of the grid

Returns:
the height in pixels.