Screen Class |
Namespace: ProScript
The Screen type exposes the following members.
Name | Description | |
---|---|---|
Screen |
Initializes a new instance of the Screen class.
This constructor creates an empty screen.
|
Name | Description | |
---|---|---|
AddRegion(Int32) |
This method adds a region to a screen. In order to take effect you'll still
need to save the screen to the device. Sets the next screen to DO_NOTHING_ON_NEXT.
| |
AddRegion(Int32, Int32) |
This method adds a region to a screen. In order to take effect you'll still
need to save the screen to the device.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetNumber |
Gets the Screen number this class will be attributed to on the Device.
| |
GetRegionIndexes |
Gets the Region indexes being featured on this Screen.
| |
GetReserved |
The parameter is not used.
| |
GetResetTimeoutOnActivity |
Gets whether the Screen timer gets reset if there is any pen activity.
| |
GetScreenNextList |
Gets the list of Screens the device will go to when this Region is interacted with. '0' means stay on this Screen.
| |
GetTimeout |
Gets the timeout value in seconds.
| |
GetTimeoutNextScreen |
Gets the Screen number the device goes to when this Screen times out.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
RemoveRegion |
This method removes a region index from the region list for this screen.
| |
SetNumber |
Sets the screen number this class will be attributed to on the device.
| |
SetRegions |
This method sets the indexes of the regions that will be included in this
screen. The indexes (key) are paired with the screen (value) that should be switched to
in the event that the region is activated (for instance if a button region
is pressed). Use the DO_NOTHING_ON_NEXT constant to indicate nothing should
happen.
This method replaces the entire region list in the screen. Use addRegion()
to add an individual region to the screen.
| |
SetResetTimeoutOnActivity |
Sets whether the Screen timer gets reset if there is any pen activity.
| |
SetTimeout |
Sets the timeout to the new value.
| |
SetTimeoutNextScreen |
Sets the Screen number the device goes to when this Screen times out.
| |
ToString |
Prints this object as a human readable string.
(Overrides ObjectToString.) |
Name | Description | |
---|---|---|
DO_NOTHING_ON_NEXT |
This constant can be used in SetRegions() and AddRegion()
to indicate that nothing should happen when a button is pressed or the
timeout is encountered.
|