borland Packages  Class Hierarchy  internetbeans Package 

IxTableCell component

java.lang.Object
   +----com.borland.internetbeans.IxComponent
           +----com.borland.internetbeans.IxTableCell

About the IxTableCell component

Variables  Constructors  Properties  Methods  

Implements IxTableCellRenderer, Renderable, Serializable, Cloneable

Note: This package is a feature of JBuilder Professional and Enterprise.

Default cell renderer.


IxTableCell variables

Variables implemented in this class

Variables implemented in com.borland.internetbeans.IxComponent

IxTableCell constructors

IxTableCell properties

*Read-only properties **Write-only properties

Properties implemented in com.borland.internetbeans.IxComponent

Properties implemented in java.lang.Object

IxTableCell methods

Methods implemented in this class

Methods implemented in com.borland.internetbeans.IxComponent

Methods implemented in java.lang.Object


IxTableCell variables

header

  protected boolean header
Whether this renderer is intended to generate header cells.

HEADER_TAG

  public static final String HEADER_TAG = "th"
Tag name for table cells that are header cells.

TAG_NAME

  public static final String TAG_NAME = "td"
Tag name for table cells.

value

  protected String value
The text to render inside the cell.

IxTableCell constructors

IxTableCell()

  public IxTableCell()
Creates a cell renderer for the table body, with no attributes.

IxTableCell(boolean)

  public IxTableCell(boolean header)
Creates a cell renderer to render cells with no attributes.

Parameters:

header
Whether to render for the table header or body

IxTableCell(java.util.Map, boolean)

  public IxTableCell(Map attributes, boolean header)
Creates a cell renderer.

Parameters:

attributes
Map containing name/value pairs of attributes

IxTableCell methods

assembleElementBody(outWrap)

  protected void assembleElementBody(OutputWrapper outWrap)
Renders the value.

Parameters:

outWrap
The stream-like output into which the content goes

Overrides: com.borland.internetbeans.IxComponent.assembleElementBody(outWrap)

assembleTagAttributes(outWrap)

  protected void assembleTagAttributes(OutputWrapper outWrap)
Concretes IxComponent but does nothing; any attributes are handled by assembleMergedAttributes.

Parameters:

outWrap
The stream-like output into which the content goes

Overrides: com.borland.internetbeans.IxComponent.assembleTagAttributes(outWrap)

getClosureTags()

  protected String[] getClosureTags()
Table cells can be closed by other cells and other rows, and the end of the table itself.

Overrides: com.borland.internetbeans.IxComponent.getClosureTags()

getElementType()

  protected String getElementType()
Returns the tag name, "td" or "th", depending on whether the render is intended for body or header cells.

Overrides: com.borland.internetbeans.IxComponent.getElementType()

isElementEmpty()

  protected boolean isElementEmpty()
Table cells are not empty.

Overrides: com.borland.internetbeans.IxComponent.isElementEmpty()