de.softpro.signware.SPJGuiContainer Class Reference
List of all members.Detailed Description
The container may hold one or more SignWare Gui (SPGuiAcqu, SPJGuiDisp or SPJGuiDyn) objects. The container includes a layout manager to display the objects horizontally tiled, vertically tiled or stacked.
Callbacks / event notifications are redirected from the capture object to the container, and then to the application.
Callbacks are called from the java message event thread.
Do not free the SPContainer object within a callback method.
- Note:
- The class SPJGuiContainer is implemented as a java component. All embedded objects create a java.awt.Panel as the main GUI component, which will be subclassed by the core Signware objects.
- Operating Systems:
- Windows (Win32)
Public Member Functions | |
void | addObject (int iType) throws SPSignwareException |
Create a Signware object of type iType and insert it at the last position of the list. | |
void | buttonCallback (int iIndex, int iButtonId) |
Callback function called when a hardware button is pressed. | |
void | createObject (int iIndex, int iType) throws SPSignwareException |
Create a Signware object of type iType and insert it at the specified index of the list. If the list contains an object at the specified position then the existing object will be deleted and replaced by the new object. | |
void | dispose () |
free the SDK object(s) | |
void | documentCallback (int iIndex, int iDocId, int iRectId) |
Callback function called when a virtual button (rectangle), that is assigned o a document, is clicked. | |
void | freeObject (int iIndex) throws SPSignwareException |
Free a Signware object at the specified index of the list. If the list contains an object at the specified position then the existing object will be deleted. | |
boolean | getBoolProperty (String strName) throws SPSignwareException |
Query a property. | |
int | getIntProperty (String strName) throws SPSignwareException |
Query a property. | |
int | getNumberObjects () throws SPSignwareException |
Query the number of Signware objects in the list. | |
SPSignwareObject | getObject (int iIndex) throws SPSignwareException |
Get a reference to the Signware object at the specified index of the list. The returned object is either a SPJGuiAcqu, SPJGuiDisp or SPJGuiDyn instance. | |
int | getObjectType (int iIndex) throws SPSignwareException |
Query the type of the Signware object at the specified index of the list. | |
Panel | getPanel (int iIndex) throws SPSignwareException |
Get a reference to the Panel object at the specified index of the list. | |
void | rectCallback (int iIndex, int iId) |
Callback function called when a virtual button (rectangle) is clicked. | |
void | setActive (int iIndex) throws SPSignwareException |
Activate the object at the specified index of the list. | |
void | setBoolProperty (String strName, boolean bValue) throws SPSignwareException |
Set a property. | |
void | setIntProperty (String strName, int iValue) throws SPSignwareException |
Set a property. | |
SPJGuiContainer () throws SPSignwareException | |
Constructor. | |
void | statusChanged (int iIndex, int iMajor, int iDetail) |
Callback function that is called on status changes. | |
void | timeoutCallback (int iIndex) |
Callback function called after some time of inactivity. | |
void | vectorCallback (int iIndex, int iX, int iY, int iP, int iT) |
Callback function that is called when the tablet sends a vector. | |
Static Public Attributes | |
static final int | SP_JGUIACQU = 1 |
Type identifyer for a SPJGuiAcqu object. | |
static final int | SP_JGUIDISP = 2 |
Type identifyer for a SPJGuiDisp object. | |
static final int | SP_JGUIDYN = 3 |
Type identifyer for a SPJGuiDyn object. | |
static final int | SP_STACKED = 3 |
Type identifyer for stacked layout, see Property "Layout". | |
static final int | SP_TILED_HORZ = 1 |
Type identifyer for horizontally tiled layout, see Property "Layout". | |
static final int | SP_TILED_VERT = 2 |
Type identifyer for vertically tiled layout, see Property "Layout". |
Constructor & Destructor Documentation
|
Constructor.
|
Member Function Documentation
|
Create a Signware object of type iType and insert it at the last position of the list.
|
|
Callback function called when a hardware button is pressed.
Override this method to do any action when a hardware button is pressed. Call acquireDone() for the according object to end acquiry mode.
|
|
Create a Signware object of type iType and insert it at the specified index of the list. If the list contains an object at the specified position then the existing object will be deleted and replaced by the new object.
|
|
free the SDK object(s) The finalize method is called by the garbage collector, and should not be invoked from the application. Use dispose() to free a SDK object.
|
|
Callback function called when a virtual button (rectangle), that is assigned o a document, is clicked.
|
|
Free a Signware object at the specified index of the list. If the list contains an object at the specified position then the existing object will be deleted.
|
|
Query a property.
|
|
Query a property.
|
|
Query the number of Signware objects in the list.
|
|
Get a reference to the Signware object at the specified index of the list. The returned object is either a SPJGuiAcqu, SPJGuiDisp or SPJGuiDyn instance.
|
|
Query the type of the Signware object at the specified index of the list.
|
|
Get a reference to the Panel object at the specified index of the list.
|
|
Callback function called when a virtual button (rectangle) is clicked.
Override this method to do any action when a virtual button is pressed. Call acquireDone() for the according object to end acquiry mode.
|
|
Activate the object at the specified index of the list. The active object will be set visible and it will become the input focus.
|
|
Set a property.
|
|
Set a property.
|
|
Callback function that is called on status changes.
Override this method to do any action on status changes.
|
|
Callback function called after some time of inactivity.
Override this method to do any action on timeout. Call acquireDone() for the according object to end acquiry mode.
|
|
Callback function that is called when the tablet sends a vector.
Override this method to do any action on vector events.
|
Member Data Documentation
|
Type identifyer for a SPJGuiAcqu object.
|
|
Type identifyer for a SPJGuiDisp object.
|
|
Type identifyer for a SPJGuiDyn object.
|
|
Type identifyer for stacked layout, see Property "Layout".
|
|
Type identifyer for horizontally tiled layout, see Property "Layout".
|
|
Type identifyer for vertically tiled layout, see Property "Layout".
|
The documentation for this class was generated from the following file: