PAJES 3.0.21

org.pajes.html
Class Table.ColumnGroup

java.lang.Object
  extended by org.pajes.html.Tag
      extended by org.pajes.html.TraversableElement
          extended by org.pajes.html.Container
              extended by org.pajes.html.TableContainer
                  extended by org.pajes.html.Table.ColumnGroup
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, HTML, Traversable
Enclosing class:
Table

public class Table.ColumnGroup
extends TableContainer

Inner class representing a column layout group.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.pajes.html.Tag
ON_CLICK_ATTRIBUTE, TAG_CLOSE, TAG_LEFT, TAG_RIGHT
 
Constructor Summary
Table.ColumnGroup()
          Creates a column group.
 
Method Summary
 Traversable add(HTML html)
          Adds an HTML object to the current container
 Table.ColumnGroup setAlignment(java.lang.String alignment)
          Sets the alignment of the column text.
 Table.ColumnGroup setAlignmentCharacter(char character)
          Sets the character on which to align column text.
 Table.ColumnGroup setAlignmentCharacterOffset(int offset)
          Sets the offset to the first character to align on.
 Table.ColumnGroup setAlignmentCharacterOffset(java.lang.String offset)
          Sets the offset to the first character to align on.
 Table.ColumnGroup setColumnSpan(int columnsToSpan)
          Set the number of columns that this column will span.
 Table.ColumnGroup setVerticalAlignment(java.lang.String alignment)
          Set the vertical alignment of the content in the cell.
 Table.ColumnGroup setWidth(int width)
          Sets the width.
 Table.ColumnGroup setWidth(java.lang.String width)
          Sets the width.
 
Methods inherited from class org.pajes.html.TableContainer
getTable, setAlignmentCenter, setAlignmentLeft, setAlignmentRight, setBGColor, setHeight, setHeight, setVerticalAlignmentBottom, setVerticalAlignmentMiddle, setVerticalAlignmentTop, writeContent
 
Methods inherited from class org.pajes.html.Container
add, add, add, addContent, clear, clone, delete, delete, destroy, get, getContent, getContents, getPosition, insert, replace, set, setContent, setContent, size
 
Methods inherited from class org.pajes.html.TraversableElement
dump, dump, getAll, getFieldByName, getFirstFieldByName, getFirstTagByAttribute, getFirstTagByClass, getFirstTagByID, getFirstTagByName, getTagByAttribute, getTagByClass, getTagByID, getTagByName, setWritable
 
Methods inherited from class org.pajes.html.Tag
addAttribute, addAttributes, addAttributes, clearAttribute, clearAttributes, getAttribute, getAttributes, getAttributeSet, getContainer, getDocument, getId, getOnClickHandler, getOnDBLClickHandler, getOnKeyDownHandler, getOnKeyPressHandler, getOnKeyUpHandler, getOnMouseDownHandler, getOnMouseOutHandler, getOnMouseOverHandler, getOnMouseUpHandler, getParent, getStyle, getStyleSheetClass, getTagName, getTitle, getWritePermission, hasAttribute, init, initAttributes, isChildOf, isChildOf, isWritable, isWritable, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributes, setAttributes, setContainer, setId, setOnClickHandler, setOnDBLClickHandler, setOnKeyDownHandler, setOnKeyPressHandler, setOnKeyUpHandler, setOnMouseDownHandler, setOnMouseOutHandler, setOnMouseOverHandler, setOnMouseUpHandler, setParent, setStyle, setStyleSheetClass, setTagName, setTitle, setWritable, setWriteAttributes, setWriteEndTag, setWritelnAfter, setWritelnAfterContent, setWritelnBefore, setWritelnBeforeContent, setWritePermission, toString, write
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.pajes.html.Traversable
isWritable
 
Methods inherited from interface org.pajes.html.HTML
getContainer, getDocument, getId, getParent, getWritePermission, isChildOf, isChildOf, setContainer, setParent, setWritePermission, write
 

Constructor Detail

Table.ColumnGroup

public Table.ColumnGroup()
Creates a column group.

Method Detail

add

public Traversable add(HTML html)
Description copied from class: Container
Adds an HTML object to the current container

Specified by:
add in interface Traversable
Overrides:
add in class Container
Parameters:
html - - the Object to add (eg. doc.add(new htmlBody);)
Returns:
the modified Container object;
See Also:
Container.add(org.pajes.html.HTML)

setAlignment

public Table.ColumnGroup setAlignment(java.lang.String alignment)
Sets the alignment of the column text.

Overrides:
setAlignment in class TableContainer
Parameters:
alignment - Left, Center, Right, Justify or Char
Returns:
the modified ColumnGroup object.
Throws:
TagException - if an invalid alignment is specified.

setAlignmentCharacter

public Table.ColumnGroup setAlignmentCharacter(char character)
Sets the character on which to align column text.

Parameters:
character - the character on which to align column text.
Returns:
the modified ColumnGroup object.

setAlignmentCharacterOffset

public Table.ColumnGroup setAlignmentCharacterOffset(int offset)
Sets the offset to the first character to align on.

Parameters:
offset - the number of pixels to offset.
Returns:
the modified ColumnGroup object.

setAlignmentCharacterOffset

public Table.ColumnGroup setAlignmentCharacterOffset(java.lang.String offset)
Sets the offset to the first character to align on.

Parameters:
offset - the number of pixels, or percentage, of the offset.
Returns:
the modified ColumnGroup object.

setColumnSpan

public Table.ColumnGroup setColumnSpan(int columnsToSpan)
Set the number of columns that this column will span.

Parameters:
columnsToSpan - the number of columns this column will span.
Returns:
the modified ColumnGroup object.

setVerticalAlignment

public Table.ColumnGroup setVerticalAlignment(java.lang.String alignment)
Set the vertical alignment of the content in the cell.

Overrides:
setVerticalAlignment in class TableContainer
Parameters:
alignment - the vertical alignment of the content in the cell, such as top, middle, bottom, etc.
Returns:
the modified ColumnGroup object.

setWidth

public Table.ColumnGroup setWidth(int width)
Sets the width.

Overrides:
setWidth in class TableContainer
Parameters:
width - the width value.
Returns:
the modified ColumnGroup object.

setWidth

public Table.ColumnGroup setWidth(java.lang.String width)
Sets the width.

Overrides:
setWidth in class TableContainer
Parameters:
width - the width value.
Returns:
the modified ColumnGroup object.

PAJES 3.0.21

Copyright © 1998-2007 Viridian Pty Limited. All Rights Reserved.