public interface IWindow extends IDisplay, IComponent, IWindowCommon
Modifier and Type | Method and Description |
---|---|
void |
centerLocation()
Centers the location relative to the parent bounds
|
<WIDGET_TYPE extends IDisplay,DESCRIPTOR_TYPE extends IWidgetDescriptor<WIDGET_TYPE>> |
createChildWindow(DESCRIPTOR_TYPE descriptor)
Creates a child window with this window as parent
|
java.util.List<IDisplay> |
getChildWindows()
Gets the child windows of this window as a unmodifiable copy
|
void |
setMaxPackSize(Dimension size)
Sets the max pack size of the window.
|
void |
setMinPackSize(Dimension size)
Sets the min pack size of the window.
|
createPopupMenu, fromComponent, getBounds, hasFocus, isReparentable, isShowing, setBounds, setPopupMenu, setPosition, setSize, toComponent, toLocal, toScreen
dispose, getRoot, isDisposed
addDisposeListener, removeDisposeListener
addShowingStateListener, removeShowingStateListener
dispose, getParentBounds, pack
getBackgroundColor, getForegroundColor, getPosition, getSize, isVisible, redraw, requestFocus, setBackgroundColor, setCursor, setForegroundColor, setPosition, setRedrawEnabled, setSize, setVisible
getUiReference, isEnabled, setEnabled
addComponentListener, removeComponentListener
addFocusListener, removeFocusListener
addKeyListener, removeKeyListener
addMouseListener, removeMouseListener
addMouseMotionListener, removeMouseMotionListener
addPopupDetectionListener, removePopupDetectionListener
addWindowListener, removeWindowListener
void centerLocation()
IWindowCommon.getParentBounds()
<WIDGET_TYPE extends IDisplay,DESCRIPTOR_TYPE extends IWidgetDescriptor<WIDGET_TYPE>> WIDGET_TYPE createChildWindow(DESCRIPTOR_TYPE descriptor)
WIDGET_TYPE
- The type of the created child windowDESCRIPTOR_TYPE
- The type of the child windows descriptordescriptor
- The child windows descriptorjava.util.List<IDisplay> getChildWindows()
void setMinPackSize(Dimension size)
size
- The min pack size to setIWindowCommon.pack()
void setMaxPackSize(Dimension size)
size
- The max pack size to setIWindowCommon.pack()
Siehe auch Jowidgets Nutzerhandbuch