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, toFront
isOpaque, setOpaque
addEventLink, dispatchEvent, getBackground, getBounds, getCursor, getFont, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, hasFocus, isEnabled, isFocusable, repaint, requestFocus, setBackground, setCursor, setEnabled, setFocusable, setFont, setName
addEventLink, addEventLink, removeEventLink
public javax.swing.JWindow getComponent()
Widget
getComponent
in class WindowWidget
public int getChildCount()
getChildCount
in class WidgetContainer
public java.util.Collection<Widget> getChildren()
getChildren
in class WidgetContainer
public void remove(Widget widget)
remove
in class WidgetContainer
public void removeAll()
removeAll
in class WidgetContainer
Written by Peter Eastman.