public class AWTWidget extends Widget
Constructor and Description |
---|
AWTWidget(java.awt.Component comp)
Create a Widget which acts as a wrapper around an arbitrary AWT/Swing component.
|
Modifier and Type | Method and Description |
---|---|
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
addEventLink, addEventLink, removeEventLink
public AWTWidget(java.awt.Component comp)
public void invalidateSize()
Written by Peter Eastman.