public class BWindow extends WindowWidget
In addition to the event types generated by all Widgets, BWindows generate the following event types:
| Constructor and Description |
|---|
BWindow()
Create a new BWindow.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getChildCount()
Get the number of children in this container.
|
java.util.Collection<Widget> |
getChildren()
Get a Collection containing all child Widgets of this container.
|
javax.swing.JWindow |
getComponent()
Get the java.awt.Component corresponding to this Widget.
|
void |
remove(Widget widget)
Remove a child Widget from this container.
|
void |
removeAll()
Remove all child Widgets from this container.
|
dispose, getContent, getDefaultButton, isVisible, layoutChildren, pack, setBounds, setContent, setDefaultButton, setVisible, toBack, toFrontisOpaque, setOpaqueaddEventLink, dispatchEvent, getBackground, getBounds, getCursor, getFont, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, hasFocus, isEnabled, isFocusable, repaint, requestFocus, setBackground, setCursor, setEnabled, setFocusable, setFont, setNameaddEventLink, addEventLink, removeEventLinkpublic javax.swing.JWindow getComponent()
WidgetgetComponent in class WindowWidgetpublic int getChildCount()
getChildCount in class WidgetContainerpublic java.util.Collection<Widget> getChildren()
getChildren in class WidgetContainerpublic void remove(Widget widget)
remove in class WidgetContainerpublic void removeAll()
removeAll in class WidgetContainerWritten by Peter Eastman.