Package com.inductiveautomation.rm.shape
Class RMFlowShape
- java.lang.Object
- 
- com.inductiveautomation.rm.base.RMListenerList
- 
- com.inductiveautomation.rm.base.RMObject
- 
- com.inductiveautomation.rm.shape.RMShape
- 
- com.inductiveautomation.rm.shape.RMParentShape
- 
- com.inductiveautomation.rm.shape.RMFlowShape
 
 
 
 
 
- 
- All Implemented Interfaces:
- Archivable,- DeepChangeListener,- RMPropertyChanger,- RMTypes,- java.beans.PropertyChangeListener,- java.lang.Cloneable,- java.util.EventListener
 - Direct Known Subclasses:
- RMGraphLegend
 
 public class RMFlowShape extends RMParentShape A shape to layout children with flow.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface com.inductiveautomation.rm.base.RMTypesRMTypes.Align, RMTypes.AlignX, RMTypes.AlignY
 
- 
 - 
Field Summary- 
Fields inherited from class com.inductiveautomation.rm.shape.RMShapeBINDING_PROP_NAME, STROKE_BORDER, STROKE_DOUBLE, STROKE_HIDDEN, STROKE_SHAPE
 
- 
 - 
Constructor SummaryConstructors Constructor Description RMFlowShape()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddLayoutChild(RMShape aChild)Override to set child MinWidth/MinHeight.RMParentShapeclone()Standard clone implementation.protected doublecomputePrefHeight(double aWidth)Override to send to SnapLayout.protected doublecomputePrefWidth(double aHeight)Override to send to SnapLayout.voidfromXMLShape(RXArchiver anArchiver, RXElement anElement)XML unarchival.doublegetSpacingX()Returns the horizontal spacing between children.doublegetSpacingY()Returns the vertical spacing between children.booleangetWraps()Returns whether to wrap children to bounds of parent.protected voidlayoutChildren()Override to send to SnapLayout.voidpaintShape(RMShapePainter aPntr)Override to paint dashed box around bounds.voidpropertyChange(java.beans.PropertyChangeEvent anEvent)Catch child size changes (when not doing layout) to set minimum size.voidsetSpacingX(double aSpacing)Sets the horizontal spacing between children.voidsetSpacingY(double aSpacing)Sets the vertical spacing between children.voidsetWraps(boolean aValue)Sets whether to wrap children to bounds of parent.RXElementtoXMLShape(RXArchiver anArchiver)XML Archival.- 
Methods inherited from class com.inductiveautomation.rm.shape.RMParentShapeaddChild, addChild, addChild, addChild, bringShapesToFront, cloneDeep, divideShapeFromTop, fromXML, fromXMLChildren, getBoundsOfChildren, getChild, getChildArray, getChildContaining, getChildCount, getChildLast, getChildren, getChildrenIntersecting, getChildrenWithClass, getChildrenWithClass, getChildWithClass, getChildWithName, getLayout, getNeedsLayout, getSourceURL, indexOfChild, isHittable, isShowing, isSourceURLSet, layout, relayout, removeChild, removeChild, removeChildren, removeLayoutChild, rpgAll, rpgChildren, sendShapesToBack, setHeight, setLayout, setNeedsLayout, setSourceURL, setWidth, toXML, toXMLChildren
 - 
Methods inherited from class com.inductiveautomation.rm.shape.RMShapeacceptsChildren, acceptsMouse, addBinding, addBinding, addDeepChangeListener, addMouseListener, animUpdate, bounds, childrenSuperSelectImmediately, contains, convertedPointFromShape, convertedPointToShape, convertedRectFromShape, convertedRectToShape, convertedVectorFromShape, convertedVectorToShape, convertFromShape, convertPathFromShape, convertPathToShape, convertPointFromShape, convertPointToShape, convertRectFromShape, convertRectToShape, convertToShape, convertVectorFromShape, convertVectorToShape, copyShape, createDivideShapeRemainder, deepChange, divideShapeFromEdge, get, get, getAlignment, getAlignmentX, getAlignmentY, getAncestor, getAncestorCount, getAncestorInCommon, getAnimator, getAnimator, getAutosizing, getAutosizingDefault, getBestHeight, getBestHeight, getBestWidth, getBestWidth, getBinding, getBinding, getBindingCount, getBindings, getBounds, getBoundsInside, getBoundsMarked, getBoundsMarkedDeep, getChildAnimator, getChildAnimator, getChildClipShape, getClipShape, getColor, getDashArrayString, getDashPhase, getDatasetEntity, getDatasetKey, getDisplayedFill, getDisplayedStroke, getDocument, getEffect, getEventAdapter, getFill, getFont, getFormat, getFrame, getFrameHeight, getFrameMaxX, getFrameMaxY, getFrameWidth, getFrameX, getFrameXY, getFrameY, getHeight, getHover, getLayoutInfo, getMaskPath, getMaxX, getMaxY, getMinHeight, getMinHeight, getMinWidth, getMinWidth, getName, getOpacity, getOpacityDeep, getOutline, getPageBreak, getPageBreakMax, getPageBreakPage, getPageBreakPageMax, getPageShape, getParent, getParent, getPath, getPathInBounds, getPrefHeight, getPrefHeight, getPrefWidth, getPrefWidth, getPropertyNameMapped, getPropertyNames, getPropertyNames, getRoll, getRootShape, getRSS, getScaleX, getScaleY, getShapesToAncestor, getShapesToDescendant, getShapesToShape, getSize, getSkewX, getSkewY, getStroke, getStrokeColor, getStrokeOnTop, getStrokeStyle, getStrokeWidth, getTextColor, getTimeline, getTimeline, getTransform, getTransformFromShape, getTransformInverse, getTransformToShape, getUndoer, getURL, getVisbileBounds, getVisibleBounds, getVisibleBounds, getVisibleBounds, getWidth, getX, getXY, getXYP, getY, height, indexOf, intersects, isAncestor, isAnimProperty, isDeletable, isDescendant, isEditing, isEnabled, isFontSet, isHittable, isLocked, isMinHeightSet, isMinWidthSet, isPrefHeightSet, isPrefWidthSet, isRoot, isRSS, isShowing, isUnderlined, isUseFill, isUseStroke, isViewing, isVisible, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, offsetXY, page, pageMax, paint, paintShapeAll, paintShapeChildren, paintShapeOver, put, removeBinding, removeBinding, removeDeepChangeListener, removeFromParent, removeMouseListener, repaint, repaint, resolvePageReferences, rpgBindings, rpgShape, setAlignment, setAlignmentX, setAlignmentY, setAutosizing, setBestHeight, setBestSize, setBounds, setBounds, setColor, setDashArrayString, setDashPhase, setEffect, setEnabled, setFill, setFont, setFormat, setFrame, setFrame, setFrameSize, setFrameX, setFrameXY, setFrameXY, setFrameY, setHover, setLayoutInfo, setLocked, setMinHeight, setMinSize, setMinWidth, setName, setOpacity, setOutline, setParent, setPrefHeight, setPrefWidth, setRoll, setScaleX, setScaleXY, setScaleY, setShowing, setSize, setSize, setSkewX, setSkewXY, setSkewY, setStroke, setStrokeColor, setStrokeStyle, setStrokeWidth, setTextColor, setTime, setTimeline, setUnderlined, setURL, setUseFill, setUseStroke, setVisible, setX, setXY, setXY, setXYP, setY, shapeHidden, shapeShown, superSelectable, toString, undoerDisable, undoerEnable, undoerSetUndoTitle, width, x, y
 - 
Methods inherited from class com.inductiveautomation.rm.base.RMObjectaddPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, getPCEvent, removePropertyChangeListener, sendPropertyChange
 - 
Methods inherited from class com.inductiveautomation.rm.base.RMListenerListaddListener, getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListener
 
- 
 
- 
- 
- 
Method Detail- 
getSpacingXpublic double getSpacingX() Returns the horizontal spacing between children.
 - 
setSpacingXpublic void setSpacingX(double aSpacing) Sets the horizontal spacing between children.
 - 
getSpacingYpublic double getSpacingY() Returns the vertical spacing between children.
 - 
setSpacingYpublic void setSpacingY(double aSpacing) Sets the vertical spacing between children.
 - 
getWrapspublic boolean getWraps() Returns whether to wrap children to bounds of parent.
 - 
setWrapspublic void setWraps(boolean aValue) Sets whether to wrap children to bounds of parent.
 - 
computePrefWidthprotected double computePrefWidth(double aHeight) Override to send to SnapLayout.- Overrides:
- computePrefWidthin class- RMParentShape
 
 - 
computePrefHeightprotected double computePrefHeight(double aWidth) Override to send to SnapLayout.- Overrides:
- computePrefHeightin class- RMParentShape
 
 - 
layoutChildrenprotected void layoutChildren() Override to send to SnapLayout.- Overrides:
- layoutChildrenin class- RMParentShape
 
 - 
addLayoutChildpublic void addLayoutChild(RMShape aChild) Override to set child MinWidth/MinHeight.- Overrides:
- addLayoutChildin class- RMParentShape
 
 - 
propertyChangepublic void propertyChange(java.beans.PropertyChangeEvent anEvent) Catch child size changes (when not doing layout) to set minimum size.- Specified by:
- propertyChangein interface- java.beans.PropertyChangeListener
- Overrides:
- propertyChangein class- RMShape
 
 - 
paintShapepublic void paintShape(RMShapePainter aPntr) Override to paint dashed box around bounds.- Overrides:
- paintShapein class- RMShape
 
 - 
toXMLShapepublic RXElement toXMLShape(RXArchiver anArchiver) XML Archival.- Overrides:
- toXMLShapein class- RMParentShape
 
 - 
fromXMLShapepublic void fromXMLShape(RXArchiver anArchiver, RXElement anElement) XML unarchival.- Overrides:
- fromXMLShapein class- RMParentShape
 
 - 
clonepublic RMParentShape clone() Standard clone implementation.- Overrides:
- clonein class- RMParentShape
 
 
- 
 
-