Package com.inductiveautomation.rm.shape
Class RMShapeUtils.HoverTimer
- java.lang.Object
-
- javax.swing.Timer
-
- com.inductiveautomation.rm.shape.RMShapeUtils.HoverTimer
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- RMShapeUtils
public static class RMShapeUtils.HoverTimer extends javax.swing.TimerA Timer subclass.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HoverTimer(RMShapeMouseEvent anEvent)Creates a new hover timer for shape mouse event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidfireActionPerformed(java.awt.event.ActionEvent e)Called when timer fires.RMShapeMouseEventgetEvent()Returns the shape mouse event.RMShapegetShape()Return the shape.voidsetEvent(RMShapeMouseEvent anEvent)Sets the event.-
Methods inherited from class javax.swing.Timer
addActionListener, getActionCommand, getActionListeners, getDelay, getInitialDelay, getListeners, getLogTimers, isCoalesce, isRepeats, isRunning, removeActionListener, restart, setActionCommand, setCoalesce, setDelay, setInitialDelay, setLogTimers, setRepeats, start, stop
-
-
-
-
Constructor Detail
-
HoverTimer
public HoverTimer(RMShapeMouseEvent anEvent)
Creates a new hover timer for shape mouse event.
-
-
Method Detail
-
getEvent
public RMShapeMouseEvent getEvent()
Returns the shape mouse event.
-
setEvent
public void setEvent(RMShapeMouseEvent anEvent)
Sets the event.
-
getShape
public RMShape getShape()
Return the shape.
-
fireActionPerformed
protected void fireActionPerformed(java.awt.event.ActionEvent e)
Called when timer fires.- Overrides:
fireActionPerformedin classjavax.swing.Timer
-
-