public abstract class WidgetContainer extends Widget
Constructor and Description |
---|
WidgetContainer()
Create a WidgetContainer.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
addEventLink, addEventLink, removeEventLink
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)
Written by Peter Eastman.