Class JDPSignature

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----JDPSignature

public class JDPSignature
extends Panel
A Signature display class. This produces a component that will capture and subsequently digitize and then restore a signature.


Constructor Index

 o JDPSignature()
Creates a new signature.

Method Index

 o getMinimumHeight()
Get the minimum height of the grid
 o getMinimumWidth()
Get the minimum width of the grid
 o getText()
Get the digitized value of the signature
 o handleEvent(Event)
 o minimumSize()
 o paint(Graphics)
Paints the component.
 o preferredSize()
 o setMinimumHeight(int)
Set the minimum height of the grid
 o setMinimumWidth(int)
Set the minimum width of the grid
 o setText(String)
Get the digitized value of the signature

Constructors

 o JDPSignature
 public JDPSignature()
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 Container
See Also:
update
 o handleEvent
 public synchronized boolean handleEvent(Event e)
Overrides:
handleEvent 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

 o preferredSize
 public Dimension preferredSize()
Overrides:
preferredSize in class Container
 o minimumSize
 public Dimension minimumSize()
Overrides:
minimumSize in class Container
 o setMinimumWidth
 public void setMinimumWidth(int width)
Set the minimum width of the grid

Parameters:
the - width in pixels.
 o getMinimumWidth
 public int getMinimumWidth()
Get the minimum width of the grid

Returns:
the width in pixels.
 o setMinimumHeight
 public void setMinimumHeight(int height)
Set the minimum height of the grid

Parameters:
the - height in pixels.
 o getMinimumHeight
 public int getMinimumHeight()
Get the minimum height of the grid

Returns:
the height in pixels.