Package com.scriptel.proscript
Class RegionContainer
- java.lang.Object
-
- com.scriptel.proscript.Region
-
- com.scriptel.proscript.RegionContainer
-
public class RegionContainer extends Region
This class represents a container region in a ScripTouch device.
-
-
Constructor Summary
Constructors Constructor Description RegionContainer()Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)intgetContainerReserved1()Reserved for future use.intgetContainerReserved2()Reserved for future use.intgetInkWidth()Gets the width of the ink.inthashCode()booleanisInkEnabled()Whether or not ink is enabled.voidsetContainerReserved1(int containerReserved1)Reserved for future use.voidsetContainerReserved2(int containerReserved2)Reserved for future use.voidsetInkEnabled(boolean inkEnabled)Sets whether or not ink is enabled.voidsetInkWidth(int inkWidth)Sets the width of the ink.java.lang.StringtoString()Prints this object as a human readable string.-
Methods inherited from class com.scriptel.proscript.Region
acceptsTouch, getColorBackground, getColorForeground, getNumber, getOutputToHost, getReserved2, getX1, getX2, getY1, getY2, hasFrame, isDecode, isInUse, isReserved1, isVisible, setAcceptTouch, setColorBackground, setColorForeground, setDecode, setHasFrame, setInUse, setNumber, setOutputToHost, setReserved1, setReserved2, setVisible, setX1, setX2, setY1, setY2
-
-
-
-
Method Detail
-
toString
public java.lang.String toString()
Prints this object as a human readable string.
-
isInkEnabled
public boolean isInkEnabled()
Whether or not ink is enabled.- Returns:
- the inkEnable
-
setInkEnabled
public void setInkEnabled(boolean inkEnabled)
Sets whether or not ink is enabled.- Parameters:
inkEnabled- the inkEnabled to set
-
getInkWidth
public int getInkWidth()
Gets the width of the ink.- Returns:
- the inkWidth
-
setInkWidth
public void setInkWidth(int inkWidth)
Sets the width of the ink.- Parameters:
inkWidth- the inkWidth to set
-
getContainerReserved1
public int getContainerReserved1()
Reserved for future use.- Returns:
- the containerReserved1
-
setContainerReserved1
public void setContainerReserved1(int containerReserved1)
Reserved for future use.- Parameters:
containerReserved1- the containerReserved1 to set
-
getContainerReserved2
public int getContainerReserved2()
Reserved for future use.- Returns:
- the containerReserved2
-
setContainerReserved2
public void setContainerReserved2(int containerReserved2)
Reserved for future use.- Parameters:
containerReserved2- the containerReserved2 to set
-
-