Class RMEditorShape
- All Implemented Interfaces:
- Archivable,- DeepChangeListener,- RMPropertyChanger,- RMTypes,- PropertyChangeListener,- Cloneable,- EventListener
The root shape for RMEditor.
- 
Nested Class SummaryNested classes/interfaces inherited from interface com.inductiveautomation.rm.base.RMTypesRMTypes.Align, RMTypes.AlignX, RMTypes.AlignY
- 
Field SummaryFields inherited from class com.inductiveautomation.rm.shape.RMShapeBINDING_PROP_NAME, STROKE_BORDER, STROKE_DOUBLE, STROKE_HIDDEN, STROKE_SHAPE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetColor()Returns the color of the shape.Returns the editor.doubleReturns the content grid spacing.floatReturns the opacity of the shape (1 for opaque, 0 for transparent).booleanReturns whether content snaps to grid.booleanReturns whether content snaps to margin.Returns the stroke for this shape.intReturns the undoer.booleanuseFill etc exist only to make the background of the page act like selecting the page itself.voidSets the color of the shape.voidsetContent(RMParentShape aShape) Override to do stuff for editor shape.voidsetOpacity(float aValue) Sets the opacity of the shape (1 for opaque, 0 for transparent).voidSets the stroke for this shape, with an option to turn on drawsStroke.voidsetStrokeStyle(int style) voidsetUseFill(boolean useFill) Methods inherited from class com.inductiveautomation.rm.viewer.RMViewerShapecomputePrefHeight, computePrefWidth, getChildAnimator, getContent, getContent, getContentBytes, getContentXML, getDocument, getPage, getPageCount, getSelectedPage, getSelectedPageIndex, getSourceURL, getViewer, isEditing, isViewing, layoutChildren, paint, repaint, setSelectedPageIndex, setSourceURLMethods inherited from class com.inductiveautomation.rm.shape.RMParentShapeaddChild, addChild, addChild, addChild, addLayoutChild, bringShapesToFront, clone, cloneDeep, divideShapeFromTop, fromXML, fromXMLChildren, fromXMLShape, getBoundsOfChildren, getChild, getChildArray, getChildContaining, getChildCount, getChildLast, getChildren, getChildrenIntersecting, getChildrenWithClass, getChildrenWithClass, getChildWithClass, getChildWithName, getLayout, getNeedsLayout, indexOfChild, isHittable, isShowing, isSourceURLSet, layout, relayout, removeChild, removeChild, removeChildren, removeLayoutChild, rpgAll, rpgChildren, sendShapesToBack, setHeight, setLayout, setNeedsLayout, setWidth, toXML, toXMLChildren, toXMLShapeMethods 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, getChildClipShape, getClipShape, getDashArrayString, getDashPhase, getDatasetEntity, getDatasetKey, getDisplayedFill, getDisplayedStroke, getEffect, getEventAdapter, getFill, getFont, getFormat, getFrame, getFrameHeight, getFrameMaxX, getFrameMaxY, getFrameWidth, getFrameX, getFrameXY, getFrameY, getHeight, getHover, getLayoutInfo, getMaskPath, getMaxX, getMaxY, getMinHeight, getMinHeight, getMinWidth, getMinWidth, getName, 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, getStrokeColor, getStrokeOnTop, getStrokeWidth, getTextColor, getTimeline, getTimeline, getTransform, getTransformFromShape, getTransformInverse, getTransformToShape, getURL, getVisbileBounds, getVisibleBounds, getVisibleBounds, getVisibleBounds, getWidth, getX, getXY, getXYP, getY, height, indexOf, intersects, isAncestor, isAnimProperty, isDeletable, isDescendant, isEnabled, isFontSet, isHittable, isLocked, isMinHeightSet, isMinWidthSet, isPrefHeightSet, isPrefWidthSet, isRoot, isRSS, isShowing, isUnderlined, isUseStroke, isVisible, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, offsetXY, page, pageMax, paintShape, paintShapeAll, paintShapeChildren, paintShapeOver, propertyChange, put, removeBinding, removeBinding, removeDeepChangeListener, removeFromParent, removeMouseListener, repaint, resolvePageReferences, rpgBindings, rpgShape, setAlignment, setAlignmentX, setAlignmentY, setAutosizing, setBestHeight, setBestSize, setBounds, setBounds, setDashArrayString, setDashPhase, setEffect, setEnabled, setFill, setFont, setFormat, setFrame, setFrame, setFrameSize, setFrameX, setFrameXY, setFrameXY, setFrameY, setHover, setLayoutInfo, setLocked, setMinHeight, setMinSize, setMinWidth, setName, setOutline, setParent, setPrefHeight, setPrefWidth, setRoll, setScaleX, setScaleXY, setScaleY, setShowing, setSize, setSize, setSkewX, setSkewXY, setSkewY, setStrokeColor, setStrokeWidth, setTextColor, setTime, setTimeline, setUnderlined, setURL, setUseStroke, setVisible, setX, setXY, setXY, setXYP, setY, shapeHidden, shapeShown, superSelectable, toString, undoerDisable, undoerEnable, undoerSetUndoTitle, width, x, yMethods inherited from class com.inductiveautomation.rm.base.RMObjectaddPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, getPCEvent, removePropertyChangeListener, sendPropertyChangeMethods inherited from class com.inductiveautomation.rm.base.RMListenerListaddListener, getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListener
- 
Constructor Details- 
RMEditorShapeCreates a new editor shape.
 
- 
- 
Method Details- 
getEditorReturns the editor.
- 
setContentOverride to do stuff for editor shape.- Overrides:
- setContentin class- RMViewerShape
 
- 
getSnapGridpublic boolean getSnapGrid()Returns whether content snaps to grid.
- 
getGridSpacingpublic double getGridSpacing()Returns the content grid spacing.
- 
getSnapMarginpublic boolean getSnapMargin()Returns whether content snaps to margin.
- 
getUndoerReturns the undoer.
- 
isUseFillpublic boolean isUseFill()useFill etc exist only to make the background of the page act like selecting the page itself. That way, when users edit properties they see when selecting the background, the behavior is something they expect.
- 
setUseFillpublic void setUseFill(boolean useFill) - Overrides:
- setUseFillin class- RMShape
 
- 
getColorDescription copied from class:RMShapeReturns the color of the shape.
- 
setColorDescription copied from class:RMShapeSets the color of the shape.
- 
getOpacitypublic float getOpacity()Description copied from class:RMShapeReturns the opacity of the shape (1 for opaque, 0 for transparent).- Overrides:
- getOpacityin class- RMShape
 
- 
setOpacitypublic void setOpacity(float aValue) Description copied from class:RMShapeSets the opacity of the shape (1 for opaque, 0 for transparent).- Overrides:
- setOpacityin class- RMShape
 
- 
getStrokeStylepublic int getStrokeStyle()- Overrides:
- getStrokeStylein class- RMShape
 
- 
setStrokeStylepublic void setStrokeStyle(int style) - Overrides:
- setStrokeStylein class- RMShape
 
- 
getStrokeDescription copied from class:RMShapeReturns the stroke for this shape.
- 
setStrokeSets the stroke for this shape, with an option to turn on drawsStroke.
 
-