Package snap.view
Class BorderViewProxy
java.lang.Object
- All Implemented Interfaces:
Cloneable
A ViewProxy subclass to layout views along edges (top, bottom, left, right) and center.
-
Field Summary
Fields inherited from class snap.view.ParentViewProxy
_growHeightCount, _growWidthCount
Fields inherited from class snap.geom.Shape
_bounds, WIND_EVEN_ODD, WIND_NON_ZERO
-
Constructor Summary
ConstructorDescriptionBorderViewProxy
(ParentView aPar, View aCtr, View aTop, View aRgt, View aBtm, View aLft) Constructor for given parent view and border views. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Override to layout RowView.void
Override to update RowProxy children y value before normal version.Methods inherited from class snap.view.ColViewProxy
getPrefHeightImpl, getPrefWidthImpl
Methods inherited from class snap.view.ParentViewProxy
getBestHeight, getBestWidth, getChildrenMaxXAllWithInsets, getChildrenMaxXLastWithInsets, getChildrenMaxYAllWithInsets, getChildrenMaxYLastWithInsets, getGrowHeightCount, getGrowWidthCount, getPrefHeight, getPrefWidth, layoutView
Methods inherited from class snap.view.ViewProxy
getAlign, getAlignXAsDouble, getAlignYAsDouble, getBorder, getBorderInsets, getChildCount, getChildForClass, getChildren, getChildrenForClass, getContent, getHeight, getInsetsAll, getLeanX, getLeanXAsDouble, getLeanY, getLeanYAsDouble, getMargin, getMaxX, getMaxY, getPadding, getProxies, getProxy, getSpacing, getView, getWidth, isFillHeight, isFillWidth, isGrowHeight, isGrowWidth, isVisible, setAlign, setBorder, setBounds, setBounds, setChildren, setContent, setFillHeight, setFillWidth, setGrowHeight, setGrowWidth, setMargin, setPadding, setSpacing, toString
Methods inherited from class snap.geom.Rect
add, add, addX, addY, clone, contains, contains, contains, contains, containsRect, equals, get, get, getAddRect, getBoundsImpl, getInsetRect, getInsetRect, getInsetRect, getIntersectRect, getOffsetRect, getPathIter, getPerimeterPointForRadial, getPoint, getPointForPosition, getPointForPositionAndSize, getPointForPositionAndSize, getPoints, getRectCenteredInside, getRectForPoints, getRectForString, getScaledRect, getUnionRect, hashCode, intersect, intersectsRect, intersectsRectAndNotEmpty, intersectsShape, intersectsShape, scale, snap, union, union, unionEvenIfEmpty
Methods inherited from class snap.geom.RectBase
copyFor, copyFor, equals, getMidX, getMidY, getMinX, getMinY, getSize, getSvgString, getX, getXY, getY, inset, inset, inset, isEmpty, offset, setCenteredXY, setHeight, setRect, setRect, setSize, setWidth, setX, setXY, setY
Methods inherited from class snap.geom.Shape
addShapes, contains, containsSeg, copyForBounds, crossesSeg, getArcLength, getBounds, getCrossings, getDistance, getFlattenedShape, getFlattenedShape, getNotSelfIntersectingShape, intersectShapes, intersectsSeg, intersectsXY, isClosed, isFlat, isMultiCycle, isSelfIntersecting, isSingleCycle, shapeChanged, subtractShapes
-
Field Details
-
_rowProxy
-
-
Constructor Details
-
BorderViewProxy
Constructor for given parent view and border views.
-
-
Method Details
-
setBoundsInClient
public void setBoundsInClient()Override to update RowProxy children y value before normal version.- Overrides:
setBoundsInClient
in classViewProxy<View>
-
layoutProxy
public void layoutProxy()Override to layout RowView.- Overrides:
layoutProxy
in classColViewProxy<View>
-