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


Variable Index

 o netAddress
 o netAddrType

Constructor Index

 o JDPValueNetAddress(JDPUser)
 o JDPValueNetAddress(JDPUser, JDPTextGrid)

Method Index

 o clear()
Clear the component
 o getEditable()
Get the editable setting of the component
 o getEnabled()
Get the enabled setting of the component
 o getNetAddress()
Get the value of Object Name
 o getNetAddrType()
Get the value of Net Address Type
 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 setNetAddress(String)
Set the value of the Net Address
 o setNetAddrType(String)
Set the value of Net Address Type
 o setText(String)
Set the value of the component

Variables

 o netAddrType
 public JDPChoice netAddrType
 o netAddress
 public TextField netAddress

Constructors

 o JDPValueNetAddress
 public JDPValueNetAddress(JDPUser user)
 o JDPValueNetAddress
 public JDPValueNetAddress(JDPUser user,
                           JDPTextGrid thisGrid)

Methods

 o setNetAddrType
 public void setNetAddrType(String value)
Set the value of Net Address Type

Parameters:
the - value of Net Address Type
 o getNetAddrType
 public String getNetAddrType()
Get the value of Net Address Type

Returns:
the value of Net Address Type
 o setNetAddress
 public void setNetAddress(String value)
Set the value of the Net Address

Parameters:
the - value of the Net Address
 o getNetAddress
 public String getNetAddress()
Get the value of Object Name

Returns:
the value of Object Name
 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 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