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
-
component
- The string describing what the component is.
-
label
- The label for this component.
-
msgFont
-
-
ComponentWidget()
-
-
getComponentSource()
- Get the source of the component.
-
getLabel()
- Get the label for this component.
-
getProperties(PropertyList)
- Get the properties of this widget.
-
init()
- Initialize the component.
-
newComponent()
- Create the AWT component.
-
paint(Graphics)
- Paint the widget (if the awt component is not visible).
-
setComponentSource(String)
- Set the source of the component.
-
setLabel(String)
- Set the label for this component.
-
setProperties(PropertyList)
- Set the properties of this widget.
msgFont
public final static Font msgFont
label
public String label
- The label for this component.
- See Also:
- getLabel, setLabel
component
public String component
- The string describing what the component is.
- See Also:
- getComponentSource, setComponentSource
ComponentWidget
public ComponentWidget()
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 Widget
getLabel
public String getLabel()
- Get the label for this component.
- See Also:
- label
setLabel
public void setLabel(String label)
- Set the label for this component.
- See Also:
- label
getComponentSource
public String getComponentSource()
- Get the source of the component.
- See Also:
- component
setComponentSource
public void setComponentSource(String component)
- Set the source of the component.
This will actually change the component.
- See Also:
- component
newComponent
public Component newComponent()
- Create the AWT component.
- Overrides:
- newComponent in class AWTWidget
init
public void init()
- Initialize the component.
- Overrides:
- init in class AWTWidget
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