Class JDPValueComponent
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----JDPValueComponent
- public class JDPValueComponent
- extends Panel
Class JDPValueComponent represents a specialized component
-
ENTRYSEP
-
-
ITEMSEP
-
-
JDPValueComponent()
-
-
JDPValueComponent(JDPTextGrid)
-
-
JDPValueComponent(JDPUser)
-
-
JDPValueComponent(JDPUser, JDPTextGrid)
-
-
JDPValueComponent(JDPUser, JDPTextGrid, String)
-
-
JDPValueComponent(JDPUser, String)
-
-
clear()
- Clear the component
-
disable()
- Enabled the component
-
enable()
- Enabled the component
-
getBackground()
-
-
getBorder()
- Determine where the border has been selected to be displayed.
-
getEditable()
- Get the editable setting of the component
-
getEnabled()
- Get the enabled setting of the component
-
getFont()
-
-
getForeground()
-
-
getText()
- Get the value of the component
-
handleEvent(Event)
-
-
insets()
-
-
isValid()
- Check whether the component value is valid
-
layout()
-
-
paint(Graphics)
-
-
setBackground(Color)
-
-
setBorder(boolean)
- Set the border to be displayed.
-
setEditable(boolean)
- Set the editable setting of the component
-
setEnabled(boolean)
- Set the enabled setting of the component
-
setForeground(Color)
-
-
setText(String)
- Set the value of the component
-
update(Graphics)
-
ITEMSEP
public static String ITEMSEP
ENTRYSEP
public static String ENTRYSEP
JDPValueComponent
public JDPValueComponent()
JDPValueComponent
public JDPValueComponent(JDPTextGrid thisGrid)
JDPValueComponent
public JDPValueComponent(JDPUser user)
JDPValueComponent
public JDPValueComponent(JDPUser user,
JDPTextGrid thisGrid)
JDPValueComponent
public JDPValueComponent(JDPUser user,
String listComponentType)
JDPValueComponent
public JDPValueComponent(JDPUser user,
JDPTextGrid thisGrid,
String listComponentType)
insets
public Insets insets()
- Overrides:
- insets in class Container
setBorder
public void setBorder(boolean border)
- Set the border to be displayed.
- Parameters:
- the - border setting.
getBorder
public boolean getBorder()
- Determine where the border has been selected to be displayed.
- Returns:
- the border setting.
layout
public void layout()
- Overrides:
- layout in class Container
paint
public void paint(Graphics g)
- Overrides:
- paint in class Container
update
public void update(Graphics g)
- Overrides:
- update in class Container
getFont
public Font getFont()
- Overrides:
- getFont in class Component
setBackground
public void setBackground(Color thisColor)
- Overrides:
- setBackground in class Component
getBackground
public Color getBackground()
- Overrides:
- getBackground in class Component
setForeground
public void setForeground(Color thisColor)
- Overrides:
- setForeground in class Component
getForeground
public Color getForeground()
- Overrides:
- getForeground in class Component
clear
public void clear()
- Clear the component
setText
public void setText(String newValue)
- Set the value of the component
- Parameters:
- newValue - the new value for the component
getText
public String getText()
- Get the value of the component
- Returns:
- newValue the new value for the component
isValid
public boolean isValid()
- Check whether the component value is valid
- Returns:
- whether the component value is valid
- Overrides:
- isValid in class Component
setEditable
public void setEditable(boolean editable)
- Set the editable setting of the component
- Parameters:
- editable - the editable setting for the component
getEditable
public boolean getEditable()
- Get the editable setting of the component
- Returns:
- the editable setting for the component
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
enable
public void enable()
- Enabled the component
- Overrides:
- enable in class Component
disable
public void disable()
- Enabled the component
- Overrides:
- disable in class Component
handleEvent
public boolean handleEvent(Event e)
- Overrides:
- handleEvent in class Component