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.Object
This 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 int
getResourceNumber()
Gets the id number of this resource.void
setResourceNumber(int resourceNumber)
Sets the id number of this resource.java.lang.String
toString()
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:
toString
in 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
-
-