Class FrameTag
- java.lang.Object
-
- org.apache.commons.jelly.TagSupport
-
- All Implemented Interfaces:
Composite
,ConditionalTag
,IconSupport
,WindowData
,org.apache.commons.jelly.Tag
public class FrameTag extends WindowBaseTag
A tag handler class for creating (main) frame windows.
This tag can be used for creating frame windows, which are usually (but non always) top level windows. All attributes defined in the base class are supported, but no more.
- Version:
- $Id: FrameTag.java 205 2012-01-29 18:29:57Z oheger $
- Author:
- Oliver Heger
-
-
Field Summary
-
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
-
Fields inherited from interface net.sf.jguiraffe.gui.builder.window.WindowData
UNDEFINED
-
-
Constructor Summary
Constructors Constructor Description FrameTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Window
createWindow(WindowManager manager, WindowBuilderData data)
Creates the frame window.protected Window
initWindow(WindowManager manager, WindowBuilderData data, Window wnd)
Initializes the frame window.-
Methods inherited from class net.sf.jguiraffe.gui.builder.window.tags.WindowBaseTag
createContainer, fetchMenuBar, getComponentBuilderData, getController, getHeight, getIcon, getMenuBar, getTitle, getWidth, getWindow, getXPos, getYPos, insertComponent, isAutoClose, isCenter, isClosable, isCloseOnEsc, isIconifiable, isMaximizable, isResizable, process, setAutoClose, setCenter, setClosable, setCloseOnEsc, setController, setHeight, setIcon, setIconifiable, setMaximizable, setMenu, setResgrp, setResizable, setTitle, setTitleres, setWidth, setXpos, setYpos
-
Methods inherited from class net.sf.jguiraffe.gui.builder.components.tags.ContainerTag
addComponent, addComponents, createComponent, getComposite, getContainer, getLayout, processBeforeBody, setComposite, setLayout
-
Methods inherited from class net.sf.jguiraffe.gui.builder.components.tags.SimpleComponentTag
getComponent
-
Methods inherited from class net.sf.jguiraffe.gui.builder.components.tags.ComponentBaseTag
getBackColor, getBackgroundColor, getConstraints, getFont, getFontRef, getForeColor, getForegroundColor, getName, getToolTipData, setBackColor, setConstraints, setFont, setFontRef, setForeColor, setName, setTooltip, setTooltipres, setTooltipresgrp
-
Methods inherited from class net.sf.jguiraffe.gui.builder.components.tags.FormBaseTag
canProcess, canProcess, convertToClass, convertToNumberWithUnit, convertToNumberWithUnit, doTag, findContainer, getBuilderData, getBuilderData, getIfName, getResourceText, getResourceText, getUnlessName, setIfName, setUnlessName
-
Methods inherited from class org.apache.commons.jelly.TagSupport
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody
-
-
-
-
Method Detail
-
createWindow
protected Window createWindow(WindowManager manager, WindowBuilderData data) throws WindowBuilderException
Creates the frame window.- Specified by:
createWindow
in classWindowBaseTag
- Parameters:
manager
- the window managerdata
- the window builder data- Returns:
- the newly created window object
- Throws:
WindowBuilderException
- if an error occurs
-
initWindow
protected Window initWindow(WindowManager manager, WindowBuilderData data, Window wnd) throws WindowBuilderException
Initializes the frame window.- Specified by:
initWindow
in classWindowBaseTag
- Parameters:
manager
- the window managerdata
- the window builder datawnd
- the previously created window- Returns:
- the window object
- Throws:
WindowBuilderException
- if an error occurs
-
-