fi.hut.tml.xsmiles.csslayout.view
Class TableView
java.lang.Object
fi.hut.tml.xsmiles.csslayout.view.BaseView
fi.hut.tml.xsmiles.csslayout.view.TableView
- All Implemented Interfaces:
- View
- public class TableView
- extends BaseView
- Author:
- mpohja
| Fields inherited from class fi.hut.tml.xsmiles.csslayout.view.BaseView |
absoluteChildViews, absolutePosition, backImage, bgColor, border, childViews, closeFloat, dimensions, domElement, floatLeft, floatRight, hasRelativeHeight, hasRelativeWidth, parent, posX, posY, relativeChildViews, relativePosition, renderer, sizeRequirements, style, visible, zoom |
| Fields inherited from interface fi.hut.tml.xsmiles.csslayout.view.View |
X_AXIS, Y_AXIS |
|
Method Summary |
protected void |
addView(org.w3c.dom.Node node,
View view,
View parentView,
java.lang.String display)
|
View |
createView(org.w3c.dom.Node node,
java.lang.String display)
|
void |
doLayout()
do, or redo layout for this and children |
int |
getColumnSpan(int column)
|
protected static boolean |
isRowGroup(java.lang.String display)
|
void |
paint(java.awt.Graphics g)
paints this view |
| Methods inherited from class fi.hut.tml.xsmiles.csslayout.view.BaseView |
addAbsoluteChildView, addChildView, addRelativeChildView, calculateIntersection, createChildView, createChildViews, createComponentView, dump, findContainingBlock, getAbsolutePositionX, getAbsolutePositionY, getChildren, getChildView, getCSSRenderer, getDimensions, getDOMElement, getFirstChild, getMaximumSpan, getMinimumSpan, getParentView, getPreferredSpan, getRectangle, getSizeRequirements, getStyle, getText, getViewAtPoint, getViewHeight, getViewWidth, handleRelativeView, hasAbsoluteChildren, hasAbsolutePosition, hasRelativePosition, insertBefore, isInTable, isLeftFloated, isRightFloated, moveChildViews, moveView, notifyViewRemovedRecursively, paintBackground, paintBorder, removeChild, removeChildren, removeFromTree, repaint, repaintDocument, repaintDocument, repaintView, setAbsoluteCoordinates, setAbsolutePosition, setContentHeight, setContentWidth, setMaxContentSize, setParentView, setRelativePosition, setSizeRequirements, setStyle, setViewHeight, setViewWidth, testValue, viewRemoved |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TableView
public TableView(CSSRenderer r,
org.w3c.dom.Node node,
View parent)
- Creates a new instance of TableView
createView
public View createView(org.w3c.dom.Node node,
java.lang.String display)
- Overrides:
createView in class BaseView
isRowGroup
protected static boolean isRowGroup(java.lang.String display)
addView
protected void addView(org.w3c.dom.Node node,
View view,
View parentView,
java.lang.String display)
- Overrides:
addView in class BaseView
doLayout
public void doLayout()
- do, or redo layout for this and children
- Specified by:
doLayout in interface View- Overrides:
doLayout in class BaseView
paint
public void paint(java.awt.Graphics g)
- paints this view
- Specified by:
paint in interface View- Overrides:
paint in class BaseView
getColumnSpan
public int getColumnSpan(int column)
X-Smiles 1.2