Class RMGraphPartSeries
- java.lang.Object
-
- com.inductiveautomation.rm.base.RMListenerList
-
- com.inductiveautomation.rm.base.RMObject
-
- com.inductiveautomation.rm.shape.RMShape
-
- com.inductiveautomation.rm.graphing.RMGraphPartSeries
-
- All Implemented Interfaces:
Archivable,DeepChangeListener,RMPropertyChanger,RMTypes,java.beans.PropertyChangeListener,java.lang.Cloneable,java.util.EventListener
public class RMGraphPartSeries extends RMShape
This shape is used by graph area to hold attributes of the value axis.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRMGraphPartSeries.LabelPos-
Nested classes/interfaces inherited from interface com.inductiveautomation.rm.base.RMTypes
RMTypes.Align, RMTypes.AlignX, RMTypes.AlignY
-
-
Field Summary
-
Fields inherited from class com.inductiveautomation.rm.shape.RMShape
BINDING_PROP_NAME, STROKE_BORDER, STROKE_DOUBLE, STROKE_HIDDEN, STROKE_SHAPE
-
-
Constructor Summary
Constructors Constructor Description RMGraphPartSeries(RMGraph aGraph)Creates a new series part.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectfromXML(RXArchiver anArchiver, RXElement anElement)XML unarchival.RMEffectgetEffect()Override to handle proxy.RMFillgetFill()Override to handle proxy.RMGraphPartSeries.LabelPosgetFirstActivePosition()Returns the first active position.RMFontgetFont()Override to handle proxy.RMFormatgetFormat()Override to handle proxy.java.lang.StringgetHover()Override to handle proxy.RMTextShapegetLabelShape(RMGraphPartSeries.LabelPos aPosition)Returns a label shape for given position.floatgetOpacity()Override to handle proxy.RMXString.OutlinegetOutline()Override to handle proxy.RMGraphPartSeries.LabelPosgetPosition()Returns the value label position (top, middle, bottom, outside).RMGraphPartSeries.LabelPosgetPosition(java.lang.String aString)Returns a label position for a given string.RMTextShapegetProxy()Returns the proxy, determined by the current position.doublegetRoll()Override to handle proxy.RMStrokegetStroke()Override to handle proxy.RMColorgetTextColor()Override to handle proxy.java.lang.StringgetTitle()Returns the title of the series.protected java.lang.StringgetTitleDefault()Returns the default title.java.lang.StringgetURL()Override to handle proxy.booleanisUnderlined()Override to handle proxy.voidsetEffect(RMEffect anEffect)Override to handle proxy.voidsetFill(RMFill aFill)Override to handle proxy.voidsetFont(RMFont aFont)Override to handle proxy.voidsetFormat(RMFormat aFormat)Override to handle proxy.voidsetHover(java.lang.String aString)Override to handle proxy.voidsetOpacity(float aValue)Override to handle proxy.voidsetOutline(RMXString.Outline anOutline)Override to handle proxy.voidsetPosition(RMGraphPartSeries.LabelPos aPosition)Sets the value label position (top, middle, bottom, outside).voidsetRoll(double aValue)Override to handle proxy.voidsetStroke(RMStroke aStroke)Override to handle proxy.voidsetTextColor(RMColor aColor)Override to handle proxy.voidsetTitle(java.lang.String aTitle)Sets the title of the series.voidsetUnderlined(boolean aFlag)Override to handle proxy.voidsetURL(java.lang.String aURL)Override to handle proxy.RXElementtoXML(RXArchiver anArchiver)XML archival.-
Methods inherited from class com.inductiveautomation.rm.shape.RMShape
acceptsChildren, acceptsMouse, addBinding, addBinding, addDeepChangeListener, addMouseListener, animUpdate, bounds, childrenSuperSelectImmediately, clone, cloneDeep, computePrefHeight, computePrefWidth, contains, convertedPointFromShape, convertedPointToShape, convertedRectFromShape, convertedRectToShape, convertedVectorFromShape, convertedVectorToShape, convertFromShape, convertPathFromShape, convertPathToShape, convertPointFromShape, convertPointToShape, convertRectFromShape, convertRectToShape, convertToShape, convertVectorFromShape, convertVectorToShape, copyShape, createDivideShapeRemainder, deepChange, divideShapeFromEdge, divideShapeFromTop, get, get, getAlignment, getAlignmentX, getAlignmentY, getAncestor, getAncestorCount, getAncestorInCommon, getAnimator, getAnimator, getAutosizing, getAutosizingDefault, getBestHeight, getBestHeight, getBestWidth, getBestWidth, getBinding, getBinding, getBindingCount, getBindings, getBounds, getBoundsInside, getBoundsMarked, getBoundsMarkedDeep, getChild, getChildAnimator, getChildAnimator, getChildClipShape, getChildCount, getChildren, getClipShape, getColor, getDashArrayString, getDashPhase, getDatasetEntity, getDatasetKey, getDisplayedFill, getDisplayedStroke, getDocument, getEventAdapter, getFrame, getFrameHeight, getFrameMaxX, getFrameMaxY, getFrameWidth, getFrameX, getFrameXY, getFrameY, getHeight, getLayoutInfo, getMaskPath, getMaxX, getMaxY, getMinHeight, getMinHeight, getMinWidth, getMinWidth, getName, getOpacityDeep, getPageBreak, getPageBreakMax, getPageBreakPage, getPageBreakPageMax, getPageShape, getParent, getParent, getPath, getPathInBounds, getPrefHeight, getPrefHeight, getPrefWidth, getPrefWidth, getPropertyNameMapped, getPropertyNames, getPropertyNames, getRootShape, getRSS, getScaleX, getScaleY, getShapesToAncestor, getShapesToDescendant, getShapesToShape, getSize, getSkewX, getSkewY, getStrokeColor, getStrokeOnTop, getStrokeStyle, getStrokeWidth, getTimeline, getTimeline, getTransform, getTransformFromShape, getTransformInverse, getTransformToShape, getUndoer, 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, isUseFill, isUseStroke, isViewing, isVisible, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, offsetXY, page, pageMax, paint, paintShape, paintShapeAll, paintShapeChildren, paintShapeOver, propertyChange, put, removeBinding, removeBinding, removeDeepChangeListener, removeFromParent, removeMouseListener, repaint, repaint, resolvePageReferences, rpgAll, rpgBindings, rpgShape, setAlignment, setAlignmentX, setAlignmentY, setAutosizing, setBestHeight, setBestSize, setBounds, setBounds, setColor, setDashArrayString, setDashPhase, setEnabled, setFrame, setFrame, setFrameSize, setFrameX, setFrameXY, setFrameXY, setFrameY, setHeight, setLayoutInfo, setLocked, setMinHeight, setMinSize, setMinWidth, setName, setParent, setPrefHeight, setPrefWidth, setScaleX, setScaleXY, setScaleY, setShowing, setSize, setSize, setSkewX, setSkewXY, setSkewY, setStrokeColor, setStrokeStyle, setStrokeWidth, setTime, setTimeline, setUseFill, setUseStroke, setVisible, setWidth, setX, setXY, setXY, setXYP, setY, shapeHidden, shapeShown, superSelectable, toString, undoerDisable, undoerEnable, undoerSetUndoTitle, width, x, y
-
Methods inherited from class com.inductiveautomation.rm.base.RMObject
addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, getPCEvent, removePropertyChangeListener, sendPropertyChange
-
Methods inherited from class com.inductiveautomation.rm.base.RMListenerList
addListener, getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListener
-
-
-
-
Constructor Detail
-
RMGraphPartSeries
public RMGraphPartSeries(RMGraph aGraph)
Creates a new series part.
-
-
Method Detail
-
getTitle
public java.lang.String getTitle()
Returns the title of the series.
-
setTitle
public void setTitle(java.lang.String aTitle)
Sets the title of the series.
-
getTitleDefault
protected java.lang.String getTitleDefault()
Returns the default title.
-
getPosition
public RMGraphPartSeries.LabelPos getPosition()
Returns the value label position (top, middle, bottom, outside).
-
setPosition
public void setPosition(RMGraphPartSeries.LabelPos aPosition)
Sets the value label position (top, middle, bottom, outside).
-
getPosition
public RMGraphPartSeries.LabelPos getPosition(java.lang.String aString)
Returns a label position for a given string.
-
getLabelShape
public RMTextShape getLabelShape(RMGraphPartSeries.LabelPos aPosition)
Returns a label shape for given position.
-
getFirstActivePosition
public RMGraphPartSeries.LabelPos getFirstActivePosition()
Returns the first active position.
-
getProxy
public RMTextShape getProxy()
Returns the proxy, determined by the current position.
-
getStroke
public RMStroke getStroke()
Override to handle proxy.
-
setStroke
public void setStroke(RMStroke aStroke)
Override to handle proxy.
-
setFill
public void setFill(RMFill aFill)
Override to handle proxy.
-
getEffect
public RMEffect getEffect()
Override to handle proxy.
-
setEffect
public void setEffect(RMEffect anEffect)
Override to handle proxy.
-
getOpacity
public float getOpacity()
Override to handle proxy.- Overrides:
getOpacityin classRMShape
-
setOpacity
public void setOpacity(float aValue)
Override to handle proxy.- Overrides:
setOpacityin classRMShape
-
getTextColor
public RMColor getTextColor()
Override to handle proxy.- Overrides:
getTextColorin classRMShape
-
setTextColor
public void setTextColor(RMColor aColor)
Override to handle proxy.- Overrides:
setTextColorin classRMShape
-
setFont
public void setFont(RMFont aFont)
Override to handle proxy.
-
isUnderlined
public boolean isUnderlined()
Override to handle proxy.- Overrides:
isUnderlinedin classRMShape
-
setUnderlined
public void setUnderlined(boolean aFlag)
Override to handle proxy.- Overrides:
setUnderlinedin classRMShape
-
getOutline
public RMXString.Outline getOutline()
Override to handle proxy.- Overrides:
getOutlinein classRMShape
-
setOutline
public void setOutline(RMXString.Outline anOutline)
Override to handle proxy.- Overrides:
setOutlinein classRMShape
-
getFormat
public RMFormat getFormat()
Override to handle proxy.
-
setFormat
public void setFormat(RMFormat aFormat)
Override to handle proxy.
-
getURL
public java.lang.String getURL()
Override to handle proxy.
-
setURL
public void setURL(java.lang.String aURL)
Override to handle proxy.
-
getHover
public java.lang.String getHover()
Override to handle proxy.
-
setHover
public void setHover(java.lang.String aString)
Override to handle proxy.
-
setRoll
public void setRoll(double aValue)
Override to handle proxy.
-
toXML
public RXElement toXML(RXArchiver anArchiver)
XML archival.- Specified by:
toXMLin interfaceArchivable- Overrides:
toXMLin classRMShape
-
fromXML
public java.lang.Object fromXML(RXArchiver anArchiver, RXElement anElement)
XML unarchival.- Specified by:
fromXMLin interfaceArchivable- Overrides:
fromXMLin classRMShape
-
-