All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class dtai.gwt.SeparatorGadget

java.lang.Object
   |
   +----dtai.gwt.Gadget
           |
           +----dtai.gwt.CanvasGadget
                   |
                   +----dtai.gwt.SeparatorGadget

public class SeparatorGadget
extends CanvasGadget
SeparatorGadget


Variable Index

 o EMBOSSED
 o ETCHED
 o HORIZONTAL
 o LINE
 o VERTICAL

Constructor Index

 o SeparatorGadget()
Constructs a Separator
 o SeparatorGadget(int)
SeparatorGadget

Method Index

 o getHMargin()
Gets the horizontal Margin
 o getMinimumSize()
getMinimumSize
 o getOrientation()
Gets the orientation of the button.
 o getPreferredSize()
getPreferredSize
 o getSeparatorThickness()
Gets the Separator thickness
 o getSeparatorType()
Gets the Separator Type
 o getVMargin()
Gets the Vertical Margin
 o paint(GadgetGraphics)
paints the gadget
 o setHMargin(int)
Sets the Horizontal Margin
 o setOrientation(int)
Sets the button with the specified orientation.
 o setSeparatorThickness(int)
Sets the Separator thickness
 o setSeparatorType(int)
Sets the Separator Type
 o setVMargin(int)
Sets the Vertical Margin

Variables

 o LINE
 public static final int LINE
 o ETCHED
 public static final int ETCHED
 o EMBOSSED
 public static final int EMBOSSED
 o HORIZONTAL
 public static final int HORIZONTAL
 o VERTICAL
 public static final int VERTICAL

Constructors

 o SeparatorGadget
 public SeparatorGadget()
Constructs a Separator

 o SeparatorGadget
 public SeparatorGadget(int orientation)
SeparatorGadget

Parameters:
orientation - description

Methods

 o getOrientation
 public final int getOrientation()
Gets the orientation of the button.

Returns:
int
See Also:
setOrientation
 o setOrientation
 public void setOrientation(int orientation)
Sets the button with the specified orientation.

Parameters:
orientation - - orientation label to set the button with
See Also:
getOrientation
 o getHMargin
 public final int getHMargin()
Gets the horizontal Margin

Returns:
int
See Also:
setHMargin
 o setHMargin
 public void setHMargin(int hmargin)
Sets the Horizontal Margin

Parameters:
hmargin - description
See Also:
getHMargin
 o getVMargin
 public final int getVMargin()
Gets the Vertical Margin

Returns:
int
See Also:
setVMargin
 o setVMargin
 public void setVMargin(int vmargin)
Sets the Vertical Margin

Parameters:
vmargin - description
See Also:
getVMargin
 o getSeparatorType
 public final int getSeparatorType()
Gets the Separator Type

Returns:
int
See Also:
setSeparatorType
 o setSeparatorType
 public void setSeparatorType(int separatorType)
Sets the Separator Type

Parameters:
separatorType - description
See Also:
getSeparatorType
 o getSeparatorThickness
 public final int getSeparatorThickness()
Gets the Separator thickness

Returns:
int
See Also:
setSeparatorThickness
 o setSeparatorThickness
 public void setSeparatorThickness(int separatorThickness)
Sets the Separator thickness

Parameters:
separatorThickness - description
See Also:
getSeparatorThickness
 o getMinimumSize
 public Dimension getMinimumSize()
getMinimumSize

Returns:
Dimension
Overrides:
getMinimumSize in class Gadget
 o getPreferredSize
 public Dimension getPreferredSize()
getPreferredSize

Returns:
Dimension
Overrides:
getPreferredSize in class Gadget
 o paint
 public void paint(GadgetGraphics g)
paints the gadget

Parameters:
g - description
Overrides:
paint in class Gadget

All Packages  Class Hierarchy  This Package  Previous  Next  Index