org.stellarium.ui
Class STUI.TimeItem
java.lang.Object
java.awt.event.KeyAdapter
org.stellarium.ui.STUI.Component
org.stellarium.ui.STUI.CallbackComponent
org.stellarium.ui.STUI.TimeItem
- All Implemented Interfaces:
- java.awt.event.KeyListener, java.util.EventListener
- Enclosing class:
- STUI
-
static class STUI.TimeItem
- extends STUI.CallbackComponent
Method Summary |
(package private) void |
computeJD()
Code originally from libnova which appeared to be
totally wrong...
|
(package private) void |
computeYmdhms()
Code originally from libnova which appeared to be
totally wrong...
|
(package private) double |
getJDay()
|
java.lang.String |
getString()
Convert Julian day to yyyy/mm/dd hh:mm:ss and return
the String
|
(package private) boolean |
isEditable()
|
void |
keyPressed(java.awt.event.KeyEvent e)
|
(package private) void |
setJDay(double jd)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JD
protected double JD
current_edit
protected STUI.IntegerItem current_edit
label
protected java.lang.String label
ymdhms
protected int[] ymdhms
second
protected double second
y
protected STUI.IntegerItem y
m
protected STUI.IntegerItem m
d
protected STUI.IntegerItem d
h
protected STUI.IntegerItem h
mn
protected STUI.IntegerItem mn
s
protected STUI.IntegerItem s
STUI.TimeItem
STUI.TimeItem(java.lang.String _label,
double _JD)
STUI.TimeItem
STUI.TimeItem(java.lang.String _label)
keyPressed
public void keyPressed(java.awt.event.KeyEvent e)
-
- Specified by:
keyPressed
in interface java.awt.event.KeyListener
- Overrides:
keyPressed
in class STUI.Component
-
getString
public java.lang.String getString()
- Convert Julian day to yyyy/mm/dd hh:mm:ss and return the String
-
- Overrides:
getString
in class
STUI.Component
-
computeYmdhms
void computeYmdhms()
- Code originally from libnova which appeared to be totally wrong... New code from celestia
-
computeJD
void computeJD()
- Code originally from libnova which appeared to be totally wrong... New code from celestia
-
isEditable
boolean isEditable()
-
- Overrides:
isEditable
in class
STUI.Component
-
getJDay
double getJDay()
-
setJDay
void setJDay(double jd)
-