|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbuoy.event.EventSource
buoy.widget.Widget
buoy.widget.WidgetContainer
public abstract class WidgetContainer
A WidgetContainer is a Widget which contains other Widgets. It is responsible for arranging them on the screen. This is an abstract class. There are subclasses which provide different methods of laying out Widgets.
| Constructor Summary | |
|---|---|
WidgetContainer()
Create a WidgetContainer. |
|
| Method Summary | |
|---|---|
abstract int |
getChildCount()
Get the number of children in this container. |
abstract java.util.Collection<Widget> |
getChildren()
Get a Collection containing all child Widgets of this container. |
boolean |
isOpaque()
Determine whether this WidgetContainer is set to be opaque. |
abstract void |
layoutChildren()
Layout the child Widgets. |
abstract void |
remove(Widget widget)
Remove a child Widget from this container. |
abstract void |
removeAll()
Remove all child Widgets from this container. |
void |
setOpaque(boolean opaque)
Set whether this WidgetContainer should be opaque. |
| Methods inherited from class buoy.widget.Widget |
|---|
addEventLink, dispatchEvent, getBackground, getBounds, getComponent, getCursor, getFont, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, hasFocus, isEnabled, isFocusable, isVisible, repaint, requestFocus, setBackground, setCursor, setEnabled, setFocusable, setFont, setName, setVisible |
| Methods inherited from class buoy.event.EventSource |
|---|
addEventLink, addEventLink, removeEventLink |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WidgetContainer()
| Method Detail |
|---|
public abstract int getChildCount()
public abstract java.util.Collection<Widget> getChildren()
public abstract void remove(Widget widget)
public abstract void removeAll()
public abstract void layoutChildren()
public boolean isOpaque()
public void setOpaque(boolean opaque)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||