|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jett.tag.BaseTag
net.sf.jett.tag.GroupTag
public class GroupTag
A GroupTag represents a set of rows or a set of columns that
needs an Excel "group" associated with it. Optionally, it may be displayed
expanded (default) or collapsed.
BaseTag.Stringboolean
| Field Summary | |
|---|---|
static java.lang.String |
ATTR_COLLAPSE
Attribute for specifying whether the group should be displayed collapsed. |
static java.lang.String |
ATTR_GROUP_DIR
Attribute for specifying the direction of the grouping. |
static java.lang.String |
GROUP_DIR_COLS
The "group dir" value to specify that columns should be grouped. |
static java.lang.String |
GROUP_DIR_NONE
The "group dir" value to specify that neither rows nor columns should be grouped. |
static java.lang.String |
GROUP_DIR_ROWS
The "group dir" value to specify that rows should be grouped. |
| Fields inherited from class net.sf.jett.tag.BaseTag |
|---|
ATTR_ON_PROCESSED, SPEC_SEP |
| Constructor Summary | |
|---|---|
GroupTag()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
Returns this Tag's name. |
protected java.util.List<java.lang.String> |
getOptionalAttributes()
Returns a List of optional attribute names. |
protected java.util.List<java.lang.String> |
getRequiredAttributes()
Returns a List of required attribute names. |
boolean |
process()
Create an Excel group of rows or columns around the height or the width of the block. |
void |
validateAttributes()
Validates the attributes for this Tag. |
| Methods inherited from class net.sf.jett.tag.BaseTag |
|---|
checkAttributes, clearBlock, deleteBlock, getAttributes, getContext, getWorkbookContext, isBodiless, processTag, removeBlock, setAttributes, setBodiless, setContext, setWorkbookContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ATTR_GROUP_DIR
GROUP_DIR_ROWS,
GROUP_DIR_COLS,
GROUP_DIR_NONE,
Constant Field Valuespublic static final java.lang.String ATTR_COLLAPSE
public static final java.lang.String GROUP_DIR_COLS
public static final java.lang.String GROUP_DIR_ROWS
public static final java.lang.String GROUP_DIR_NONE
| Constructor Detail |
|---|
public GroupTag()
| Method Detail |
|---|
public java.lang.String getName()
Tag's name.
Tag's name.protected java.util.List<java.lang.String> getRequiredAttributes()
List of required attribute names.
getRequiredAttributes in class BaseTagList of required attribute names.protected java.util.List<java.lang.String> getOptionalAttributes()
List of optional attribute names.
getOptionalAttributes in class BaseTagList of optional attribute names.
public void validateAttributes()
throws TagParseException
Tag. This tag must have a
body.
validateAttributes in class BaseTagTagParseException - If the attribute values are illegal or
unacceptable.public boolean process()
Create an Excel group of rows or columns around the height or the width of the block.
process in class BaseTagCell in the Block
associated with this Tag was processed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||