com.inet.html.views.layouts
Class TableLayout.CellPositionInfo

java.lang.Object
  extended by java.awt.geom.RectangularShape
      extended by java.awt.geom.Rectangle2D
          extended by java.awt.Rectangle
              extended by com.inet.html.views.layouts.Layout.ViewPosition
                  extended by com.inet.html.views.layouts.Layout.PositionInfo
                      extended by com.inet.html.views.layouts.TableLayout.CellPositionInfo
All Implemented Interfaces:
java.awt.Shape, java.io.Serializable, java.lang.Cloneable
Enclosing class:
TableLayout

public class TableLayout.CellPositionInfo
extends Layout.PositionInfo

Extended TableLayout.CellPositionInfo to place table cells.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.awt.geom.Rectangle2D
java.awt.geom.Rectangle2D.Double, java.awt.geom.Rectangle2D.Float
 
Field Summary
 
Fields inherited from class com.inet.html.views.layouts.Layout.PositionInfo
baseline, isFixed, isLayouted, isVarSpace, paintInFlow, vAlign
 
Fields inherited from class com.inet.html.views.layouts.Layout.ViewPosition
view
 
Fields inherited from class java.awt.Rectangle
height, width, x, y
 
Fields inherited from class java.awt.geom.Rectangle2D
OUT_BOTTOM, OUT_LEFT, OUT_RIGHT, OUT_TOP
 
Constructor Summary
TableLayout.CellPositionInfo(BoxView viewToPosition)
          Creats the position infor for a cell
 
Method Summary
 IBackgroundPainter getColumnPainter()
          Returns the background painter of the column, may be null if the column has a transparent background
 IBackgroundPainter getRowPainter()
          Returns the background painter of the row, may be null if the column has a transparent background
 
Methods inherited from class com.inet.html.views.layouts.Layout.PositionInfo
toString
 
Methods inherited from class java.awt.Rectangle
add, add, add, contains, contains, contains, contains, createIntersection, createUnion, equals, getBounds, getBounds2D, getHeight, getLocation, getSize, getWidth, getX, getY, grow, inside, intersection, intersects, isEmpty, move, outcode, reshape, resize, setBounds, setBounds, setLocation, setLocation, setRect, setSize, setSize, translate, union
 
Methods inherited from class java.awt.geom.Rectangle2D
add, add, add, contains, contains, getPathIterator, getPathIterator, hashCode, intersect, intersects, intersectsLine, intersectsLine, outcode, setFrame, setRect, union
 
Methods inherited from class java.awt.geom.RectangularShape
clone, contains, contains, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, intersects, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonal
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.awt.Shape
contains, contains, contains, contains, getPathIterator, getPathIterator, intersects, intersects
 

Constructor Detail

TableLayout.CellPositionInfo

public TableLayout.CellPositionInfo(BoxView viewToPosition)
Creats the position infor for a cell

Parameters:
viewToPosition - the cell to position
Method Detail

getColumnPainter

public IBackgroundPainter getColumnPainter()
Returns the background painter of the column, may be null if the column has a transparent background

Returns:
the background painter of the column or null

getRowPainter

public IBackgroundPainter getRowPainter()
Returns the background painter of the row, may be null if the column has a transparent background

Returns:
the background painter of the row or null