Package com.scriptel.proscript
Class Resource
- java.lang.Object
-
- com.scriptel.proscript.Resource
-
- Direct Known Subclasses:
ResourceGraphic,ResourceInvalid,ResourceText
public abstract class Resource extends java.lang.ObjectThis class represents resources that the signature pad can store. Currently they are resources, static text, and invalids.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetResourceNumber()Gets the id number of this resource.voidsetResourceNumber(int resourceNumber)Sets the id number of this resource.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.
-
getResourceNumber
public int getResourceNumber()
Gets the id number of this resource.- Returns:
- Resource number
-
setResourceNumber
public void setResourceNumber(int resourceNumber)
Sets the id number of this resource.- Parameters:
resourceNumber- sets the new id for this resource
-
-