Class marimba.gui.CheckBoxWidget
All Packages Class Hierarchy This Package Previous Next Index
Class marimba.gui.CheckBoxWidget
java.lang.Object
|
+----marimba.gui.Widget
|
+----marimba.gui.ButtonWidget
|
+----marimba.gui.CheckBoxWidget
- public class CheckBoxWidget
- extends ButtonWidget
A checkbox widget. Checkboxes support options that are
either on or off; When the choice is set, a check mark
appears in the box. When the choice is not set, the
check box is empty.
Grouping checkboxes does not prevent setting the check
boxes on or off in combination; each check box's setting
is typically independent of the others.
- Version:
- 1.34, 12/09/96
- Author:
- Klaas Waslander
-
align
- The current alignment.
-
alignOptions
- The available options for the alignment.
-
CheckBoxWidget()
- Default constructor.
-
CheckBoxWidget(String, boolean)
- Constructor with label
-
getAlign()
- Get the align of this button (LEFT or RIGHT).
-
getAlignOptions()
- Get the possible align options.
-
getEditor()
- Get the editor.
-
getProperties(PropertyList)
- Get the properties of the checkbox.
-
paintButton(Graphics)
- Paint the checkbox and also the focus rectangle if there is no label.
-
paintLabel(Graphics)
- Paint the label and also the input focus rectangle, if there is a label.
-
paramString(StringBuffer)
- Debugging.
-
setAlign(int)
- Set the mode for the button.
-
setProperties(PropertyList)
- Set the properties of the checkbox.
align
public int align
- The current alignment.
- See Also:
- alignOptions
alignOptions
public static Options alignOptions
- The available options for the alignment.
- See Also:
- align, getAlignOptions
CheckBoxWidget
public CheckBoxWidget()
- Default constructor.
CheckBoxWidget
public CheckBoxWidget(String label,
boolean value)
- Constructor with label
getProperties
public void getProperties(PropertyList list)
- Get the properties of the checkbox.
- Overrides:
- getProperties in class ButtonWidget
setProperties
public void setProperties(PropertyList list)
- Set the properties of the checkbox.
- Overrides:
- setProperties in class ButtonWidget
getAlignOptions
public Options getAlignOptions()
- Get the possible align options.
- See Also:
- alignOptions
getEditor
public String getEditor()
- Get the editor.
- Overrides:
- getEditor in class Widget
getAlign
public int getAlign()
- Get the align of this button (LEFT or RIGHT).
- See Also:
- align
setAlign
public void setAlign(int align)
- Set the mode for the button.
- See Also:
- align
paintLabel
public void paintLabel(Graphics g)
- Paint the label and also the input focus rectangle, if there is a label.
- Overrides:
- paintLabel in class ButtonWidget
paintButton
public void paintButton(Graphics g)
- Paint the checkbox and also the focus rectangle if there is no label.
- Overrides:
- paintButton in class ButtonWidget
paramString
public void paramString(StringBuffer buf)
- Debugging.
- Overrides:
- paramString in class ButtonWidget
All Packages Class Hierarchy This Package Previous Next Index