Class marimba.gui.ContainerWidget
All Packages Class Hierarchy This Package Previous Next Index
Class marimba.gui.ContainerWidget
java.lang.Object
|
+----marimba.gui.Widget
|
+----marimba.gui.ContainerWidget
- public class ContainerWidget
- extends Widget
Container widget. All widgets are containers, but this
widget has a getContent() field that returns the actual
container that contains the child widgets.
- Version:
- 1.9, 01/13/97
- Author:
- Arthur van Hoff
-
content
-
-
ContainerWidget()
- Create the container, and create the content area
if necessary.
-
findWidget(String)
- Find the widget in the content.
-
firstInFocus()
- Assign the focus to the first widget within this container.
-
getChildProperties(PropertyList)
- Don't save the children of this container if the
container has a content area.
-
getContent()
- Get the container that holds the child widgets.
-
layout()
- Default layout algorithm simply fits the content area
to the entire container.
-
newContent()
- Create the content for this container.
-
nextInFocus()
- Assign the focus to the next widget that is located in this
container and to the right or below the current focus.
-
previousInFocus()
- Assign the focus to the previous widget that is located within
this container and to the left or above the current focus.
-
setProperties(PropertyList)
- Set the properties.
content
public Widget content
ContainerWidget
public ContainerWidget()
- Create the container, and create the content area
if necessary.
getChildProperties
public void getChildProperties(PropertyList list)
- Don't save the children of this container if the
container has a content area.
- Overrides:
- getChildProperties in class Widget
setProperties
public void setProperties(PropertyList list)
- Set the properties.
- Overrides:
- setProperties in class Widget
getContent
public Widget getContent()
- Get the container that holds the child widgets.
newContent
protected Widget newContent()
- Create the content for this container. This method
must be subclassed if the container has a content
area.
layout
public void layout()
- Default layout algorithm simply fits the content area
to the entire container.
- Overrides:
- layout in class Widget
firstInFocus
public void firstInFocus()
- Assign the focus to the first widget within this container.
nextInFocus
public void nextInFocus()
- Assign the focus to the next widget that is located in this
container and to the right or below the current focus.
previousInFocus
public void previousInFocus()
- Assign the focus to the previous widget that is located within
this container and to the left or above the current focus.
findWidget
public Widget findWidget(String name)
- Find the widget in the content.
- Overrides:
- findWidget in class Widget
All Packages Class Hierarchy This Package Previous Next Index