Class RMEditorShape
- java.lang.Object
- 
- All Implemented Interfaces:
- Archivable,- DeepChangeListener,- RMPropertyChanger,- RMTypes,- java.beans.PropertyChangeListener,- java.lang.Cloneable,- java.util.EventListener
 
 public class RMEditorShape extends RMViewerShape The root shape for RMEditor.
- 
- 
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 RMEditorShape(RMEditor anEditor)Creates a new editor shape.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description RMColorgetColor()Returns the color of the shape.RMEditorgetEditor()Returns the editor.doublegetGridSpacing()Returns the content grid spacing.floatgetOpacity()Returns the opacity of the shape (1 for opaque, 0 for transparent).booleangetSnapGrid()Returns whether content snaps to grid.booleangetSnapMargin()Returns whether content snaps to margin.RMStrokegetStroke()Returns the stroke for this shape.intgetStrokeStyle()RMUndoergetUndoer()Returns the undoer.booleanisUseFill()useFill etc exist only to make the background of the page act like selecting the page itself.voidsetColor(RMColor aColor)Sets 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).voidsetStroke(RMStroke aStroke)Sets 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, setSourceURL
 - 
Methods 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, toXMLShape
 - 
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, 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, 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
 
- 
 
- 
- 
- 
Constructor Detail- 
RMEditorShapepublic RMEditorShape(RMEditor anEditor) Creates a new editor shape.
 
- 
 - 
Method Detail- 
getEditorpublic RMEditor getEditor() Returns the editor.
 - 
setContentpublic void setContent(RMParentShape aShape) Override 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.
 - 
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
 
 - 
getColorpublic RMColor getColor() Description copied from class:RMShapeReturns the color of the shape.
 - 
setColorpublic void setColor(RMColor aColor) Description 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
 
 - 
getStrokepublic RMStroke getStroke() Description copied from class:RMShapeReturns the stroke for this shape.
 
- 
 
-