to.etc.domui.dom.html
Class Table
java.lang.Object
to.etc.domui.dom.css.CssBase
to.etc.domui.dom.html.NodeBase
to.etc.domui.dom.html.NodeContainer
to.etc.domui.dom.html.Table
- All Implemented Interfaces:
- java.lang.Iterable<NodeBase>, IModelBinding, INodeErrorDelegate
- Direct Known Subclasses:
- ButtonBar, Caption, CaptionedHeader, SplitPanel
public class Table
- extends NodeContainer
Constructor Summary |
Table()
|
Methods inherited from class to.etc.domui.dom.html.NodeContainer |
add, add, add, addTable, delegateTo, findChildIndex, forceRebuild, getChild, getChildCount, getChildren, getDeepChild, getDeepChildren, getErrorFence, internalCheckNotDirty, internalClearDelta, internalClearDeltaFully, internalGetOldChildren, internalShelve, internalUnshelve, iterator, moveControlToModel, moveModelToControl, onRefresh, removeAllChildren, removeChild, removeChild, replaceChild, setControlsEnabled, setErrorFence, setErrorFence, setText, setValue |
Methods inherited from class to.etc.domui.dom.html.NodeBase |
$, acceptRequestParameter, addCssClass, addGlobalMessage, afterCreateContent, appendAfterMe, appendBeforeMe, appendCreateJS, appendJavascript, build, changed, clearFocusRequested, clearGlobalMessage, clearGlobalMessage, clearGlobalMessage, clearMessage, componentHandleWebAction, createContent, findComponentBundle, getActualID, getClicked, getComponentBundle, getCreateJS, getCssClass, getErrorDelegate, getErrorLocation, getMessage, getOnClickJS, getOnMouseDownJS, getPage, getParent, getParent, getParent, getSharedContext, getSpecialAttribute, getSpecialAttributeList, getTag, getTestID, getTitle, getUserObject, handleDrop, hasCssClass, hasError, internalGetOldParent, internalHasChangedAttributes, internalNeedClickHandler, internalOnClicked, internalSetHasChangedAttributes, internalSetHasChangedAttributes, internalSetTag, isBuilt, isFocusRequested, onAddedToPage, onBeforeFullRender, onForceRebuild, onHeaderContributors, onRemoveFromPage, onShelve, onUnshelve, refresh, remove, removeCssClass, renderJavascriptState, replaceWith, setClicked, setComponentBundle, setCssClass, setErrorDelegate, setErrorLocation, setFocus, setMessage, setOnClickJS, setOnMouseDownJS, setSpecialAttribute, setTestID, setTitle, setUserObject, stretchHeight, toString |
Methods inherited from class to.etc.domui.dom.css.CssBase |
getBackgroundAttachment, getBackgroundColor, getBackgroundImage, getBackgroundPosition, getBackgroundRepeat, getBorderBottomColor, getBorderBottomStyle, getBorderBottomWidth, getBorderLeftColor, getBorderLeftStyle, getBorderLeftWidth, getBorderRightColor, getBorderRightStyle, getBorderRightWidth, getBorderTopColor, getBorderTopStyle, getBorderTopWidth, getBottom, getCachedStyle, getClear, getColor, getDisplay, getFloat, getFontFamily, getFontSize, getFontSizeAdjust, getFontStyle, getFontVariant, getFontWeight, getHeight, getLeft, getLineHeight, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOverflow, getPosition, getRight, getTextAlign, getTop, getTransform, getVerticalAlign, getVisibility, getWidth, getZIndex, internalSetDisplay, setBackgroundAttachment, setBackgroundColor, setBackgroundImage, setBackgroundPosition, setBackgroundRepeat, setBorder, setBorder, setBorderBottomColor, setBorderBottomStyle, setBorderBottomWidth, setBorderColor, setBorderLeftColor, setBorderLeftStyle, setBorderLeftWidth, setBorderRightColor, setBorderRightStyle, setBorderRightWidth, setBorderStyle, setBorderTopColor, setBorderTopStyle, setBorderTopWidth, setBorderWidth, setBottom, setBottom, setCachedStyle, setClear, setColor, setDisplay, setFloat, setFontFamily, setFontSize, setFontSizeAdjust, setFontStyle, setFontVariant, setFontWeight, setHeight, setLeft, setLeft, setLineHeight, setMargin, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setOverflow, setPosition, setRight, setRight, setTextAlign, setTop, setTop, setTransform, setVerticalAlign, setVisibility, setWidth, setZIndex |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Table
public Table()
visit
public void visit(INodeVisitor v)
throws java.lang.Exception
- Description copied from class:
NodeBase
- This must visit the appropriate method in the node visitor. It should NOT recurse it's children.
- Specified by:
visit
in class NodeBase
- Throws:
java.lang.Exception
getCellPadding
public java.lang.String getCellPadding()
setCellPadding
public void setCellPadding(java.lang.String cellPadding)
getCellSpacing
public java.lang.String getCellSpacing()
setCellSpacing
public void setCellSpacing(java.lang.String cellSpacing)
getTableWidth
public java.lang.String getTableWidth()
setTableWidth
public void setTableWidth(java.lang.String tableWidth)
getTableBorder
public int getTableBorder()
setTableBorder
public void setTableBorder(int tableBorder)
setTableHead
public void setTableHead(java.lang.String... labels)
- Quicky thingy to set a table header.
- Parameters:
labels
-
canContain
protected void canContain(NodeBase node)
- Forbid some often made node errors in table's content model.
- Overrides:
canContain
in class NodeContainer
- See Also:
NodeContainer.canContain(to.etc.domui.dom.html.NodeBase)
getBody
public TBody getBody()
getHead
public THead getHead()
addBody
public TBody addBody()
getTableHeight
public java.lang.String getTableHeight()
setTableHeight
public void setTableHeight(java.lang.String tableHeight)
getAlign
public TableAlignType getAlign()
setAlign
public void setAlign(TableAlignType align)