All Packages Class Hierarchy This Package Previous Next Index
Class com.bulletproof.gui.Signature
java.lang.Object
|
+----com.bulletproof.gui.Component
|
+----com.bulletproof.gui.Signature
- public class Signature
- extends Component
A Signature capture class. This produces a component that will capture
and subsequently digitize and then restore a signature.
-
Signature()
- Creates a new signature.
-
getText()
- Get the digitized value of the signature
-
paint(Graphics)
-
Paints the component.
-
processMouseEvent(MouseEvent)
-
Processes mouse events occurring on this component by
dispatching them to any registered MouseListener objects.
-
setText(String)
- Get the digitized value of the signature
Signature
public Signature()
- Creates a new signature.
paint
public void paint(Graphics g)
- Paints the component. This method is called when the contents
of the component should be painted in response to the component
first being shown or damage needing repair. The clip rectangle
in the Graphics parameter will be set to the area which needs
to be painted.
- Parameters:
- g - the specified Graphics window
- Overrides:
- paint in class Component
processMouseEvent
public void processMouseEvent(MouseEvent e)
- Processes mouse events occurring on this component by
dispatching them to any registered MouseListener objects.
NOTE: This method will not be called unless mouse events
are enabled for this component; this happens when one of the
following occurs:
a) A MouseListener object is registered via addMouseListener()
Classes overriding this method should call super.processMouseEvent()
to ensure default event processing continues normally.
- Parameters:
- e - the mouse event
- Overrides:
- processMouseEvent in class Component
getText
public String getText()
- Get the digitized value of the signature
setText
public void setText(String sig)
- Get the digitized value of the signature
All Packages Class Hierarchy This Package Previous Next Index