de.softpro.signware.SPJGuiDisp Class Reference
Inheritance diagram for de.softpro.signware.SPJGuiDisp:

Detailed Description
Display a signature / image in a java panel.This class encapsulates signature image display within a canvas.
Heavy weight components overwrite light weight components (and vice versa), that means you cannot mix light weight components such as a javax.swing.JButton and heavy weight component.
See http://java.sun.com/developer/technicalArticles/GUI/mixing_components/index.html and http://java.sun.com/products/jfc/tsc/articles/mixing/ for mixing heavy and leight weight components
Signware also includes an object to display the dynamic feature of a signature, please read SPJGuiDyn
- Operating Systems:
- Windows (Win32)
Public Member Functions | |
boolean | getBoolProperty (String aKey) throws SPSignwareException |
SPImage | getImage () throws SPSignwareException |
int | getIntProperty (String aKey) throws SPSignwareException |
SPSignature | getSignature () throws SPSignwareException |
void | paint (java.awt.Panel aClient) |
void | setBoolProperty (String aKey, boolean aValue) throws SPSignwareException |
void | setClient (java.awt.Panel pClient) throws SPSignwareException |
void | setImage (SPImage aImage) throws SPSignwareException |
void | setIntProperty (String aKey, int aValue) throws SPSignwareException |
void | setSignature (SPSignature aSigno) throws SPSignwareException |
void | setSplitLines (java.util.Vector< Integer > vSplits) throws SPSignwareException |
void | setWeight (double dWeight) throws SPSignwareException |
void | setWeightedFrames (java.util.Vector< SPWeightedFrame > vFrames) throws SPSignwareException |
SPJGuiDisp () throws SPSignwareException | |
Package Functions | |
SPWeightedFrame | getFrame (java.util.Vector< SPWeightedFrame > vFrames, int iIndex) |
int | getLine (java.util.Vector< Integer > vSplits, int iIndex) |
final native int | jniFree () |
Constructor & Destructor Documentation
|
Create a new SPJGuiDisp object
|
Member Function Documentation
|
Query the value of an boolean property in a SPJGuiDisp object
|
|
Helper method invoked from native code
|
|
Query the image in a SPJGuiDisp object
|
|
Query the value of an integer property in a SPJGuiDisp object
|
|
Helper method invoked from native code
|
|
Query the signature in a SPJGuiDisp object
|
|
Implements de.softpro.signware.SPSignwareObject. |
|
Handle painting in the object If the application draws in the Panel which hosts the SPGuiDisp object, then the application must set the bool property "JavaDrawInPanel" to true and invoke the paint method whenever the application needs to draw on the component.
|
|
Set an boolean property in a SPJGuiDisp object
|
|
Create the visible components of a SPJGuiDisp object
|
|
Set the image in a SPJGuiDisp object Any weighted frames or split linew will be reset.
|
|
Set an integer property in a SPJGuiDisp object
|
|
Set the signature in a SPJGuiDisp object Any weighted frames or split linew will be reset.
|
|
Set split lines in a SPJGuiDisp object
|
|
Set the weight of the frames that will be visible in a SPJGuiDisp object
|
|
Set weighted frames in a SPJGuiDisp object
|
The documentation for this class was generated from the following file: