|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.millstone.base.ui.AbstractComponent
|
+--org.millstone.base.ui.AbstractComponentContainer
|
+--org.millstone.base.ui.Panel
|
+--org.millstone.base.ui.Window
|
+--org.millstone.base.ui.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 inherited from class org.millstone.base.ui.ComponentContainer |
ComponentContainer.ComponentAttachEvent, ComponentContainer.ComponentAttachListener, ComponentContainer.ComponentDetachEvent, ComponentContainer.ComponentDetachListener |
| Nested classes inherited from class org.millstone.base.ui.Component |
Component.Event, Component.Listener |
| Nested classes inherited from class org.millstone.base.terminal.Paintable |
Paintable.RepaintRequestEvent, Paintable.RepaintRequestListener |
| Field Summary |
| Fields inherited from class org.millstone.base.ui.Window |
BORDER_DEFAULT, BORDER_MINIMAL, BORDER_NONE |
| Fields inherited from interface org.millstone.base.terminal.Sizeable |
UNIT_SYMBOLS, UNITS_CM, UNITS_EM, UNITS_EX, UNITS_INCH, UNITS_MM, UNITS_PERCENTAGE, UNITS_PICAS, UNITS_PIXELS, UNITS_POINTS |
| Constructor Summary | |
FrameWindow(java.lang.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. |
java.lang.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)
Frame windows does not support scrolling. |
void |
setScrollOffsetX(int pixelsScrolledLeft)
Frame windows does not support scrolling. |
void |
setScrollOffsetY(int pixelsScrolledDown)
Frame windows does not support scrolling. |
| Methods inherited from class org.millstone.base.ui.Window |
addParameterHandler, addURIHandler, getApplication, getBorder, getName, getParent, getTerminal, getTheme, getURL, getWindow, handleParameters, handleURI, open, open, open, removeParameterHandler, removeURIHandler, setBorder, setHeightUnits, setName, setParent, setTerminal, setTheme, setWidthUnits |
| Methods inherited from class org.millstone.base.ui.Panel |
changeVariables, componentAttachedToContainer, componentDetachedFromContainer, getComponentIterator, getHeight, getHeightUnits, getLayout, getScrollOffsetX, getScrollOffsetY, getWidth, getWidthUnits, removeComponent, replaceComponent, setHeight, setLayout, setWidth |
| Methods inherited from class org.millstone.base.ui.AbstractComponentContainer |
addListener, addListener, attach, detach, fireComponentAttachEvent, fireComponentDetachEvent, moveComponentsFrom, removeAllComponents, removeListener, removeListener |
| Methods inherited from class org.millstone.base.ui.AbstractComponent |
addListener, addListener, addListener, addListener, childRequestedRepaint, dependsOn, fireComponentEvent, fireEvent, getCaption, getComponentError, getDescription, getDirectDependencies, getErrorMessage, getIcon, getLocale, getStyle, isEnabled, isImmediate, isReadOnly, isVisible, paint, removeDirectDependency, removeListener, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintRequests, setCaption, setComponentError, setDescription, setEnabled, setIcon, setImmediate, setLocale, setReadOnly, setStyle, setVisible |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.millstone.base.ui.Component |
addListener, childRequestedRepaint, getCaption, getIcon, getLocale, getStyle, isEnabled, isImmediate, isReadOnly, isVisible, removeListener, setEnabled, setReadOnly, setStyle, setVisible |
| Methods inherited from interface org.millstone.base.terminal.Paintable |
addListener, paint, removeListener, requestRepaint, requestRepaintRequests |
| Methods inherited from interface org.millstone.base.terminal.VariableOwner |
dependsOn, getDirectDependencies, removeDirectDependency |
| Constructor Detail |
public FrameWindow(java.lang.String caption)
Constructs a new frame window.
caption - title of the window| Method Detail |
public java.lang.String getTag()
getTag in class WindowStringpublic FrameWindow.Frameset getFrameset()
public void paintContent(PaintTarget target)
throws PaintException
paintContent in class Windowtarget - A paint target event
PaintException - if the paint operation failsAbstractComponent.paintContent(PaintTarget)public void setApplication(Application application)
setApplication in class Windowapplication - The application to setWindow.setApplication(Application)public boolean isScrollable()
isScrollable in interface ScrollableisScrollable in class Panelpublic void setScrollable(boolean isScrollingEnabled)
setScrollable in interface ScrollablesetScrollable in class PanelisScrollingEnabled - True iff the scrolling is allowed.Scrollable.setScrollable(boolean)public void setScrollOffsetX(int pixelsScrolledLeft)
setScrollOffsetX in interface ScrollablesetScrollOffsetX in class PanelScrollable.setScrollOffsetX(int)public void setScrollOffsetY(int pixelsScrolledDown)
setScrollOffsetY in interface ScrollablesetScrollOffsetY in class PanelScrollable.setScrollOffsetY(int)
public void addComponent(Component c)
throws java.lang.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.
java.lang.UnsupportedOperationException - if invoked.ComponentContainer.addComponent(Component)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||