|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectru.igis.omtab.Clock
public class Clock
Time pulses generator
Constructor Summary | |
---|---|
Clock(RuNA runa)
Creates a new instance of Clock |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent ae)
Timer events handler |
long |
getClock()
|
static double |
getCurrentTime()
Return current time in hours |
static long |
getDay()
Return current day |
static long |
getHour()
Return current hour |
static long |
getMinute()
Return current minute |
static long |
getSecond()
Return current second |
float |
getTimeScale()
|
void |
setClock(long clock)
|
void |
setRunaControlPanel(RunaControlPanel rcp)
Set Runa Control Panel as GUI for Clock object |
void |
setTimeScale(float ts)
Method to change time scale |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Clock(RuNA runa)
runa
- - RuNA objectMethod Detail |
---|
public void actionPerformed(java.awt.event.ActionEvent ae)
actionPerformed
in interface java.awt.event.ActionListener
ae
- - Event objectpublic void setTimeScale(float ts)
ts
- - new time scalepublic static double getCurrentTime()
public static long getDay()
public static long getHour()
public static long getMinute()
public static long getSecond()
public void setRunaControlPanel(RunaControlPanel rcp)
rcp
- - Runa Control Panelpublic long getClock()
public void setClock(long clock)
clock
- The clock to set.public float getTimeScale()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |