org.ujac.web.tag
Class RowCellHolder

java.lang.Object
  extended by org.ujac.web.tag.RowCellHolder

public class RowCellHolder
extends Object

Name: RowCellHolder
Description: A class holding row-cell data.

Author:
lauerc

Field Summary
protected  boolean fillRow
          Tells whether to fill the current row or not.
protected  int index
          The column index.
 
Constructor Summary
RowCellHolder(String name, int index, int colspan, boolean fillRow, String style, String evenStyle, String oddStyle, String width, String height, String halign, String valign, float paddingLeft, float paddingRight, float paddingTop, float paddingBottom, String content)
          Constructs a RowCellHolder instance with specific attributes.
 
Method Summary
 int getColspan()
          Getter method for the the property colspan.
 int getColumnIndex()
          Getter method for the the property index.
 String getColumnName()
          Getter method for the the property name.
 String getContent()
          Gets the tag's content.
 String getEvenStyle()
          Getter method for the the property evenStyle.
 String getHalign()
          Getter method for the the property halign.
 String getHeight()
          Getter method for the the property height.
 String getOddStyle()
          Getter method for the the property oddStyle.
 float getPaddingBottom()
          Getter method for the the property paddingBottom.
 float getPaddingLeft()
          Getter method for the the property paddingLeft.
 float getPaddingRight()
          Getter method for the the property paddingRight.
 float getPaddingTop()
          Getter method for the the property paddingTop.
 String getStyle()
          Getter method for the the property style.
 String getValign()
          Getter method for the the property valign.
 String getWidth()
          Getter method for the the property width.
 boolean hasContent()
          Gets the tag's content.
 boolean isFillRow()
          Getter method for the the property fillRow.
 void setColspan(int colspan)
          Setter method for the the property colspan.
 void setEvenStyle(String evenStyle)
          Setter method for the the property evenStyle.
 void setFillRow(boolean fillRow)
          Setter method for the the property fillRow.
 void setHalign(String halign)
          Setter method for the the property halign.
 void setHeight(String height)
          Setter method for the the property height.
 void setIndex(int index)
          Setter method for the the property index.
 void setName(String name)
          Setter method for the the property name.
 void setOddStyle(String oddStyle)
          Setter method for the the property oddStyle.
 void setPaddingBottom(float paddingBottom)
          Setter method for the the property paddingBottom.
 void setPaddingLeft(float paddingLeft)
          Setter method for the the property paddingLeft.
 void setPaddingRight(float paddingRight)
          Setter method for the the property paddingRight.
 void setPaddingTop(float paddingTop)
          Setter method for the the property paddingTop.
 void setStyle(String style)
          Setter method for the the property style.
 void setValign(String valign)
          Setter method for the the property valign.
 void setWidth(String width)
          Setter method for the the property width.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

index

protected int index
The column index.


fillRow

protected boolean fillRow
Tells whether to fill the current row or not.

Constructor Detail

RowCellHolder

public RowCellHolder(String name,
                     int index,
                     int colspan,
                     boolean fillRow,
                     String style,
                     String evenStyle,
                     String oddStyle,
                     String width,
                     String height,
                     String halign,
                     String valign,
                     float paddingLeft,
                     float paddingRight,
                     float paddingTop,
                     float paddingBottom,
                     String content)
Constructs a RowCellHolder instance with specific attributes.

Parameters:
name - The column name.
index - The column index.
colspan - The column span size.
fillRow - Tells whether or not to fill the current row.
style - The cell style.
evenStyle - The even style
oddStyle - The odd style
width - The cell width
height - The cell height.
halign - The horizontal alignment.
valign - The vertical alignment.
paddingLeft - The left padding.
paddingRight - The right padding.
paddingTop - The top padding.
paddingBottom - The bottom padding.
content - The cell content.
Method Detail

getColumnName

public String getColumnName()
Getter method for the the property name.

Returns:
The current value of property name.

setName

public void setName(String name)
Setter method for the the property name.

Parameters:
name - The value to set for the property name.

getColumnIndex

public int getColumnIndex()
Getter method for the the property index.

Returns:
The current value of property index.

setIndex

public void setIndex(int index)
Setter method for the the property index.

Parameters:
index - The value to set for the property index.

getColspan

public int getColspan()
Getter method for the the property colspan.

Returns:
The current value of property colspan.

setColspan

public void setColspan(int colspan)
Setter method for the the property colspan.

Parameters:
colspan - The value to set for the property colspan.

isFillRow

public boolean isFillRow()
Getter method for the the property fillRow.

Returns:
The current value of property fillRow.

setFillRow

public void setFillRow(boolean fillRow)
Setter method for the the property fillRow.

Parameters:
fillRow - The value to set for the property fillRow.

getStyle

public String getStyle()
Getter method for the the property style.

Returns:
The current value of property style.

setStyle

public void setStyle(String style)
Setter method for the the property style.

Parameters:
style - The value to set for the property style.

getEvenStyle

public String getEvenStyle()
Getter method for the the property evenStyle.

Returns:
The current value of property evenStyle.

setEvenStyle

public void setEvenStyle(String evenStyle)
Setter method for the the property evenStyle.

Parameters:
evenStyle - The value to set for the property evenStyle.

getOddStyle

public String getOddStyle()
Getter method for the the property oddStyle.

Returns:
The current value of property oddStyle.

setOddStyle

public void setOddStyle(String oddStyle)
Setter method for the the property oddStyle.

Parameters:
oddStyle - The value to set for the property oddStyle.

getWidth

public String getWidth()
Getter method for the the property width.

Returns:
The current value of property width.

setWidth

public void setWidth(String width)
Setter method for the the property width.

Parameters:
width - The value to set for the property width.

getHeight

public String getHeight()
Getter method for the the property height.

Returns:
The current value of property height.

setHeight

public void setHeight(String height)
Setter method for the the property height.

Parameters:
height - The value to set for the property height.

getPaddingLeft

public float getPaddingLeft()
Getter method for the the property paddingLeft.

Returns:
The current value of property paddingLeft.

setPaddingLeft

public void setPaddingLeft(float paddingLeft)
Setter method for the the property paddingLeft.

Parameters:
paddingLeft - The value to set for the property paddingLeft.

getPaddingRight

public float getPaddingRight()
Getter method for the the property paddingRight.

Returns:
The current value of property paddingRight.

setPaddingRight

public void setPaddingRight(float paddingRight)
Setter method for the the property paddingRight.

Parameters:
paddingRight - The value to set for the property paddingRight.

getPaddingTop

public float getPaddingTop()
Getter method for the the property paddingTop.

Returns:
The current value of property paddingTop.

setPaddingTop

public void setPaddingTop(float paddingTop)
Setter method for the the property paddingTop.

Parameters:
paddingTop - The value to set for the property paddingTop.

getPaddingBottom

public float getPaddingBottom()
Getter method for the the property paddingBottom.

Returns:
The current value of property paddingBottom.

setPaddingBottom

public void setPaddingBottom(float paddingBottom)
Setter method for the the property paddingBottom.

Parameters:
paddingBottom - The value to set for the property paddingBottom.

getHalign

public String getHalign()
Getter method for the the property halign.

Returns:
The current value of property halign.

setHalign

public void setHalign(String halign)
Setter method for the the property halign.

Parameters:
halign - The value to set for the property halign.

getValign

public String getValign()
Getter method for the the property valign.

Returns:
The current value of property valign.

setValign

public void setValign(String valign)
Setter method for the the property valign.

Parameters:
valign - The value to set for the property valign.

hasContent

public boolean hasContent()
Gets the tag's content.

Returns:
The content of the current tag.

getContent

public String getContent()
Gets the tag's content.

Returns:
The content of the current tag.


Copyright © 2003-2004 UJAC.org. All Rights Reserved.