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
-
EMBOSSED
-
-
ETCHED
-
-
HORIZONTAL
-
-
LINE
-
-
VERTICAL
-
-
SeparatorGadget()
- Constructs a Separator
-
SeparatorGadget(int)
- SeparatorGadget
-
getHMargin()
- Gets the horizontal Margin
-
getMinimumSize()
- getMinimumSize
-
getOrientation()
- Gets the orientation of the button.
-
getPreferredSize()
- getPreferredSize
-
getSeparatorThickness()
- Gets the Separator thickness
-
getSeparatorType()
- Gets the Separator Type
-
getVMargin()
- Gets the Vertical Margin
-
paint(GadgetGraphics)
- paints the gadget
-
setHMargin(int)
- Sets the Horizontal Margin
-
setOrientation(int)
- Sets the button with the specified orientation.
-
setSeparatorThickness(int)
- Sets the Separator thickness
-
setSeparatorType(int)
- Sets the Separator Type
-
setVMargin(int)
- Sets the Vertical Margin
LINE
public static final int LINE
ETCHED
public static final int ETCHED
EMBOSSED
public static final int EMBOSSED
HORIZONTAL
public static final int HORIZONTAL
VERTICAL
public static final int VERTICAL
SeparatorGadget
public SeparatorGadget()
- Constructs a Separator
SeparatorGadget
public SeparatorGadget(int orientation)
- SeparatorGadget
- Parameters:
- orientation - description
getOrientation
public final int getOrientation()
- Gets the orientation of the button.
- Returns:
- int
- See Also:
- setOrientation
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
getHMargin
public final int getHMargin()
- Gets the horizontal Margin
- Returns:
- int
- See Also:
- setHMargin
setHMargin
public void setHMargin(int hmargin)
- Sets the Horizontal Margin
- Parameters:
- hmargin - description
- See Also:
- getHMargin
getVMargin
public final int getVMargin()
- Gets the Vertical Margin
- Returns:
- int
- See Also:
- setVMargin
setVMargin
public void setVMargin(int vmargin)
- Sets the Vertical Margin
- Parameters:
- vmargin - description
- See Also:
- getVMargin
getSeparatorType
public final int getSeparatorType()
- Gets the Separator Type
- Returns:
- int
- See Also:
- setSeparatorType
setSeparatorType
public void setSeparatorType(int separatorType)
- Sets the Separator Type
- Parameters:
- separatorType - description
- See Also:
- getSeparatorType
getSeparatorThickness
public final int getSeparatorThickness()
- Gets the Separator thickness
- Returns:
- int
- See Also:
- setSeparatorThickness
setSeparatorThickness
public void setSeparatorThickness(int separatorThickness)
- Sets the Separator thickness
- Parameters:
- separatorThickness - description
- See Also:
- getSeparatorThickness
getMinimumSize
public Dimension getMinimumSize()
- getMinimumSize
- Returns:
- Dimension
- Overrides:
- getMinimumSize in class Gadget
getPreferredSize
public Dimension getPreferredSize()
- getPreferredSize
- Returns:
- Dimension
- Overrides:
- getPreferredSize in class Gadget
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