com.inet.html.views.layouts
Class Layout.PositionInfo

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
All Implemented Interfaces:
java.awt.Shape, java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
TableLayout.CellPositionInfo
Enclosing class:
Layout

public class Layout.PositionInfo
extends Layout.ViewPosition

A simple dataholder to store position relevant data when layouting a view

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
 short baseline
           
 boolean isFixed
           
 boolean isLayouted
           
 boolean isVarSpace
           
 boolean paintInFlow
          true if this view can be painted by the layouter, false if it has to be painted by the stack manager
 byte 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
Layout.PositionInfo(BoxView viewToPosition)
          Creates the position info for a view
 
Method Summary
 java.lang.String 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
 

Field Detail

baseline

public short baseline

vAlign

public byte vAlign

isVarSpace

public boolean isVarSpace

isFixed

public boolean isFixed

isLayouted

public boolean isLayouted

paintInFlow

public boolean paintInFlow
true if this view can be painted by the layouter, false if it has to be painted by the stack manager

Constructor Detail

Layout.PositionInfo

public Layout.PositionInfo(BoxView viewToPosition)
Creates the position info for a view

Parameters:
viewToPosition - the view to position
Method Detail

toString

public java.lang.String toString()

Overrides:
toString in class java.awt.Rectangle