buoy.widget
Class BWindow
A BWindow is a WidgetContainer corresponding to an undecorated window. It has no title bar or
pulldown menus. It may contain a single Widget (usually a WidgetContainer of some sort) which
fills the window.
In addition to the event types generated by all Widgets, BWindows generate the following event types:
int | getChildCount()- Get the number of children in this container.
|
Collection | getChildren()- Get a Collection containing all child Widgets of this container.
|
JWindow | getComponent()
|
void | remove(Widget widget)- Remove a child Widget from this container.
|
void | removeAll()- Remove all child Widgets from this container.
|
dispose, getComponent, getContent, getDefaultButton, isVisible, layoutChildren, pack, setBounds, setContent, setDefaultButton, setVisible, toBack, toFront |
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 |
BWindow
public BWindow()
Create a new BWindow.
getChildren
public Collection getChildren()
Get a Collection containing all child Widgets of this container.
- getChildren in interface WidgetContainer
Written by Peter Eastman.