public class FrameWrapper extends ContainerWrapper implements IFrame
| Constructor and Description | 
|---|
FrameWrapper(IFrame original)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addWindowListener(IWindowListener listener)
Adds a window listener 
 | 
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 
 | 
IMenuBar | 
createMenuBar()
Creates a new menu bar or returns a earlier created menu bar. 
 | 
java.util.List<IDisplay> | 
getChildWindows()
Gets the child windows of this window as a unmodifiable copy 
 | 
IMenuBarModel | 
getMenuBarModel()
Gets the menu bar model of this frame. 
 | 
IWindow | 
getParent()
Gets the parent of the widget 
 | 
Rectangle | 
getParentBounds()
Gets the parent bounds of this window. 
 | 
boolean | 
isIconfied()  | 
boolean | 
isMaximized()  | 
void | 
pack()
Resizes the window to its preferred size and layouts its underlying container 
 | 
void | 
removeWindowListener(IWindowListener listener)
Removes a window listener 
 | 
void | 
setDefaultButton(IButton button)  | 
void | 
setIconfied(boolean iconfied)  | 
void | 
setMaximized(boolean maximized)  | 
void | 
setMaxPackSize(Dimension size)
Sets the max pack size of the window. 
 | 
void | 
setMenuBar(IMenuBarModel model)
Sets the menu bar for this frame. 
 | 
void | 
setMinPackSize(Dimension size)
Sets the min pack size of the window. 
 | 
void | 
setMinSize(Dimension minSize)  | 
void | 
setMinSize(int width,
          int height)  | 
void | 
setParent(IWindow parent)
Sets the parent window. 
 | 
void | 
setTitle(java.lang.String title)  | 
add, add, add, add, add, add, add, add, addComponentListenerRecursive, addContainerListener, addContainerRegistry, addFocusListenerRecursive, addKeyListenerRecursive, addMouseListenerRecursive, addPopupDetectionListenerRecursive, computeDecoratedSize, getChildren, getClientArea, getWidget, layout, layoutBegin, layoutEnd, layoutLater, remove, removeAll, removeComponentListenerRecursive, removeContainerListener, removeContainerRegistry, removeFocusListenerRecursive, removeKeyListenerRecursive, removeMouseListenerRecursive, removePopupDetectionListenerRecursive, setLayout, setLayout, setTabOrder, setTabOrderaddComponentListener, addFocusListener, addKeyListener, addMouseListener, addMouseMotionListener, addPopupDetectionListener, addShowingStateListener, createPopupMenu, fromComponent, getBackgroundColor, getBounds, getForegroundColor, getPosition, getSize, hasFocus, isReparentable, isShowing, isVisible, redraw, removeComponentListener, removeFocusListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePopupDetectionListener, removeShowingStateListener, requestFocus, setBackgroundColor, setBounds, setCursor, setForegroundColor, setPopupMenu, setPosition, setPosition, setRedrawEnabled, setSize, setSize, setVisible, toComponent, toLocal, toScreenaddDisposeListener, dispose, getRoot, getUiReference, isDisposed, isEnabled, removeDisposeListener, setEnabledclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, add, add, add, add, add, add, add, addContainerRegistry, getChildren, layout, layoutLater, remove, removeContainerRegistry, setLayout, setTabOrder, setTabOrdercreatePopupMenu, fromComponent, getBounds, hasFocus, isReparentable, isShowing, setBounds, setPopupMenu, setPosition, setSize, toComponent, toLocal, toScreendispose, getRoot, isDisposedaddDisposeListener, removeDisposeListeneraddShowingStateListener, removeShowingStateListeneraddContainerListener, removeContainerListeneraddComponentListenerRecursive, addFocusListenerRecursive, addKeyListenerRecursive, addMouseListenerRecursive, addPopupDetectionListenerRecursive, removeComponentListenerRecursive, removeFocusListenerRecursive, removeKeyListenerRecursive, removeMouseListenerRecursive, removePopupDetectionListenerRecursivedisposecomputeDecoratedSize, getClientArea, layoutBegin, layoutEnd, removeAll, setLayoutgetBackgroundColor, getForegroundColor, getPosition, getSize, isVisible, redraw, requestFocus, setBackgroundColor, setCursor, setForegroundColor, setPosition, setRedrawEnabled, setSize, setVisiblegetUiReference, isEnabled, setEnabledaddComponentListener, removeComponentListeneraddFocusListener, removeFocusListeneraddKeyListener, removeKeyListeneraddMouseListener, removeMouseListeneraddMouseMotionListener, removeMouseMotionListeneraddPopupDetectionListener, removePopupDetectionListenerpublic FrameWrapper(IFrame original)
public void addWindowListener(IWindowListener listener)
IWindowObservableaddWindowListener in interface IWindowObservablelistener - The listener to addpublic void setParent(IWindow parent)
IDisplaypublic void setMinSize(Dimension minSize)
setMinSize in interface IFrameCommonpublic IMenuBar createMenuBar()
IFramecreateMenuBar in interface IFramepublic void setTitle(java.lang.String title)
setTitle in interface IFrameCommonpublic void removeWindowListener(IWindowListener listener)
IWindowObservableremoveWindowListener in interface IWindowObservablelistener - The listener to removepublic void setMaximized(boolean maximized)
setMaximized in interface IFrameCommonpublic Rectangle getParentBounds()
IWindowCommongetParentBounds in interface IWindowCommonpublic boolean isMaximized()
isMaximized in interface IFrameCommonpublic void centerLocation()
IWindowcenterLocation in interface IWindowIWindowCommon.getParentBounds()public void setIconfied(boolean iconfied)
setIconfied in interface IFrameCommonpublic boolean isIconfied()
isIconfied in interface IFrameCommonpublic IMenuBarModel getMenuBarModel()
IFramegetMenuBarModel in interface IFramepublic <WIDGET_TYPE extends IDisplay,DESCRIPTOR_TYPE extends IWidgetDescriptor<WIDGET_TYPE>> WIDGET_TYPE createChildWindow(DESCRIPTOR_TYPE descriptor)
IWindowcreateChildWindow in interface IWindowWIDGET_TYPE - The type of the created child windowDESCRIPTOR_TYPE - The type of the child windows descriptordescriptor - The child windows descriptorpublic IWindow getParent()
IWidgetpublic void pack()
IWindowCommonpack in interface IWindowCommonpublic void setMenuBar(IMenuBarModel model)
IFramesetMenuBar in interface IFramemodel - The model of the menu bar to add, must not be null;public java.util.List<IDisplay> getChildWindows()
IWindowgetChildWindows in interface IWindowpublic void setDefaultButton(IButton button)
setDefaultButton in interface IFramepublic void setMinSize(int width,
              int height)
setMinSize in interface IFramepublic void setMinPackSize(Dimension size)
IWindowsetMinPackSize in interface IWindowsize - The min pack size to setIWindowCommon.pack()public void setMaxPackSize(Dimension size)
IWindowsetMaxPackSize in interface IWindowsize - The max pack size to setIWindowCommon.pack()Siehe auch Jowidgets Nutzerhandbuch