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

Variable Index

 o content

Constructor Index

 o ContainerWidget()
Create the container, and create the content area if necessary.

Method Index

 o findWidget(String)
Find the widget in the content.
 o firstInFocus()
Assign the focus to the first widget within this container.
 o getChildProperties(PropertyList)
Don't save the children of this container if the container has a content area.
 o getContent()
Get the container that holds the child widgets.
 o layout()
Default layout algorithm simply fits the content area to the entire container.
 o newContent()
Create the content for this container.
 o nextInFocus()
Assign the focus to the next widget that is located in this container and to the right or below the current focus.
 o previousInFocus()
Assign the focus to the previous widget that is located within this container and to the left or above the current focus.
 o setProperties(PropertyList)
Set the properties.

Variables

 o content
  public Widget content

Constructors

 o ContainerWidget
  public ContainerWidget()
Create the container, and create the content area if necessary.

Methods

 o 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
 o setProperties
  public void setProperties(PropertyList list)
Set the properties.
Overrides:
setProperties in class Widget
 o getContent
  public Widget getContent()
Get the container that holds the child widgets.
 o newContent
  protected Widget newContent()
Create the content for this container. This method must be subclassed if the container has a content area.
 o layout
  public void layout()
Default layout algorithm simply fits the content area to the entire container.
Overrides:
layout in class Widget
 o firstInFocus
  public void firstInFocus()
Assign the focus to the first widget within this container.
 o 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.
 o 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.
 o 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