Class JDPValueTimestamp

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

public class JDPValueTimestamp
extends JDPValueComponent
Class JDPValueTimestamp represents a set of textfields that display a backlink.


Variable Index

 o eventId
 o replicaNumber
 o wholeSeconds

Constructor Index

 o JDPValueTimestamp()
 o JDPValueTimestamp(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 getEventID()
Get the value of Event ID
 o getReplicaNumber()
Get the value of Replica Number
 o getText()
Get the value of the component
 o getWholeSeconds()
Get the value of Whole Seconds
 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 setEventID(int)
Set the value of Event ID
 o setFont(Font)
 o setForeground(Color)
 o setReplicaNumber(int)
Set the value of Replica Number
 o setText(String)
Set the value of the component
 o setWholeSeconds(int)
Set the value of Whole Seconds

Variables

 o wholeSeconds
 public JDPSpinner wholeSeconds
 o eventId
 public JDPSpinner eventId
 o replicaNumber
 public JDPSpinner replicaNumber

Constructors

 o JDPValueTimestamp
 public JDPValueTimestamp()
 o JDPValueTimestamp
 public JDPValueTimestamp(JDPTextGrid thisGrid)

Methods

 o setWholeSeconds
 public void setWholeSeconds(int value)
Set the value of Whole Seconds

Parameters:
the - value of Whole Seconds
 o getWholeSeconds
 public long getWholeSeconds()
Get the value of Whole Seconds

Returns:
the value of Whole Seconds
 o setEventID
 public void setEventID(int value)
Set the value of Event ID

Parameters:
the - value of Event ID
 o getEventID
 public int getEventID()
Get the value of Event ID

Returns:
the value of Event ID
 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 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