|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.ui.web.impl.WebResource
com.sibvisions.rad.ui.web.impl.WebComponent
com.sibvisions.rad.ui.web.impl.WebContainer
com.sibvisions.rad.ui.web.impl.container.WebToolBarPanel
com.sibvisions.rad.ui.web.impl.container.AbstractWebWindow
com.sibvisions.rad.ui.web.impl.container.AbstractWebFrame
com.sibvisions.rad.ui.web.impl.container.WebInternalFrame
public class WebInternalFrame
Web server implementation of IInternalFrame.
| Field Summary |
|---|
| Fields inherited from class com.sibvisions.rad.ui.web.impl.container.AbstractWebFrame |
|---|
menuBar |
| Fields inherited from class com.sibvisions.rad.ui.web.impl.container.WebToolBarPanel |
|---|
toolBarPanel |
| Fields inherited from class com.sibvisions.rad.ui.web.impl.WebContainer |
|---|
components |
| Fields inherited from class com.sibvisions.rad.ui.web.impl.WebComponent |
|---|
componentId |
| 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 |
| Fields inherited from interface javax.rad.ui.IAlignmentConstants |
|---|
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP |
| Constructor Summary | |
|---|---|
WebInternalFrame(IDesktopPanel pDesktopPanel)
Creates a new instance of WebInternalFrame. |
|
| 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. |
boolean |
isActive()
Returns whether this IWindow is active. |
boolean |
isClosable()
Returns whether this internal frame can be closed by some user action. |
boolean |
isClosed()
Returns whether this IInternalFrame is currently closed. |
boolean |
isDisposed()
Checks whether the window is disposed already. |
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. |
boolean |
isVisible()
Determines whether this component should be visible when its parent is visible. Components are initially visible, with the exception of top level components such as Frame objects. |
void |
pack()
Causes this IWindow to be sized to fit the preferred size and layouts of its subcomponents. |
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. |
void |
setVisible(boolean pVisible)
Shows or hides this component depending on the value of parameter b. |
void |
toBack()
If this IWindow is visible, sends this IWindow to the back and may cause it to lose focus or activation if it is the focused or active Window. |
void |
toFront()
If this IWindow is visible, brings this IWindow to the front and may make it the focused Window. |
| Methods inherited from class com.sibvisions.rad.ui.web.impl.container.AbstractWebFrame |
|---|
addPanelIntern, getIconImage, getMenuBar, getState, getTitle, getToolBarArea, isResizable, setIconImage, setMenuBar, setResizable, setState, setTitle, setToolBarArea |
| Methods inherited from class com.sibvisions.rad.ui.web.impl.container.AbstractWebWindow |
|---|
eventWindowActivated, eventWindowClosed, eventWindowClosing, eventWindowDeactivated, eventWindowDeiconified, eventWindowIconified, eventWindowOpened, setLocationRelativeTo |
| Methods inherited from class com.sibvisions.rad.ui.web.impl.container.WebToolBarPanel |
|---|
add, addToolBar, addToolBar, getToolBar, getToolBarCount, indexOfToolBar, remove, removeAllToolBars, removePanelIntern, removeToolBar, removeToolBar, setLayout |
| Methods inherited from class com.sibvisions.rad.ui.web.impl.WebContainer |
|---|
add, add, add, getComponent, getComponentCount, getLayout, indexOf, remove, removeAll |
| Methods inherited from class com.sibvisions.rad.ui.web.impl.WebResource |
|---|
getNullableAsString, getResource, setAsString, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, 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, setLocationRelativeTo |
| 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 WebInternalFrame(IDesktopPanel pDesktopPanel)
WebInternalFrame.
pDesktopPanel - the associated desktop for the internal frameIInternalFrame,
IDesktopPanel| Method Detail |
|---|
public boolean isMaximizable()
isMaximizable in interface IInternalFrametrue if this internal frame can be maximizedpublic void setMaximizable(boolean pMaximizable)
setMaximizable in interface IInternalFramepMaximizable - a boolean value, where true means
this internal frame can be maximizedpublic boolean isClosable()
isClosable in interface IInternalFrametrue if this internal frame can be closedpublic void setClosable(boolean pClosable)
setClosable in interface IInternalFramepClosable - a boolean value, where true means
this internal frame can be closedpublic boolean isIconifiable()
isIconifiable in interface IInternalFrametrue if this internal frame can be iconifiedpublic void setIconifiable(boolean pIconifiable)
setIconifiable in interface IInternalFramepIconifiable - a boolean value, where true means
this internal frame can be iconifiedpublic boolean isModal()
isModal in interface IInternalFrametrue if the frame is modal otherwise falsepublic void setModal(boolean pModal)
setModal in interface IInternalFramepModal - true to set this internal frame modal,
otherwise falsepublic boolean isVisible()
Frame objects.
isVisible in interface IComponentisVisible in class WebComponenttrue if the component is visible,
false otherwiseIComponent.setVisible(boolean)public void setVisible(boolean pVisible)
b.
setVisible in interface IComponentsetVisible in class WebComponentpVisible - if true, shows this component; otherwise,
hides this componentIComponent.isVisible()public boolean isClosed()
IInternalFrame is currently closed.
isClosed in interface IInternalFrametrue if this internal frame is closed, false otherwisepublic 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 void pack()
pack in interface IWindowpublic 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).
dispose in interface IWindowIWindow.pack(),
IComponent.setVisible(boolean)public boolean isDisposed()
isDisposed in interface IWindowtrue if the window is disposed, otherwiese falsepublic boolean isActive()
isActive in interface IWindowpublic void toFront()
Places this IWindow at the top of the stacking order and shows it in front of any other Windows in this VM. No action will take place if this Window is not visible. Some platforms do not allow Windows which own other Windows to appear on top of those owned Windows. Some platforms may not permit this VM to place its Windows above windows of native applications, or Windows of other VMs. This permission may depend on whether a Window in this VM is already focused. Every attempt will be made to move this Window as high as possible in the stacking order; however, developers should not assume that this method will move this Window above all other windows in every situation.
Because of variations in native windowing systems, no guarantees about changes to the focused and active Windows can be made. Developers must never assume that this Window is the focused or active Window until this Window receives a WINDOW_GAINED_FOCUS or WINDOW_ACTIVATED event. On platforms where the top-most window is the focused window, this method will probably focus this Window, if it is not already focused. On platforms where the stacking order does not typically affect the focused window, this method will probably leave the focused and active Windows unchanged.
If this method causes this Window to be focused, and this Window is a Frame or a Dialog, it will also become activated. If this Window is focused, but it is not a Frame or a Dialog, then the first Frame or Dialog that is an owner of this Window will be activated.
If this window is blocked by modal dialog, then the blocking dialog is brought to the front and remains above the blocked window.
toFront in interface IWindowIWindow.toBack()public void toBack()
Places this IWindow at the bottom of the stacking order and shows it behind any other Windows in this VM. No action will take place is this Window is not visible. Some platforms do not allow Windows which are owned by other Windows to appear below their owners. Every attempt will be made to move this Window as low as possible in the stacking order; however, developers should not assume that this method will move this Window below all other windows in every situation.
Because of variations in native windowing systems, no guarantees about changes to the focused and active Windows can be made. Developers must never assume that this Window is no longer the focused or active Window until this Window receives a WINDOW_LOST_FOCUS or WINDOW_DEACTIVATED event. On platforms where the top-most window is the focused window, this method will probably cause this Window to lose focus. In that case, the next highest, focusable Window in this VM will receive focus. On platforms where the stacking order does not typically affect the focused window, this method will probably leave the focused and active Windows unchanged.
toBack in interface IWindowIWindow.toFront()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||