Package com.scriptel.proscript
Class TuningStatus
- java.lang.Object
-
- com.scriptel.proscript.TuningStatus
-
public final class TuningStatus extends java.lang.ObjectThis class represents the tuning status of a GENII asicless device
-
-
Field Summary
Fields Modifier and Type Field Description static intLOCATION_1_STYLUS_DOWNStylus is down on the top left tuning box.static intLOCATION_1_STYLUS_UPPad is waiting for stylus to press at the top left tuning box.static intLOCATION_2_STYLUS_DOWNStylus is down on the bottom right tuning box.static intLOCATION_2_STYLUS_UPPad is waiting for stylus to press at the bottom right tuning box.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetDeviceGain()Gets the device gain.booleangetTuningAborted()Get whether tuning was previous abortedbooleangetTuningMode()Gets whether tuning is in progressintgetTuningState()Gets the tuning state.voidsetDeviceGain(int deviceGain)Sets the device gain.voidsetTuningAborted(boolean tuningAborted)Sets the tuning abortedvoidsetTuningMode(boolean tuningMode)Sets the tuning ModevoidsetTuningStatus(int tuningState)Sets the tuning status.java.lang.StringtoString()Prints this object as a human readable string.
-
-
-
Field Detail
-
LOCATION_1_STYLUS_DOWN
public static final int LOCATION_1_STYLUS_DOWN
Stylus is down on the top left tuning box.- See Also:
- Constant Field Values
-
LOCATION_1_STYLUS_UP
public static final int LOCATION_1_STYLUS_UP
Pad is waiting for stylus to press at the top left tuning box.- See Also:
- Constant Field Values
-
LOCATION_2_STYLUS_DOWN
public static final int LOCATION_2_STYLUS_DOWN
Stylus is down on the bottom right tuning box.- See Also:
- Constant Field Values
-
LOCATION_2_STYLUS_UP
public static final int LOCATION_2_STYLUS_UP
Pad is waiting for stylus to press at the bottom right tuning box.- See Also:
- Constant Field Values
-
-
Method Detail
-
toString
public java.lang.String toString()
Prints this object as a human readable string.- Overrides:
toStringin classjava.lang.Object- Returns:
- Human readable string.
-
getTuningAborted
public boolean getTuningAborted()
Get whether tuning was previous aborted- Returns:
- the tuningAborted
-
getTuningMode
public boolean getTuningMode()
Gets whether tuning is in progress- Returns:
- the tuningMode
-
getTuningState
public int getTuningState()
Gets the tuning state.- Returns:
- the tuningState
-
getDeviceGain
public int getDeviceGain()
Gets the device gain.- Returns:
- the deviceGain
-
setTuningMode
public void setTuningMode(boolean tuningMode)
Sets the tuning Mode- Parameters:
tuningMode- the tuning mode to set
-
setTuningAborted
public void setTuningAborted(boolean tuningAborted)
Sets the tuning aborted- Parameters:
tuningAborted- the tuning aborted to set
-
setTuningStatus
public void setTuningStatus(int tuningState)
Sets the tuning status.- Parameters:
tuningState- the tuning status to set
-
setDeviceGain
public void setDeviceGain(int deviceGain)
Sets the device gain.- Parameters:
deviceGain- the deviceGain to set
-
-