java.lang.Object
snap.geom.Shape
snap.geom.RectBase
snap.geom.Rect
snap.view.ViewProxy<T>
snap.view.ParentViewProxy<T>
snap.view.RowViewProxy<T>
- All Implemented Interfaces:
Cloneable
A ViewProxy subclass to layout child views horizontally, from left to right.
-
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
-
Method Summary
Modifier and TypeMethodDescriptionprotected double
getPrefHeightImpl
(double aW) Returns preferred height of given parent proxy using RowView layout.protected double
getPrefWidthImpl
(double aH) Returns preferred width of given parent proxy using RowView layout.void
Performs layout for given ViewProxy.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, setBoundsInClient, 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
-
Constructor Details
-
RowViewProxy
Constructor for given parent view.
-
-
Method Details
-
getPrefWidthImpl
protected double getPrefWidthImpl(double aH) Returns preferred width of given parent proxy using RowView layout.- Specified by:
getPrefWidthImpl
in classParentViewProxy<T extends View>
-
getPrefHeightImpl
protected double getPrefHeightImpl(double aW) Returns preferred height of given parent proxy using RowView layout.- Specified by:
getPrefHeightImpl
in classParentViewProxy<T extends View>
-
layoutProxy
public void layoutProxy()Performs layout for given ViewProxy.- Specified by:
layoutProxy
in classParentViewProxy<T extends View>
-