buoy.widget
Class AWTWidget
This class is used to create a Widget that is a thin wrapper around an arbitrary AWT/Swing component.
AWTWidget(Component comp) - Create a Widget which acts as a wrapper around an arbitrary AWT/Swing component.
|
void | invalidateSize() - This method should be called any time this Widget's minimum, maximum, or preferred size changes.
|
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 |
AWTWidget
public AWTWidget(Component comp)
Create a Widget which acts as a wrapper around an arbitrary AWT/Swing component.
invalidateSize
public void invalidateSize()
This method should be called any time this Widget's minimum, maximum, or preferred size changes.
It notifies the Widget's parent container so that it can discard any cached layout information.
Calling this method does not actually cause the layout to change. To do that, you must call
layoutChildren() on the WidgetContainer.
Written by Peter Eastman.