Uses of Class buoy.widget.Widget

Uses in package buoy.widget

Classes derived from buoy.widget.Widget

class
This class is used to create a Widget that is a thin wrapper around an arbitrary AWT/Swing component.
class
A BButton is a pushbutton Widget.
class
A BCheckBox is a Widget for making simple boolean selections.
class
A BCheckBoxMenuItem is a menu item for making simple boolean selectons.
class
A BColorChooser is a Widget that allows the user to select a color.
class
A BComboBox is a Widget that displays a popup menu with a list of objects for the user to select.
class
A BDialog is a WidgetContainer corresponding to a dialog window.
class
A BDocumentViewer is used for displaying formatted text documents.
class
A BFileChooser is a Widget that allows the user to select files or directories from the file system.
class
A BFrame is a WidgetContainer corresponding to a main window.
class
A BLabel is a Widget that displays a text string, an image, or both.
class
A BList is a Widget that displays a list of objects for the user to select.
class
A BMenu is a WidgetContainer corresponding to a pulldown menu in the menu bar of a window.
class
A BMenuBar is a WidgetContainer corresponding to the menu bar of a window.
class
A BMenuItem is a Widget corresponding to an item in a pulldown menu.
class
BorderContainer is a WidgetContainer which may have up to five children: one along each edge, and a fifth one in the center.
class
A BOutline is a WidgetContainer that draws an outline around another Widget.
class
A BPasswordField is a simple text entry box for typing passwords.
class
A BPopupMenu is a WidgetContainer corresponding to a popup menu.
class
BProgressBar is a Widget that displays the status of some operation.
class
A BRadioButton is a Widget for selecting between several options.
class
A BRadioButtonMenuItem is a menu item for selecting between several options.
class
A BScrollBar is a Widget that allows the user to select a single value by dragging a "thumb" along a bar.
class
A BScrollPane is a WidgetContainer with up to five children: an arbitrary "content" Widget that fills most of the BScrollPane, optional "row header" and "column header" Widgets along the left and top edges, respectively, and optional BScrollBars along the right and bottom edges.
class
A BSeparator is a Widget corresponding to a divider line between parts of a container.
class
A BSlider is a Widget that allows the user to select a single value by dragging a "thumb" along a bar.
class
A BSpinner is a Widget that allows the user to select a value from an ordered sequence.
class
BSplitPane is a WidgetContainer whose space is divided between two child Widgets.
class
BTabbedPane is a WidgetContainer which arranges its child Widgets in a row.
class
A BTable is a Widget that displays a grid of objects.
class
This inner class is the Widget that draws the table's column headers.
class
A BTextArea is a multi-line text entry box.
class
A BTextField is a simple text entry box.
class
A BToolBar is a WidgetContainer which displays a series of Widgets in a row or column.
class
A BToolTip is a small floating window that appears in front of another Widget.
class
A BTree is a Widget that displays a hierarchical list of objects (or "nodes").
class
A BWindow is a WidgetContainer corresponding to an undecorated window.
class
ColumnContainer is a WidgetContainer which arranges its child Widgets in a single column, from top to bottom.
class
A CustomWidget is used for defining new graphical objects.
class
ExplicitContainer is a WidgetContainer which allows the sizes and positions of its children to be set explicitly.
class
FormContainer is a WidgetContainer which arranges its children in a grid.
class
GridContainer is a WidgetContainer which arranges its child Widgets in a uniform grid.
class
OverlayContainer is a WidgetContainer which overlays its children on top of each other.
class
RowContainer is a WidgetContainer which arranges its child Widgets in a row, from left to right.
class
A TextWidget is a Widget that allows the user to view and edit text.
class
A WidgetContainer is a Widget which contains other Widgets.
class
A WindowWidget is a WidgetContainer corresponding to a window.

Constructors with parameter type buoy.widget.Widget

BOutline.BOutline(Widget content, Border border)
Create a new BOutline.
Create a new BScrollPane with the specified Widget as its content.
BScrollPane.BScrollPane(Widget contentWidget, BScrollPane.ScrollbarPolicy horizontalPolicy, BScrollPane.ScrollbarPolicy verticalPolicy)
Create a new BScrollPane with the specified Widget as its content.
Create a new BSplitPane.
Create a BuoyComponent containing a Widget.

Methods with parameter type buoy.widget.Widget

void
Add a Widget (usually a BButton) to the end of the toolbar.
void
Add a Widget to this container, using the default LayoutInfo to position it.
void
Add a Widget to this container.
void
Add a Widget to this container, using the default LayoutInfo to position it.
void
ExplicitContainer.add(Widget widget, Rectangle bounds)
Add a Widget to this container.
void
BTabbedPane.add(Widget widget, String tabName)
Add a Widget to this container.
void
BTabbedPane.add(Widget widget, String tabName, Icon image)
Add a Widget to this container.
void
BTabbedPane.add(Widget widget, String tabName, Icon image, int index)
Add a Widget to this container.
void
Add a Widget to this container, using the default LayoutInfo to position it.
void
Add a Widget to this container.
void
Add a Widget to this container.
void
RowContainer.add(Widget widget, LayoutInfo layout)
Add a Widget to this container.
void
BSplitPane.add(Widget widget, int index)
Add a Widget to this container.
void
BToolBar.add(Widget widget, int index)
Add a Widget (usually a BButton) to the toolbar.
void
OverlayContainer.add(Widget widget, int index)
Add a Widget to this container.
void
ColumnContainer.add(Widget widget, int index, LayoutInfo layout)
Add a Widget to this container.
void
RowContainer.add(Widget widget, int index, LayoutInfo layout)
Add a Widget to this container.
void
FormContainer.add(Widget widget, int col, int row)
Add a Widget to this container.
void
GridContainer.add(Widget widget, int col, int row)
Add a Widget to this container, using the default LayoutInfo to position it.
void
FormContainer.add(Widget widget, int col, int row, LayoutInfo layout)
Add a Widget to this container.
void
GridContainer.add(Widget widget, int col, int row, LayoutInfo layout)
Add a Widget to this container.
void
FormContainer.add(Widget widget, int col, int row, int width, int height)
Add a Widget to this container.
void
FormContainer.add(Widget widget, int col, int row, int width, int height, LayoutInfo layout)
Add a Widget to this container.
BOutline
BOutline.createBevelBorder(Widget content, boolean raised)
Create a BOutline with a beveled border.
BOutline
BOutline.createEmptyBorder(Widget content, int thickness)
Create a BOutline with an empty border.
BOutline
BOutline.createEtchedBorder(Widget content, boolean raised)
Create a BOutline with an etched border.
BOutline
BOutline.createLineBorder(Widget content, Color color, int thickness)
Create a BOutline with a line border.
Rectangle
Get the position of a child Widget within this container.
Point
Get the cell containing the specified Widget.
Rectangle
Get the range of cells occupied by a Widget.
int
Get the index of a particular Widget.
int
Get the index of a particular Widget.
int
Get the index of a particular Widget.
int
Get the index of a particular Widget.
int
Get the index of a particular Widget.
int
Get the index of a particular Widget.
LayoutInfo
Get the LayoutInfo for a particular Widget.
LayoutInfo
Get the LayoutInfo for a particular Widget.
LayoutInfo
Get the LayoutInfo for a particular Widget.
LayoutInfo
Get the LayoutInfo for a particular Widget.
LayoutInfo
Get the LayoutInfo for a particular Widget.
BorderContainer.Position
Get the Position of a particular Widget.
Dimension
Get the maximum size of a Widget, taking into account the insets and padding specified by this object.
Dimension
Get the preferred size of a Widget, taking into account the insets and padding specified by this object.
int
Get the index of a particular Widget.
Rectangle
LayoutInfo.getWidgetLayout(Widget widget, Rectangle rect)
Given a Widget, and a Rectangle in which to position it, return the desired bounds of the Widget.
void
Remove a child Widget from this container.
void
Remove a child Widget from this container.
void
Remove a child Widget from this container.
void
Remove a child Widget from this container.
void
Remove a child Widget from this container.
void
Remove a child Widget from this container.
void
Remove a child Widget from this container.
void
Remove a child Widget from this container.
void
Remove a child Widget from this container.
void
Remove a child Widget from this container.
void
Remove a child Widget from this container.
void
Remove a child Widget from this container.
void
Remove a child Widget from this container.
void
Remove a child Widget from this container.
void
Remove a child Widget from this container.
void
Remove a child Widget from this container.
void
Remove a child Widget from this container.
void
Remove a child Widget from this container.
void
Remove a child Widget from this container.
void
ExplicitContainer.setChildBounds(Widget widget, Rectangle bounds)
Set the position of a child Widget within this container.
void
FormContainer.setChildCells(Widget widget, Rectangle cells)
Set the range of cells occupied by a Widget.
void
Set the LayoutInfo for a particular Widget.
void
Set the LayoutInfo for a particular Widget.
void
Set the LayoutInfo for a particular Widget.
void
Set the LayoutInfo for a particular Widget.
void
Set the LayoutInfo for a particular Widget.
void
Set the column header Widget.
void
BOutline.setContent(Widget contentWidget)
Set the content Widget.
void
Set the content Widget.
void
Set the Widget that holds the main contents of the window.
void
Set the row header Widget.
void
Set a particular child Widget to be visible, and all others to be not visible.
void
BToolTip.show(Widget widget, Point where)
Display the tool tip.
void
BPopupMenu.show(Widget widget, int x, int y)
Display the popup menu over another Widget.
boolean
Show a dialog containing this BColorChooser and block until the user closes it.
boolean
Show a dialog containing this BFileChooser and block until the user closes it.
String
BStandardDialog.showInputDialog(Widget parent, options[] , String defaultVal)
Show a dialog which contains the message and space for the user to enter value.
void
Show a dialog which contains the message.
int
BStandardDialog.showOptionDialog(Widget parent, options[] , String defaultVal)
Show a dialog which contains the message and two or three buttons to choose from.

Methods with return type buoy.widget.Widget

Widget
Get the child in a particular location.
Widget
BSplitPane.getChild(int index)
Get one of the child Widgets.
Widget
Get the i'th child of this container.
Widget
Get the i'th child of this container.
Widget
Get the i'th child of this container.
Widget
Get the i'th child of this container.
Widget
Get the i'th child of this container.
Widget
Get the i'th child of this container.
Widget
Get the i'th child of this container.
Widget
GridContainer.getChild(int col, int row)
Get the child in a particular cell.
Widget
Get the column header Widget.
Widget
Get the content Widget.
Widget
Get the content Widget.
Widget
Get the Widget that holds the main contents of the window.
Widget
Get the row header Widget.
Widget
Get the Widget contained in this Component.

Uses in package buoy.internal

Constructors with parameter type buoy.widget.Widget

Create a new adapter for a particular Widget.

Uses in package buoy.event

Constructors with parameter type buoy.widget.Widget

Create a CellValueChangedEvent.
CommandEvent.CommandEvent(Widget source, long when, int modifiers)
Create a CommandEvent.
CommandEvent.CommandEvent(Widget source, long when, int modifiers, String command)
Create a CommandEvent.
DocumentLinkEvent.DocumentLinkEvent(Widget widget, HyperlinkEvent event)
Create a DocumentLinkEvent.
FocusGainedEvent.FocusGainedEvent(Widget source, boolean temporary)
Create a FocusGainedEvent.
FocusLostEvent.FocusLostEvent(Widget source, boolean temporary)
Create a FocusLostEvent.
KeyPressedEvent.KeyPressedEvent(Widget source, long when, int modifiers, int keyCode)
Create a KeyPressedEvent.
KeyReleasedEvent.KeyReleasedEvent(Widget source, long when, int modifiers, int keyCode)
Create a KeyReleasedEvent.
KeyTypedEvent.KeyTypedEvent(Widget source, long when, int modifiers, char keyChar)
Create a KeyTypedEvent.
MouseClickedEvent.MouseClickedEvent(Widget source, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger, int button)
Create a MouseClickedEvent.
MouseDraggedEvent.MouseDraggedEvent(Widget source, long when, int modifiers, int x, int y)
Create a MouseDraggedEvent.
MouseEnteredEvent.MouseEnteredEvent(Widget source, long when, int modifiers, int x, int y)
Create a MouseEnteredEvent.
MouseExitedEvent.MouseExitedEvent(Widget source, long when, int modifiers, int x, int y)
Create a MouseExitedEvent.
MouseMovedEvent.MouseMovedEvent(Widget source, long when, int modifiers, int x, int y)
Create a MouseMovedEvent.
MousePressedEvent.MousePressedEvent(Widget source, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger, int button)
Create a MousePressedEvent.
MouseReleasedEvent.MouseReleasedEvent(Widget source, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger, int button)
Create a MouseReleasedEvent.
MouseScrolledEvent.MouseScrolledEvent(Widget source, long when, int modifiers, int x, int y, int scrollType, int scrollAmount, int wheelRotation)
Create a MouseScrolledEvent.
RepaintEvent.RepaintEvent(Widget widget, Graphics2D graphics)
Create a RepaintEvent.
Create a SelectionChangedEvent.
SelectionChangedEvent.SelectionChangedEvent(Widget widget, boolean inProgress)
Create a SelectionChangedEvent.
ToolTipEvent.ToolTipEvent(Widget source, long when, Point pos, Point tipPos)
Create a ToolTipEvent.
Create a ValueChangedEvent.
ValueChangedEvent.ValueChangedEvent(Widget widget, boolean inProgress)
Create a ValueChangedEvent.

Methods with return type buoy.widget.Widget

Widget
Get the Widget which generated this event.
Widget
Get the Widget which generated this event.
Widget
Get the Widget which generated this event.
Widget
Get the Widget which generated this event.
Widget
Get the Widget which generated this event.
Widget
Get the Widget which generated this event.
Widget
Get the Widget which generated this event.
Widget
Get the Widget which generated this event.
Widget
Get the Widget which generated this event.
Widget
Get the Widget which generated this event.
Widget
Get the Widget which generated this event.
Widget
Get the Widget which generated this event.
Widget
Get the Widget which generated this event.

Written by Peter Eastman.