Class PercentColConstraintsTag
- java.lang.Object
-
- org.apache.commons.jelly.TagSupport
-
- net.sf.jguiraffe.gui.builder.components.tags.FormBaseTag
-
- net.sf.jguiraffe.gui.builder.components.tags.PercentCellConstraintsTag
-
- net.sf.jguiraffe.gui.builder.components.tags.PercentColConstraintsTag
-
- All Implemented Interfaces:
ConditionalTag
,org.apache.commons.jelly.Tag
public class PercentColConstraintsTag extends PercentCellConstraintsTag
A concrete cell constraints tag implementation.
This tag adds column constraints to a percent layout.
- Version:
- $Id: PercentColConstraintsTag.java 205 2012-01-29 18:29:57Z oheger $
- Author:
- Oliver Heger
-
-
Constructor Summary
Constructors Constructor Description PercentColConstraintsTag()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addConstraints(PercentLayoutTag parent, CellConstraints c)
Adds the new constraints to the percent layout tag.protected CellConstraints
createConstraints()
Creates the constraints object.protected static CellConstraints.Builder
getColumnConstraintsBuilder(org.apache.commons.jelly.JellyContext context)
Returns the shared builder for column constraints from the given Jelly context.-
Methods inherited from class net.sf.jguiraffe.gui.builder.components.tags.PercentCellConstraintsTag
getConstr, getConstraintsBuilder, process, setConstr
-
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, processBeforeBody, 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
-
createConstraints
protected CellConstraints createConstraints()
Creates the constraints object. This implementation creates a constraints object for columns.- Specified by:
createConstraints
in classPercentCellConstraintsTag
- Returns:
- the constraints
-
addConstraints
protected void addConstraints(PercentLayoutTag parent, CellConstraints c)
Adds the new constraints to the percent layout tag.- Specified by:
addConstraints
in classPercentCellConstraintsTag
- Parameters:
parent
- the percent layout tagc
- the constraints
-
getColumnConstraintsBuilder
protected static CellConstraints.Builder getColumnConstraintsBuilder(org.apache.commons.jelly.JellyContext context)
Returns the shared builder for column constraints from the given Jelly context.- Parameters:
context
- the Jelly context- Returns:
- the builder for
CellConstraints
for columns - See Also:
PercentCellConstraintsTag.getConstraintsBuilder(JellyContext, String, CellAlignment)
-
-