Class JDPValueNetAddress
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----JDPValueComponent
|
+----JDPValueNetAddress
- public class JDPValueNetAddress
- extends JDPValueComponent
Class JDPValueNetAddress represents a set of textfields that display an net address
-
netAddress
-
-
netAddrType
-
-
JDPValueNetAddress(JDPUser)
-
-
JDPValueNetAddress(JDPUser, JDPTextGrid)
-
-
clear()
- Clear the component
-
getEditable()
- Get the editable setting of the component
-
getEnabled()
- Get the enabled setting of the component
-
getNetAddress()
- Get the value of Object Name
-
getNetAddrType()
- Get the value of Net Address Type
-
getText()
- Get the value of the component
-
handleEvent(Event)
-
-
setBackground(Color)
-
-
setEditable(boolean)
- Set the editable setting of the component
-
setEnabled(boolean)
- Set the enabled setting of the component
-
setFont(Font)
-
-
setForeground(Color)
-
-
setNetAddress(String)
- Set the value of the Net Address
-
setNetAddrType(String)
- Set the value of Net Address Type
-
setText(String)
- Set the value of the component
netAddrType
public JDPChoice netAddrType
netAddress
public TextField netAddress
JDPValueNetAddress
public JDPValueNetAddress(JDPUser user)
JDPValueNetAddress
public JDPValueNetAddress(JDPUser user,
JDPTextGrid thisGrid)
setNetAddrType
public void setNetAddrType(String value)
- Set the value of Net Address Type
- Parameters:
- the - value of Net Address Type
getNetAddrType
public String getNetAddrType()
- Get the value of Net Address Type
- Returns:
- the value of Net Address Type
setNetAddress
public void setNetAddress(String value)
- Set the value of the Net Address
- Parameters:
- the - value of the Net Address
getNetAddress
public String getNetAddress()
- Get the value of Object Name
- Returns:
- the value of Object Name
setFont
public void setFont(Font thisFont)
- Overrides:
- setFont in class Component
setBackground
public void setBackground(Color thisColor)
- Overrides:
- setBackground in class JDPValueComponent
setForeground
public void setForeground(Color thisColor)
- Overrides:
- setForeground in class JDPValueComponent
clear
public void clear()
- Clear the component
- Overrides:
- clear in class JDPValueComponent
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
getText
public String getText()
- Get the value of the component
- Returns:
- newValue the new value for the component
- Overrides:
- getText in class JDPValueComponent
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
getEditable
public boolean getEditable()
- Get the editable setting of the component
- Returns:
- the editable setting for the component
- Overrides:
- getEditable in class JDPValueComponent
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
getEnabled
public boolean getEnabled()
- Get the enabled setting of the component
- Returns:
- the enabled setting for the component
- Overrides:
- getEnabled in class JDPValueComponent
handleEvent
public boolean handleEvent(Event e)
- Overrides:
- handleEvent in class JDPValueComponent