Package com.scriptel.proscript
Class FrequencyAmplitude
- java.lang.Object
-
- com.scriptel.proscript.FrequencyAmplitude
-
public final class FrequencyAmplitude extends java.lang.ObjectThis class represents frequency and amplitude settings for a ScripTouch device.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetFrequency()Gets the frequencyintgetPenAmplitude()Sets the pen amplitude.intgetTouchAmplitude()Gets the touch amplitude.voidsetFrequency(int frequency)Sets the frequency.voidsetPenAmplitude(int penAmplitude)Sets the pen amplitude.voidsetTouchAmplitude(int touchAmplitude)Sets the touch amplitude.java.lang.StringtoString()Prints this object as a human readable string.
-
-
-
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.
-
getFrequency
public int getFrequency()
Gets the frequency- Returns:
- the frequency
-
getPenAmplitude
public int getPenAmplitude()
Sets the pen amplitude.- Returns:
- the penAmplitude
-
getTouchAmplitude
public int getTouchAmplitude()
Gets the touch amplitude.- Returns:
- the touchAmplitude
-
setFrequency
public void setFrequency(int frequency)
Sets the frequency.- Parameters:
frequency- the frequency to set
-
setPenAmplitude
public void setPenAmplitude(int penAmplitude)
Sets the pen amplitude.- Parameters:
penAmplitude- the penAmplitude to set
-
setTouchAmplitude
public void setTouchAmplitude(int touchAmplitude)
Sets the touch amplitude.- Parameters:
touchAmplitude- the touchAmplitude to set
-
-