Class ColumnRendererTag
- 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.components.tags.table.ColumnComponentTag
-
- net.sf.jguiraffe.gui.builder.components.tags.table.ColumnRendererTag
-
- All Implemented Interfaces:
Composite
,ConditionalTag
,org.apache.commons.jelly.Tag
public class ColumnRendererTag extends ColumnComponentTag
A tag for defining the renderer of a column within a table.
In the body of this tag a single component (which can also be a container with an arbitrary number of children) can be specified that will be used for rendering the column this tag belongs to. No other specific attributes are supported.
A more detailed description can be found in the class comments of the super class and the
TableTag
and theColumnTag
.- Version:
- $Id: ColumnRendererTag.java 205 2012-01-29 18:29:57Z oheger $
- Author:
- Oliver Heger
- See Also:
TableTag
,TableColumnTag
-
-
Constructor Summary
Constructors Constructor Description ColumnRendererTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Form
getTableForm(TableTag tabTag)
Returns the form affected by this tag from the specified table tag.protected void
initializeColumn(TableColumnTag colTag, Object bodyComponent, Set<String> componentNames)
Initializes the passed in column tag with the results produced by this tag.-
Methods inherited from class net.sf.jguiraffe.gui.builder.components.tags.table.ColumnComponentTag
addComponents, createContainer, getTableTag, processBeforeBody
-
Methods inherited from class net.sf.jguiraffe.gui.builder.components.tags.ContainerTag
addComponent, createComponent, getComposite, getContainer, getLayout, setComposite, setLayout
-
Methods inherited from class net.sf.jguiraffe.gui.builder.components.tags.SimpleComponentTag
getComponent, process
-
Methods inherited from class net.sf.jguiraffe.gui.builder.components.tags.ComponentBaseTag
getBackColor, getBackgroundColor, getConstraints, getFont, getFontRef, getForeColor, getForegroundColor, getName, getToolTipData, insertComponent, 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
-
getTableForm
protected Form getTableForm(TableTag tabTag)
Returns the form affected by this tag from the specified table tag. This implementation will return the render form.- Specified by:
getTableForm
in classColumnComponentTag
- Parameters:
tabTag
- the table tag- Returns:
- the form used by this tag
-
initializeColumn
protected void initializeColumn(TableColumnTag colTag, Object bodyComponent, Set<String> componentNames)
Initializes the passed in column tag with the results produced by this tag. This implementation sets the renderer component and the set with the names of the components used by the renderer form for this column.- Specified by:
initializeColumn
in classColumnComponentTag
- Parameters:
colTag
- the parent column tagbodyComponent
- the component defined in the body of this tagcomponentNames
- a set with the names of the involved components
-
-