Class JDPValueReplicaPointer

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

public class JDPValueReplicaPointer
extends JDPValueComponent
Class JDPValueReplicaPointer represents a set of textfields that display a fax number


Variable Index

 o replicaAddrHint
 o replicaNumber
 o replicaType
 o serverName

Constructor Index

 o JDPValueReplicaPointer(JDPUser)
 o JDPValueReplicaPointer(JDPUser, JDPTextGrid)

Method Index

 o clear()
Clear the address
 o getEditable()
Get the editable setting of the component
 o getEnabled()
Get the enabled setting of the component
 o getReplicaAddrHint()
Get the value of Replica Address Hint
 o getReplicaNumber()
Get the value of Replica Number
 o getReplicaType()
Get the value of Replica Type
 o getServerName()
Get the value of Fax Number
 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 setReplicaAddrHint(String)
Set the value of the Replica Address Hint
 o setReplicaNumber(int)
Set the value of Replica Number
 o setReplicaType(String)
Set the value of Replica Type
 o setServerName(String)
Set the value of the Fax Number
 o setText(String)
Set the value of the component

Variables

 o serverName
 public TextField serverName
 o replicaType
 public JDPChoice replicaType
 o replicaNumber
 public JDPSpinner replicaNumber
 o replicaAddrHint
 public JDPValueList replicaAddrHint

Constructors

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

Methods

 o setServerName
 public void setServerName(String value)
Set the value of the Fax Number

Parameters:
the - value of the Fax Number
 o getServerName
 public String getServerName()
Get the value of Fax Number

Returns:
the value of Fax Number
 o setReplicaType
 public void setReplicaType(String value)
Set the value of Replica Type

Parameters:
the - value of Replica Type
 o getReplicaType
 public String getReplicaType()
Get the value of Replica Type

Returns:
the value of Replica Type
 o setReplicaNumber
 public void setReplicaNumber(int value)
Set the value of Replica Number

Parameters:
the - value of Replica Number
 o getReplicaNumber
 public int getReplicaNumber()
Get the value of Replica Number

Returns:
the value of Replica Number
 o setReplicaAddrHint
 public void setReplicaAddrHint(String value)
Set the value of the Replica Address Hint

Parameters:
the - value of the Replica Address Hint
 o getReplicaAddrHint
 public String getReplicaAddrHint()
Get the value of Replica Address Hint

Returns:
the value of Replica Address Hint
 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 address

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