wheel.components
Class TableRow

java.lang.Object
  extended by wheel.components.Component
      extended by wheel.components.RenderableComponent
          extended by wheel.components.Block
              extended by wheel.components.TableRow
All Implemented Interfaces:
IContainer

public class TableRow
extends Block

A component that represents a row in a table. Used internally with Table-component.

Author:
Henri Frilund

Method Summary
 Block createTd()
           
 Block createTh()
           
 java.lang.String defaultTagName()
          Subclasses must implement this.
 Component td()
          Adds a td-element (a column) the a surrounding TableBlock-element.
 Component th()
          Adds a th-element (a header) the a surrounding TableBlock-element.
 
Methods inherited from class wheel.components.Block
_render, id, renderHint
 
Methods inherited from class wheel.components.RenderableComponent
_classReferenceFromHints, _clear, _getRenderAfterMe, _getRenderBeforeMe, _renderActions, _renderClassReferenceFromHints, _renderTagStart, _renderXhtmlAttributes, addRenderAfter, addRenderBefore, config, defaultDomEvent, getTagName, renderComponent, toString
 
Methods inherited from class wheel.components.Component
_applyFormat, _getAction, _getActions, _getChildren, _getForm, _getRenderableChildren, _getRenderHints, _getTopLevelComponent, _getVisibleForm, _getXhtmlAttributes, _isGeneratedId, _setComponentId, _setGeneratedId, _wrapComponentId, a, a, abbr, abbr, acronym, acronym, action, actionBinding, actionBinding, add, addFirst, address, address, afterAdd, area, attribute, attributes, b, b, base, bdo, big, big, blockquote, br, button, caption, checkbox, checkboxGroup, cite, cite, clasS, col, colgroup, create, dateInput, dd, dd, del, del, dfn, dfn, div, dl, dt, dt, el, em, em, encode, entity, equals, eval, fieldset, fileInput, fileInput, find, findAll, form, form, frame, frameset, get, getComponentId, getComponentName, getComponents, getEngine, getPage, getParent, h1, h1, h2, h2, h3, h3, h4, h4, h5, h5, h6, h6, hashCode, head, hidden, hr, htmlText, i, i, iframe, img, ins, ins, kbd, kdb, label, label, legend, legend, li, li, link, link, map, message, message, meta, multiSelect, nbsp, noframes, noscript, numberInput, numberInput, object, ol, p, p, param, placeholder, pre, pre, q, q, radio, radioGroup, rawText, remove, remove, requestFocus, s, s, samp, samp, script, select, selectModel, small, small, span, span, strike, strike, strong, strong, style, sub, sub, submit, sup, sup, table, tbody, text, textarea, textInput, tfoot, thead, title, tr, u, u, ul, up, up, var, var, wBlock, wrapSelf
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

createTd

public Block createTd()

createTh

public Block createTh()

td

public Component td()
Description copied from class: Component
Adds a td-element (a column) the a surrounding TableBlock-element. If the surrounding elemenent is not a TableBlock, throws an exception.

Overrides:
td in class Component
Returns:

th

public Component th()
Description copied from class: Component
Adds a th-element (a header) the a surrounding TableBlock-element. If the surrounding elemenent is not a TableBlock, throws an exception.

Overrides:
th in class Component
Returns:

defaultTagName

public java.lang.String defaultTagName()
Description copied from class: RenderableComponent
Subclasses must implement this. If no xhtml tagname can be resolved from rendering hints, will default to value returned by this method.

Overrides:
defaultTagName in class Block
Returns:


Copyright © 2007-2008. All Rights Reserved.