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.


Constructor Index

 o Signature()
Creates a new signature.

Method Index

 o getText()
Get the digitized value of the signature
 o paint(Graphics)
Paints the component.
 o processMouseEvent(MouseEvent)
Processes mouse events occurring on this component by dispatching them to any registered MouseListener objects.
 o setText(String)
Get the digitized value of the signature

Constructors

 o Signature
 public Signature()
Creates a new signature.

Methods

 o 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
 o 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
 o getText
 public String getText()
Get the digitized value of the signature

 o setText
 public void setText(String sig)
Get the digitized value of the signature


All Packages  Class Hierarchy  This Package  Previous  Next  Index