Class InternalFrameTag
- java.lang.Object
-
- org.apache.commons.jelly.TagSupport
-
- net.sf.jguiraffe.gui.builder.components.tags.FormBaseTag
-
- net.sf.jguiraffe.gui.builder.components.tags.ComponentBaseTag
-
- net.sf.jguiraffe.gui.builder.components.tags.SimpleComponentTag
-
- net.sf.jguiraffe.gui.builder.components.tags.ContainerTag
-
- net.sf.jguiraffe.gui.builder.window.tags.WindowBaseTag
-
- net.sf.jguiraffe.gui.builder.window.tags.InternalFrameTag
-
- All Implemented Interfaces:
Composite
,ConditionalTag
,IconSupport
,WindowData
,org.apache.commons.jelly.Tag
public class InternalFrameTag extends WindowBaseTag
A tag handler class for creating internal frames.
Internal frames are windows that behave similar to frame windows, but are restricted to the client area of their parent window. They can be used to implement non modal windows in an application.
This tag handler class supports exactly the same attributes as its base class.
- Version:
- $Id: InternalFrameTag.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 InternalFrameTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Window
createWindow(WindowManager manager, WindowBuilderData data)
Creates the internal frame window using the passed in window manager.protected Window
initWindow(WindowManager manager, WindowBuilderData data, Window wnd)
Initializes an internal 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 internal frame window using the passed in window manager.- Specified by:
createWindow
in classWindowBaseTag
- Parameters:
manager
- the window managerdata
- the window builder data- Returns:
- the new window
- Throws:
WindowBuilderException
- if an error occurs
-
initWindow
protected Window initWindow(WindowManager manager, WindowBuilderData data, Window wnd) throws WindowBuilderException
Initializes an internal frame window.- Specified by:
initWindow
in classWindowBaseTag
- Parameters:
manager
- the window managerdata
- the window builder datawnd
- the window to initialize- Returns:
- the fully initialized window
- Throws:
WindowBuilderException
- if an error occurs
-
-