public class RMEditorShape extends RMViewerShape
RMTypes.Align, RMTypes.AlignX, RMTypes.AlignYBINDING_PROP_NAME, STROKE_BORDER, STROKE_DOUBLE, STROKE_HIDDEN, STROKE_SHAPE| Constructor and Description |
|---|
RMEditorShape(RMEditor anEditor)
Creates a new editor shape.
|
| Modifier and Type | Method and Description |
|---|---|
RMColor |
getColor()
Returns the color of the shape.
|
RMEditor |
getEditor()
Returns the editor.
|
double |
getGridSpacing()
Returns the content grid spacing.
|
float |
getOpacity()
Returns the opacity of the shape (1 for opaque, 0 for transparent).
|
boolean |
getSnapGrid()
Returns whether content snaps to grid.
|
boolean |
getSnapMargin()
Returns whether content snaps to margin.
|
RMStroke |
getStroke()
Returns the stroke for this shape.
|
int |
getStrokeStyle() |
RMUndoer |
getUndoer()
Returns the undoer.
|
boolean |
isUseFill()
useFill etc exist only to make the background of the page act like selecting the page itself.
|
void |
setColor(RMColor aColor)
Sets the color of the shape.
|
void |
setContent(RMParentShape aShape)
Override to do stuff for editor shape.
|
void |
setOpacity(float aValue)
Sets the opacity of the shape (1 for opaque, 0 for transparent).
|
void |
setStroke(RMStroke aStroke)
Sets the stroke for this shape, with an option to turn on drawsStroke.
|
void |
setStrokeStyle(int style) |
void |
setUseFill(boolean useFill) |
computePrefHeight, computePrefWidth, getChildAnimator, getContent, getContent, getContentBytes, getContentXML, getDocument, getPage, getPageCount, getSelectedPage, getSelectedPageIndex, getSourceURL, getViewer, isEditing, isViewing, layoutChildren, paint, repaint, setSelectedPageIndex, setSourceURLaddChild, 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, toXMLShapeacceptsChildren, 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, yaddPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, getPCEvent, removePropertyChangeListener, sendPropertyChangeaddListener, getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListenerpublic RMEditorShape(RMEditor anEditor)
public RMEditor getEditor()
public void setContent(RMParentShape aShape)
setContent in class RMViewerShapepublic boolean getSnapGrid()
public double getGridSpacing()
public boolean getSnapMargin()
public boolean isUseFill()
public void setUseFill(boolean useFill)
setUseFill in class RMShapepublic RMColor getColor()
RMShapepublic void setColor(RMColor aColor)
RMShapepublic float getOpacity()
RMShapegetOpacity in class RMShapepublic void setOpacity(float aValue)
RMShapesetOpacity in class RMShapepublic int getStrokeStyle()
getStrokeStyle in class RMShapepublic void setStrokeStyle(int style)
setStrokeStyle in class RMShapepublic RMStroke getStroke()
RMShape