|
||||||||||
| 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
public abstract class AbstractWebFrame
Web server implementation of IFrame.
| Field Summary | |
|---|---|
protected WebMenuBar |
menuBar
the menu bar. |
| 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 | |
|---|---|
protected |
AbstractWebFrame()
Creates a new instance of AbstractWebFrame. |
| Method Summary | |
|---|---|
protected void |
addPanelIntern(WebContainer pWebContainer,
Object pConstraints)
Adds the tool bar panel. |
WebImage |
getIconImage()
Returns the image to be displayed as the icon for this frame. |
WebMenuBar |
getMenuBar()
Returns the menubar set on this frame. |
int |
getState()
Gets the state of this frame (obsolete). |
String |
getTitle()
Gets the title of the frame. |
int |
getToolBarArea()
Gets the area where the toolbar(s) are added. |
boolean |
isResizable()
Indicates whether this frame is resizable by the user. |
void |
setIconImage(IImage pIconImage)
Sets the image to be displayed as the icon for this window. |
void |
setMenuBar(IMenuBar pMenuBar)
Sets the menubar for this frame. |
void |
setResizable(boolean pResizable)
Sets whether this frame is resizable by the user. |
void |
setState(int pState)
Sets the state of this frame (obsolete). |
void |
setTitle(String pTitle)
Sets the title for this frame to the specified string. |
void |
setToolBarArea(int pToolBarArea)
Sets the display area where the toolbars will be added. |
| 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.IWindow |
|---|
dispose, 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, getToolBarCount, indexOfToolBar, removeAllToolBars, removeToolBar, removeToolBar |
| 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 |
| Field Detail |
|---|
protected WebMenuBar menuBar
| Constructor Detail |
|---|
protected AbstractWebFrame()
AbstractWebFrame.
IFrame| Method Detail |
|---|
public String getTitle()
getTitle in interface IFrameIFrame.setTitle(String)public void setTitle(String pTitle)
setTitle in interface IFramepTitle - the title to be displayed in the frame's border.
A null value is treated as an empty string, "".IFrame.getTitle()public WebImage getIconImage()
getIconImage in interface IFramenull
if this frame doesn't have an icon image.IFrame.setIconImage(IImage)public void setIconImage(IImage pIconImage)
setIconImage in interface IFramepIconImage - the icon image to be displayed.
If this parameter is null then the
icon image is set to the default image, which may vary
with platform.IFrame.getIconImage()public int getState()
In older versions of JDK a frame state could only be NORMAL or ICONIFIED. Since JDK 1.4 set of supported frame states is expanded and frame state is represented as a bitwise mask.
For compatibility with old programs this method still returns
Frame.NORMAL and Frame.ICONIFIED but
it only reports the iconic state of the frame, other aspects of
frame state are not reported by this method.
getState in interface IFrameFrame.NORMAL or Frame.ICONIFIED.IFrame.setState(int)public void setState(int pState)
In older versions of JDK a frame state could only be NORMAL or ICONIFIED. Since JDK 1.4 set of supported frame states is expanded and frame state is represented as a bitwise mask.
For compatibility with old programs this method still accepts
Frame.NORMAL and Frame.ICONIFIED but
it only changes the iconic state of the frame, other aspects of
frame state are not affected by this method.
setState in interface IFramepState - either Frame.NORMAL or
Frame.ICONIFIED.IFrame.getState(),
IFrame.setState(int)public boolean isResizable()
isResizable in interface IFrametrue if the user can resize this frame;
false otherwise.IFrame.setResizable(boolean)public void setResizable(boolean pResizable)
setResizable in interface IFramepResizable - true if this frame is resizable;
false otherwise.IFrame.isResizable()public int getToolBarArea()
getToolBarArea in interface IToolBarPanelgetToolBarArea in class WebToolBarPanelIToolBarPanel.AREA_TOP, IToolBarPanel.AREA_LEFT,
IToolBarPanel.AREA_BOTTOM, IToolBarPanel.AREA_RIGHTpublic void setToolBarArea(int pToolBarArea)
setToolBarArea in interface IToolBarPanelsetToolBarArea in class WebToolBarPanelpToolBarArea - an area constant IToolBarPanel.AREA_TOP, IToolBarPanel.AREA_LEFT,
IToolBarPanel.AREA_BOTTOM, IToolBarPanel.AREA_RIGHTpublic WebMenuBar getMenuBar()
getMenuBar in interface IFrameIFrame.setMenuBar(javax.rad.ui.menu.IMenuBar)public void setMenuBar(IMenuBar pMenuBar)
setMenuBar in interface IFramepMenuBar - the menubar being placed in the frameIFrame.getMenuBar()
protected void addPanelIntern(WebContainer pWebContainer,
Object pConstraints)
addPanelIntern in class WebToolBarPanelpWebContainer - the tool bar panel.pConstraints - the constraints.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||