net.jinx.action.input.robot
Class LoopbackReadout

java.lang.Object
  extended by net.jinx.action.input.robot.LoopbackReadout
All Implemented Interfaces:
Readout

public class LoopbackReadout
extends java.lang.Object
implements Readout



API Stability: Alpha.


Field Summary
 
Fields inherited from interface net.jinx.action.input.robot.Readout
PRIORITY_ALERT, PRIORITY_CRITICAL, PRIORITY_DIAGNOSTIC, PRIORITY_EMERGENCY, PRIORITY_INFO, PRIORITY_NONE, PRIORITY_WARNING, TYPE_ANALOG, TYPE_BAR, TYPE_BOOLEAN, TYPE_DANGER_BOOLEAN, TYPE_DANGER_TEXT, TYPE_TEXT
 
Constructor Summary
LoopbackReadout(Control control)
           
 
Method Summary
 java.lang.String getName()
          Provides the name of this Readout; this is used for displaying a label for it.
 java.lang.String getText()
           
 int getType()
          Provides the type constant for this Readout.
 float getValue()
           
 boolean isFlashing()
           
 boolean isToggled()
           
 int priority()
          Provides the importance level of this Readout.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoopbackReadout

public LoopbackReadout(Control control)
Method Detail

priority

public int priority()
Description copied from interface: Readout
Provides the importance level of this Readout. This is used to determine if it is displayed or not, based on the priority level that has been set for the Readout's panel.

Specified by:
priority in interface Readout
Returns:
the priority constant for this Readout. This can be any of the PRIORITY_* values, except PRIORITY_NONE.

getType

public int getType()
Description copied from interface: Readout
Provides the type constant for this Readout. This determines what the Readout should look like.

Specified by:
getType in interface Readout
Returns:
any of the TYPE_* values.

getName

public java.lang.String getName()
Description copied from interface: Readout
Provides the name of this Readout; this is used for displaying a label for it.

Specified by:
getName in interface Readout
Returns:
the name.

getValue

public float getValue()
Specified by:
getValue in interface Readout

isToggled

public boolean isToggled()
Specified by:
isToggled in interface Readout

getText

public java.lang.String getText()
Specified by:
getText in interface Readout

isFlashing

public boolean isFlashing()
Specified by:
isFlashing in interface Readout