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

Variable Index

 o align
The current alignment of the label.
 o alignOptions
The possible options for the alignment.
 o label
The label of this group box, that appears at the top.
 o labelFont
The font of the label.

Constructor Index

 o GroupBoxWidget()

Method Index

 o getAlign()
Get the current alignment of the label.
 o getAlignOptions()
Get the possible options for the alignment.
 o getLabel()
Get the label.
 o getLabelFont()
Get the font of the label.
 o getProperties(PropertyList)
Get the properties of this widget.
 o getText()
Get the label.
 o layout()
Layout the widget itself.
 o newContent()
Allocate the content.
 o paint(Graphics, int, int, int, int)
Paint the outline.
 o paramString(StringBuffer)
Debugging.
 o setAlign(int)
Set the alignment of the label.
 o setLabel(String)
Set the label.
 o setLabelFont(Font)
Set the font of the label.
 o setProperties(PropertyList)
Set the properties of this widget.
 o setText(String)
Set the label.

Variables

 o alignOptions
  public static Options alignOptions
The possible options for the alignment.
See Also:
getAlignOptions, align
 o label
  public String label
The label of this group box, that appears at the top.
See Also:
getText, setText
 o align
  public int align
The current alignment of the label. It can be left, right or center.
See Also:
getAlign, setAlign, alignOptions
 o labelFont
  public Font labelFont
The font of the label.
See Also:
getLabelFont, setLabelFont, label

Constructors

 o GroupBoxWidget
  public GroupBoxWidget()

Methods

 o getProperties
  public void getProperties(PropertyList list)
Get the properties of this widget.
Overrides:
getProperties in class Widget
 o setProperties
  public void setProperties(PropertyList list)
Set the properties of this widget.
Overrides:
setProperties in class ContainerWidget
 o getAlignOptions
  public Options getAlignOptions()
Get the possible options for the alignment.
See Also:
alignOptions
 o getAlign
  public int getAlign()
Get the current alignment of the label.
See Also:
align
 o setAlign
  public void setAlign(int align)
Set the alignment of the label.
See Also:
align
 o newContent
  public Widget newContent()
Allocate the content.
Overrides:
newContent in class ContainerWidget
 o getText
  public String getText()
Get the label.
Overrides:
getText in class Widget
See Also:
label, getLabel
 o setText
  public void setText(String label)
Set the label.
Overrides:
setText in class Widget
See Also:
label, setLabel
 o getLabel
  public String getLabel()
Get the label.
See Also:
getText
 o setLabel
  public void setLabel(String label)
Set the label.
See Also:
setText
 o getLabelFont
  public Font getLabelFont()
Get the font of the label.
See Also:
labelFont
 o setLabelFont
  public void setLabelFont(Font labelFont)
Set the font of the label.
See Also:
labelFont
 o layout
  public void layout()
Layout the widget itself.
Overrides:
layout in class ContainerWidget
 o paint
  public void paint(Graphics g,
                    int x,
                    int y,
                    int wd,
                    int ht)
Paint the outline.
Overrides:
paint in class Widget
 o paramString
  public void paramString(StringBuffer buf)
Debugging.
Overrides:
paramString in class Widget

All Packages  Class Hierarchy  This Package  Previous  Next  Index