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.
-
eventId
-
-
replicaNumber
-
-
wholeSeconds
-
-
JDPValueTimestamp()
-
-
JDPValueTimestamp(JDPTextGrid)
-
-
clear()
- Clear the component
-
getEditable()
- Get the editable setting of the component
-
getEnabled()
- Get the enabled setting of the component
-
getEventID()
- Get the value of Event ID
-
getReplicaNumber()
- Get the value of Replica Number
-
getText()
- Get the value of the component
-
getWholeSeconds()
- Get the value of Whole Seconds
-
handleEvent(Event)
-
-
setBackground(Color)
-
-
setEditable(boolean)
- Set the editable setting of the component
-
setEnabled(boolean)
- Set the enabled setting of the component
-
setEventID(int)
- Set the value of Event ID
-
setFont(Font)
-
-
setForeground(Color)
-
-
setReplicaNumber(int)
- Set the value of Replica Number
-
setText(String)
- Set the value of the component
-
setWholeSeconds(int)
- Set the value of Whole Seconds
wholeSeconds
public JDPSpinner wholeSeconds
eventId
public JDPSpinner eventId
replicaNumber
public JDPSpinner replicaNumber
JDPValueTimestamp
public JDPValueTimestamp()
JDPValueTimestamp
public JDPValueTimestamp(JDPTextGrid thisGrid)
setWholeSeconds
public void setWholeSeconds(int value)
- Set the value of Whole Seconds
- Parameters:
- the - value of Whole Seconds
getWholeSeconds
public long getWholeSeconds()
- Get the value of Whole Seconds
- Returns:
- the value of Whole Seconds
setEventID
public void setEventID(int value)
- Set the value of Event ID
- Parameters:
- the - value of Event ID
getEventID
public int getEventID()
- Get the value of Event ID
- Returns:
- the value of Event ID
setReplicaNumber
public void setReplicaNumber(int value)
- Set the value of Replica Number
- Parameters:
- the - value of Replica Number
getReplicaNumber
public int getReplicaNumber()
- Get the value of Replica Number
- Returns:
- the value of Replica Number
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