Class marimba.gui.ComponentWidget
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class marimba.gui.ComponentWidget

java.lang.Object
   |
   +----marimba.gui.Widget
           |
           +----marimba.gui.AWTWidget
                   |
                   +----marimba.gui.ComponentWidget

public class ComponentWidget
extends AWTWidget
A wrapper widget for AWT components.
Version:
1.13, 10/25/96
Author:
Arthur van Hoff

Variable Index

 o component
The string describing what the component is.
 o label
The label for this component.
 o msgFont

Constructor Index

 o ComponentWidget()

Method Index

 o getComponentSource()
Get the source of the component.
 o getLabel()
Get the label for this component.
 o getProperties(PropertyList)
Get the properties of this widget.
 o init()
Initialize the component.
 o newComponent()
Create the AWT component.
 o paint(Graphics)
Paint the widget (if the awt component is not visible).
 o setComponentSource(String)
Set the source of the component.
 o setLabel(String)
Set the label for this component.
 o setProperties(PropertyList)
Set the properties of this widget.

Variables

 o msgFont
  public final static Font msgFont
 o label
  public String label
The label for this component.
See Also:
getLabel, setLabel
 o component
  public String component
The string describing what the component is.
See Also:
getComponentSource, setComponentSource

Constructors

 o ComponentWidget
  public ComponentWidget()

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 Widget
 o getLabel
  public String getLabel()
Get the label for this component.
See Also:
label
 o setLabel
  public void setLabel(String label)
Set the label for this component.
See Also:
label
 o getComponentSource
  public String getComponentSource()
Get the source of the component.
See Also:
component
 o setComponentSource
  public void setComponentSource(String component)
Set the source of the component. This will actually change the component.
See Also:
component
 o newComponent
  public Component newComponent()
Create the AWT component.
Overrides:
newComponent in class AWTWidget
 o init
  public void init()
Initialize the component.
Overrides:
init in class AWTWidget
 o paint
  public void paint(Graphics g)
Paint the widget (if the awt component is not visible).
Overrides:
paint in class Widget

All Packages  Class Hierarchy  This Package  Previous  Next  Index