|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.itmill.toolkit.terminal.Identifiable
com.itmill.toolkit.ui.AbstractComponent
com.itmill.toolkit.ui.AbstractComponentContainer
com.itmill.toolkit.ui.Panel
com.itmill.toolkit.ui.Window
com.itmill.toolkit.ui.FrameWindow
public class FrameWindow
An application frame window component. This component implements a window that contains a hierarchical set of frames. Each frame can contain a web-page, window or a set of frames that divides the space horizontally or vertically.
A FrameWindow can't contain any components directly (as it
contains only a set of frames) and thus the container interface methods do
nothing.
| Nested Class Summary | |
|---|---|
class |
FrameWindow.Frame
An individual frame that contains either a window or the contents of the url set to frame. |
class |
FrameWindow.Frameset
Vertical or horizontal set of frames. |
| Nested classes/interfaces inherited from class com.itmill.toolkit.ui.Window |
|---|
Window.CloseEvent, Window.CloseListener |
| Nested classes/interfaces inherited from interface com.itmill.toolkit.terminal.URIHandler |
|---|
URIHandler.ErrorEvent |
| Nested classes/interfaces inherited from interface com.itmill.toolkit.terminal.ParameterHandler |
|---|
ParameterHandler.ErrorEvent |
| Nested classes/interfaces inherited from interface com.itmill.toolkit.ui.ComponentContainer |
|---|
ComponentContainer.ComponentAttachEvent, ComponentContainer.ComponentAttachListener, ComponentContainer.ComponentDetachEvent, ComponentContainer.ComponentDetachListener |
| Nested classes/interfaces inherited from interface com.itmill.toolkit.ui.Component |
|---|
Component.ErrorEvent, Component.ErrorListener, Component.Event, Component.Focusable, Component.Listener |
| Nested classes/interfaces inherited from interface com.itmill.toolkit.terminal.Paintable |
|---|
Paintable.RepaintRequestEvent, Paintable.RepaintRequestListener |
| Field Summary |
|---|
| Fields inherited from class com.itmill.toolkit.ui.Window |
|---|
BORDER_DEFAULT, BORDER_MINIMAL, BORDER_NONE |
| Fields inherited from interface com.itmill.toolkit.terminal.Sizeable |
|---|
UNIT_SYMBOLS, UNITS_CM, UNITS_EM, UNITS_EX, UNITS_INCH, UNITS_MM, UNITS_PERCENTAGE, UNITS_PICAS, UNITS_PIXELS, UNITS_POINTS, UNITS_ROWS |
| Constructor Summary | |
|---|---|
FrameWindow()
Constructs a new frame window. |
|
FrameWindow(String caption)
Constructs a new frame window. |
|
| Method Summary | |
|---|---|
void |
addComponent(Component c)
Frame window does not support adding components directly. |
FrameWindow.Frameset |
getFrameset()
Gets the main frameset of the window. |
String |
getTag()
Gets the window's UIDL tag. |
boolean |
isScrollable()
Frame windows does not support scrolling. |
void |
paintContent(PaintTarget target)
Paints the window contents. |
void |
setApplication(Application application)
Setting the application for frame window also sets the application for all the frames. |
void |
setScrollable(boolean isScrollingEnabled)
Enables or disables scrolling. |
void |
setScrollOffsetX(int pixelsScrolledLeft)
Sets the scroll X offset. |
void |
setScrollOffsetY(int pixelsScrolledDown)
Gets the scroll Y offset. |
| Methods inherited from class com.itmill.toolkit.ui.Window |
|---|
addListener, addParameterHandler, addURIHandler, changeVariables, fireClose, getApplication, getBorder, getFocusableById, getFocusedComponent, getName, getNewFocusableId, getParent, getPositionX, getPositionY, getTerminal, getTheme, getURL, getWindow, handleParameters, handleURI, open, open, open, removeFocusableId, removeListener, removeParameterHandler, removeURIHandler, setBorder, setFocusedComponent, setHeightUnits, setName, setParent, setPositionX, setPositionY, setTerminal, setTheme, setWidthUnits |
| Methods inherited from class com.itmill.toolkit.ui.Panel |
|---|
attach, componentAttachedToContainer, componentDetachedFromContainer, detach, getComponentIterator, getHeight, getHeightUnits, getLayout, getScrollOffsetX, getScrollOffsetY, getWidth, getWidthUnits, removeAllComponents, removeComponent, replaceComponent, setHeight, setLayout, setWidth |
| Methods inherited from class com.itmill.toolkit.ui.AbstractComponentContainer |
|---|
addListener, addListener, fireComponentAttachEvent, fireComponentDetachEvent, moveComponentsFrom, removeListener, removeListener |
| Methods inherited from class com.itmill.toolkit.ui.AbstractComponent |
|---|
addListener, addListener, addListener, addListener, childRequestedRepaint, dependsOn, fireComponentErrorEvent, fireComponentEvent, fireEvent, getCaption, getComponentError, getData, getDescription, getDirectDependencies, getErrorMessage, getIcon, getLocale, getStyle, isEnabled, isImmediate, isReadOnly, isVisible, paint, removeDirectDependency, removeListener, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintRequests, setCaption, setComponentError, setData, setDescription, setEnabled, setIcon, setImmediate, setLocale, setReadOnly, setStyle, setVisible |
| Methods inherited from class com.itmill.toolkit.terminal.Identifiable |
|---|
getDebugId, getUIID, setDebugId, setUIID |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.itmill.toolkit.ui.Component |
|---|
addListener, childRequestedRepaint, getCaption, getIcon, getLocale, getStyle, isEnabled, isReadOnly, isVisible, removeListener, setEnabled, setReadOnly, setStyle, setVisible |
| Methods inherited from interface com.itmill.toolkit.terminal.Paintable |
|---|
addListener, paint, removeListener, requestRepaint, requestRepaintRequests |
| Methods inherited from interface com.itmill.toolkit.terminal.VariableOwner |
|---|
dependsOn, getDirectDependencies, isImmediate, removeDirectDependency |
| Constructor Detail |
|---|
public FrameWindow()
public FrameWindow(String caption)
caption - th etitle of the window.| Method Detail |
|---|
public String getTag()
getTag in class WindowString.public FrameWindow.Frameset getFrameset()
public void paintContent(PaintTarget target)
throws PaintException
paintContent in class Windowtarget - the paint target event.
PaintException - if the paint operation fails.AbstractComponent.paintContent(PaintTarget)public void setApplication(Application application)
setApplication in class Windowapplication - the application to set.Window.setApplication(Application)public boolean isScrollable()
isScrollable in interface ScrollableisScrollable in class Paneltrue if it is scrollable,otherwise
false.public void setScrollable(boolean isScrollingEnabled)
setScrollable in interface ScrollablesetScrollable in class PanelisScrollingEnabled - true if the scrolling is allowed.Scrollable.setScrollable(boolean)public void setScrollOffsetX(int pixelsScrolledLeft)
setScrollOffsetX in interface ScrollablesetScrollOffsetX in class PanelpixelsScrolledLeft - the xOffset.Scrollable.setScrollOffsetX(int)public void setScrollOffsetY(int pixelsScrolledDown)
setScrollOffsetY in interface ScrollablesetScrollOffsetY in class PanelpixelsScrolledDown - the yOffset.Scrollable.setScrollOffsetY(int)
public void addComponent(Component c)
throws UnsupportedOperationException
To add component to frame window, normal window must be first created and then attached to frame window as a frame.
addComponent in interface ComponentContaineraddComponent in class Panelc - the component to be added.
UnsupportedOperationExceptionComponentContainer.addComponent(Component)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||