|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.rad.genui.UIResource<C>
javax.rad.genui.UIComponent<C>
javax.rad.genui.UIContainer<C>
javax.rad.genui.container.AbstractWindow<C>
javax.rad.genui.container.AbstractFrame<IInternalFrame>
javax.rad.genui.container.UIInternalFrame
public class UIInternalFrame
Platform and technology independent InternalFrame. It is designed for use with AWT, Swing, SWT, JSP, JSF,... .
| Field Summary |
|---|
| Fields inherited from class javax.rad.genui.container.AbstractFrame |
|---|
iconImage, menuBar |
| Fields inherited from class javax.rad.genui.UIContainer |
|---|
components |
| Fields inherited from class javax.rad.genui.UIComponent |
|---|
logger, parent |
| Fields inherited from class javax.rad.genui.UIResource |
|---|
uiResource |
| Fields inherited from interface javax.rad.ui.container.IFrame |
|---|
ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, NORMAL |
| Fields inherited from interface javax.rad.ui.container.IToolBarPanel |
|---|
AREA_BOTTOM, AREA_LEFT, AREA_RIGHT, AREA_TOP |
| Constructor Summary | |
|---|---|
UIInternalFrame(IDesktopPanel pDesktopPanel)
Creates a new instance of UIInternalFrame. |
|
| Method Summary | |
|---|---|
void |
close()
Closes this internal frame. |
void |
dispose()
Releases all of the native screen resources used by this IWindow, its subcomponents, and all of its owned
children. That is, the resources for these IComponents
will be destroyed, any memory they consume will be returned to the
OS, and they will be marked as undisplayable.
The Note: When the last displayable window within the Java virtual machine (VM) is disposed of, the VM may terminate. |
boolean |
isClosable()
Returns whether this internal frame can be closed by some user action. |
boolean |
isClosed()
Returns whether this IInternalFrame is currently closed. |
boolean |
isIconifiable()
Returns whether this internal frame can be iconified by some user action. |
boolean |
isMaximizable()
Returns whether this internal frame can be maximized by some user action. |
boolean |
isModal()
Returns the modal option of the internal frame. |
void |
setClosable(boolean pClosable)
Sets whether this internal frame can be closed by some user action. |
void |
setIconifiable(boolean pIconifiable)
Sets whether this internal frame can be iconified by some user action. |
void |
setMaximizable(boolean pMaximizable)
Sets whether this internal frame can be maximized by some user action. |
void |
setModal(boolean pModal)
Sets the frame as modal frame. |
protected void |
topLevelAddNotify()
Top level window or frame has to start addNotify, if not notified. |
| Methods inherited from class javax.rad.genui.container.AbstractFrame |
|---|
addNotify, addToolBar, addToolBar, getIconImage, getMenuBar, getState, getTitle, getToolBar, getToolBarArea, getToolBarCount, indexOfToolBar, isResizable, removeAllToolBars, removeNotify, removeToolBar, removeToolBar, setIconImage, setMenuBar, setResizable, setState, setTitle, setToolBarArea, updateTranslation |
| Methods inherited from class javax.rad.genui.container.AbstractWindow |
|---|
eventWindowActivated, eventWindowClosed, eventWindowClosing, eventWindowDeactivated, eventWindowDeiconified, eventWindowIconified, eventWindowOpened, isActive, isDisposed, pack, setLocationRelativeTo, setVisible, toBack, toFront |
| Methods inherited from class javax.rad.genui.UIContainer |
|---|
add, add, add, add, checkAdd, getComponent, getComponentCount, getLayout, indexOf, remove, remove, removeAll, setLayout |
| Methods inherited from class javax.rad.genui.UIResource |
|---|
equals, getUIResource, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.rad.ui.container.IFrame |
|---|
getIconImage, getMenuBar, getState, getTitle, isResizable, setIconImage, setMenuBar, setResizable, setState, setTitle |
| Methods inherited from interface javax.rad.ui.container.IWindow |
|---|
eventWindowActivated, eventWindowClosed, eventWindowClosing, eventWindowDeactivated, eventWindowDeiconified, eventWindowIconified, eventWindowOpened, isActive, isDisposed, pack, setLocationRelativeTo, toBack, toFront |
| Methods inherited from interface javax.rad.ui.IContainer |
|---|
add, add, add, add, getComponent, getComponentCount, getLayout, indexOf, remove, remove, removeAll, setLayout |
| Methods inherited from interface javax.rad.ui.IResource |
|---|
getResource |
| Methods inherited from interface javax.rad.ui.container.IToolBarPanel |
|---|
addToolBar, addToolBar, getToolBar, getToolBarArea, getToolBarCount, indexOfToolBar, removeAllToolBars, removeToolBar, removeToolBar, setToolBarArea |
| Methods inherited from interface javax.rad.ui.IContainer |
|---|
add, add, add, add, getComponent, getComponentCount, getLayout, indexOf, remove, remove, removeAll, setLayout |
| Methods inherited from interface javax.rad.ui.IResource |
|---|
getResource |
| Constructor Detail |
|---|
public UIInternalFrame(IDesktopPanel pDesktopPanel)
UIInternalFrame.
pDesktopPanel - the associated desktop for the internal frameIInternalFrame,
IDesktopPanel| Method Detail |
|---|
public void setMaximizable(boolean pMaximizable)
setMaximizable in interface IInternalFramepMaximizable - a boolean value, where true means
this internal frame can be maximizedpublic boolean isMaximizable()
isMaximizable in interface IInternalFrametrue if this internal frame can be maximizedpublic void setClosable(boolean pClosable)
setClosable in interface IInternalFramepClosable - a boolean value, where true means
this internal frame can be closedpublic boolean isClosable()
isClosable in interface IInternalFrametrue if this internal frame can be closedpublic void setIconifiable(boolean pIconifiable)
setIconifiable in interface IInternalFramepIconifiable - a boolean value, where true means
this internal frame can be iconifiedpublic boolean isIconifiable()
isIconifiable in interface IInternalFrametrue if this internal frame can be iconifiedpublic void close()
windowClosing event.
This method finishes by making the internal frame invisible and unselected,
and then firing an windowClosed event.
close in interface IInternalFrameIInternalFrame.isClosed(),
IWindow.dispose()public boolean isClosed()
IInternalFrame is currently closed.
isClosed in interface IInternalFrametrue if this internal frame is closed, false otherwisepublic void setModal(boolean pModal)
setModal in interface IInternalFramepModal - true to set this internal frame modal,
otherwise falsepublic boolean isModal()
isModal in interface IInternalFrametrue if the frame is modal otherwise falseprotected void topLevelAddNotify()
topLevelAddNotify in class AbstractWindow<IInternalFrame>public void dispose()
IWindow, its subcomponents, and all of its owned
children. That is, the resources for these IComponents
will be destroyed, any memory they consume will be returned to the
OS, and they will be marked as undisplayable.
The IWindow and its subcomponents can be made displayable
again by rebuilding the native resources with a subsequent call to
pack or show. The states of the recreated
Window and its subcomponents will be identical to the
states of these objects at the point where the IWindow
was disposed (not accounting for additional modifications between
those actions).
Note: When the last displayable window within the Java virtual machine (VM) is disposed of, the VM may terminate.
dispose in interface IWindowdispose in class AbstractWindow<IInternalFrame>IWindow.pack(),
IComponent.setVisible(boolean)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||