Class ViewPositionInfo

  extended by java.awt.geom.RectangularShape
      extended by java.awt.geom.Rectangle2D
          extended by java.awt.Rectangle
              extended by com.inet.html.views.ViewPositionInfo
All Implemented Interfaces:
java.awt.Shape,, java.lang.Cloneable

public class ViewPositionInfo
extends java.awt.Rectangle

Simple container class, to get the information about the current position of a view. Can be obtained by calling Layout.getViewForPosition(java.awt.Point, Rectangle)

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 java.awt.Rectangle
height, width, x, y
Fields inherited from class java.awt.geom.Rectangle2D
Constructor Summary
ViewPositionInfo(java.awt.Rectangle location, BoxView view)
          Create an ViewPositionInfo with the location of a view
Method Summary
 BoxView getView()
          Returns the view at the specified position
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, toString, 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


public ViewPositionInfo(java.awt.Rectangle location,
                        BoxView view)
Create an ViewPositionInfo with the location of a view

location - the location of the view
view - the view
Method Detail


public BoxView getView()
Returns the view at the specified position

Returns the view at the specified position