All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class dtai.gwt.CheckGadget

java.lang.Object
   |
   +----dtai.gwt.Gadget
           |
           +----dtai.gwt.DisplayGadget
                   |
                   +----dtai.gwt.CheckboxIndicatorGadget
                           |
                           +----dtai.gwt.CheckGadget

public class CheckGadget
extends CheckboxIndicatorGadget
CheckGadget


Constructor Index

 o CheckGadget()
Constructs a Label with no label.

Method Index

 o drawCheck(GadgetGraphics, int, int, int, int, int)
drawCheck
 o paintDisabledForeground(GadgetGraphics, int, int, int, int)
paintDisabledForeground
 o paintForeground(GadgetGraphics, int, int, int, int)
paints specified object in foreground
 o resetForegroundSize(GadgetGraphics)
Resets foreground height and width to 13.
 o showSelected(GadgetGraphics)
showSelected - empth method.

Constructors

 o CheckGadget
 public CheckGadget()
Constructs a Label with no label.

Methods

 o resetForegroundSize
 protected void resetForegroundSize(GadgetGraphics g)
Resets foreground height and width to 13.

Parameters:
g - GadgetGraphics object for painting.
Overrides:
resetForegroundSize in class DisplayGadget
 o showSelected
 protected void showSelected(GadgetGraphics g)
showSelected - empth method.

Parameters:
g - GadgetGraphics object for painting.
 o drawCheck
 protected void drawCheck(GadgetGraphics g,
                          int x,
                          int y,
                          int width,
                          int height,
                          int unit)
drawCheck

Parameters:
g - GadgetGraphics object for painting.
x - x coordinate
y - y coordinate
width - width
height - height
unit - int
 o paintDisabledForeground
 protected void paintDisabledForeground(GadgetGraphics g,
                                        int x,
                                        int y,
                                        int width,
                                        int height)
paintDisabledForeground

Parameters:
g - GadgetGraphics object for painting.
x - x coordinate
y - y coordinate
width - width
height - height
Overrides:
paintDisabledForeground in class DisplayGadget
 o paintForeground
 protected void paintForeground(GadgetGraphics g,
                                int x,
                                int y,
                                int width,
                                int height)
paints specified object in foreground

Parameters:
g - GadgetGraphics object for painting.
x - x coordinate
y - y coordinate
width - width
height - height
Overrides:
paintForeground in class DisplayGadget

All Packages  Class Hierarchy  This Package  Previous  Next  Index