PAJES 3.0.21

org.pajes.html
Class Table.Column

java.lang.Object
  extended by org.pajes.html.Tag
      extended by org.pajes.html.Table.Column
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, HTML
Enclosing class:
Table

public class Table.Column
extends Tag

Inner class representing a column layout.

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.Column()
          Creates a new Column instance.
 
Method Summary
 Table.Column setAlignment(java.lang.String alignment)
          Sets the alignment of the column text.
 Table.Column setAlignmentCharacter(char character)
          Sets the character on which to align column text.
 Table.Column setAlignmentCharacterOffset(int offset)
          Sets the offset to the first character to align on.
 Table.Column setAlignmentCharacterOffset(java.lang.String offset)
          Sets the offset to the first character to align on.
 Table.Column setColumnSpan(int columnsToSpan)
          Set the number of columns that this column will span.
 Table.Column setVerticalAlignment(java.lang.String alignment)
          Set the vertical alignment of the content in the cell.
 Table.Column setWidth(int width)
          Sets the width.
 Table.Column setWidth(java.lang.String width)
          Sets the width.
 
Methods inherited from class org.pajes.html.Tag
addAttribute, addAttributes, addAttributes, addContent, clearAttribute, clearAttributes, clone, destroy, getAttribute, getAttributes, getAttributeSet, getContainer, getContent, 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, setContent, setContent, 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, writeContent
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Table.Column

public Table.Column()
Creates a new Column instance.

Method Detail

setAlignment

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

Parameters:
alignment - Left, Center, Right, Justify or Char
Returns:
the modified Column object.
Throws:
TagException - if an invalid alignment is specified.

setAlignmentCharacter

public Table.Column 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 Column object.

setAlignmentCharacterOffset

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

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

setAlignmentCharacterOffset

public Table.Column 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 Column object.

setColumnSpan

public Table.Column 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 Column object.

setVerticalAlignment

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

Parameters:
alignment - the vertical alignment of the content in the cell, such as top, middle, bottom, etc.
Returns:
the modified Column object.

setWidth

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

Parameters:
width - the width value.
Returns:
the modified Column object.

setWidth

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

Parameters:
width - the width value.
Returns:
the modified Column object.

PAJES 3.0.21

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