Class JDPValueHold

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

public class JDPValueHold
extends JDPValueComponent
Class JDPValueHold represents a set of textfields that display a hold


Variable Index

 o amount
 o objName

Constructor Index

 o JDPValueHold()
 o JDPValueHold(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 getobjName()
Get the value of Fax Number
 o getText()
Get the value of the component
 o handleEvent(Event)
 o setamount()
Get the value of Bit Count
 o setamount(long)
Set the value of Bit Count
 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 setobjName(String)
Set the value of the Fax Number
 o setText(String)
Set the value of the component

Variables

 o objName
 public TextField objName
 o amount
 public JDPSpinner amount

Constructors

 o JDPValueHold
 public JDPValueHold()
 o JDPValueHold
 public JDPValueHold(JDPTextGrid thisGrid)

Methods

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

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

Returns:
the value of Fax Number
 o setamount
 public void setamount(long value)
Set the value of Bit Count

Parameters:
the - value of Bit Count
 o setamount
 public long setamount()
Get the value of Bit Count

Returns:
the value of Bit Count
 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