Class marimba.gui.GroupBoxWidget
All Packages Class Hierarchy This Package Previous Next Index
Class marimba.gui.GroupBoxWidget
java.lang.Object
|
+----marimba.gui.Widget
|
+----marimba.gui.ContainerWidget
|
+----marimba.gui.GroupBoxWidget
- public class GroupBoxWidget
- extends ContainerWidget
This group has an outline and potentially
a label.
- Version:
- 1.12, 09/29/96
- Author:
- Arthur van Hoff
-
align
- The current alignment of the label.
-
alignOptions
- The possible options for the alignment.
-
label
- The label of this group box, that appears at the top.
-
labelFont
- The font of the label.
-
GroupBoxWidget()
-
-
getAlign()
- Get the current alignment of the label.
-
getAlignOptions()
- Get the possible options for the alignment.
-
getLabel()
- Get the label.
-
getLabelFont()
- Get the font of the label.
-
getProperties(PropertyList)
- Get the properties of this widget.
-
getText()
- Get the label.
-
layout()
- Layout the widget itself.
-
newContent()
- Allocate the content.
-
paint(Graphics, int, int, int, int)
- Paint the outline.
-
paramString(StringBuffer)
- Debugging.
-
setAlign(int)
- Set the alignment of the label.
-
setLabel(String)
- Set the label.
-
setLabelFont(Font)
- Set the font of the label.
-
setProperties(PropertyList)
- Set the properties of this widget.
-
setText(String)
- Set the label.
alignOptions
public static Options alignOptions
- The possible options for the alignment.
- See Also:
- getAlignOptions, align
label
public String label
- The label of this group box, that appears at the top.
- See Also:
- getText, setText
align
public int align
- The current alignment of the label.
It can be left, right or center.
- See Also:
- getAlign, setAlign, alignOptions
labelFont
public Font labelFont
- The font of the label.
- See Also:
- getLabelFont, setLabelFont, label
GroupBoxWidget
public GroupBoxWidget()
getProperties
public void getProperties(PropertyList list)
- Get the properties of this widget.
- Overrides:
- getProperties in class Widget
setProperties
public void setProperties(PropertyList list)
- Set the properties of this widget.
- Overrides:
- setProperties in class ContainerWidget
getAlignOptions
public Options getAlignOptions()
- Get the possible options for the alignment.
- See Also:
- alignOptions
getAlign
public int getAlign()
- Get the current alignment of the label.
- See Also:
- align
setAlign
public void setAlign(int align)
- Set the alignment of the label.
- See Also:
- align
newContent
public Widget newContent()
- Allocate the content.
- Overrides:
- newContent in class ContainerWidget
getText
public String getText()
- Get the label.
- Overrides:
- getText in class Widget
- See Also:
- label, getLabel
setText
public void setText(String label)
- Set the label.
- Overrides:
- setText in class Widget
- See Also:
- label, setLabel
getLabel
public String getLabel()
- Get the label.
- See Also:
- getText
setLabel
public void setLabel(String label)
- Set the label.
- See Also:
- setText
getLabelFont
public Font getLabelFont()
- Get the font of the label.
- See Also:
- labelFont
setLabelFont
public void setLabelFont(Font labelFont)
- Set the font of the label.
- See Also:
- labelFont
layout
public void layout()
- Layout the widget itself.
- Overrides:
- layout in class ContainerWidget
paint
public void paint(Graphics g,
int x,
int y,
int wd,
int ht)
- Paint the outline.
- Overrides:
- paint in class Widget
paramString
public void paramString(StringBuffer buf)
- Debugging.
- Overrides:
- paramString in class Widget
All Packages Class Hierarchy This Package Previous Next Index