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 class
RMGraphPartSeries.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.Object
fromXML(RXArchiver anArchiver, RXElement anElement)
XML unarchival.RMEffect
getEffect()
Override to handle proxy.RMFill
getFill()
Override to handle proxy.RMGraphPartSeries.LabelPos
getFirstActivePosition()
Returns the first active position.RMFont
getFont()
Override to handle proxy.RMFormat
getFormat()
Override to handle proxy.java.lang.String
getHover()
Override to handle proxy.RMTextShape
getLabelShape(RMGraphPartSeries.LabelPos aPosition)
Returns a label shape for given position.float
getOpacity()
Override to handle proxy.RMXString.Outline
getOutline()
Override to handle proxy.RMGraphPartSeries.LabelPos
getPosition()
Returns the value label position (top, middle, bottom, outside).RMGraphPartSeries.LabelPos
getPosition(java.lang.String aString)
Returns a label position for a given string.RMTextShape
getProxy()
Returns the proxy, determined by the current position.double
getRoll()
Override to handle proxy.RMStroke
getStroke()
Override to handle proxy.RMColor
getTextColor()
Override to handle proxy.java.lang.String
getTitle()
Returns the title of the series.protected java.lang.String
getTitleDefault()
Returns the default title.java.lang.String
getURL()
Override to handle proxy.boolean
isUnderlined()
Override to handle proxy.void
setEffect(RMEffect anEffect)
Override to handle proxy.void
setFill(RMFill aFill)
Override to handle proxy.void
setFont(RMFont aFont)
Override to handle proxy.void
setFormat(RMFormat aFormat)
Override to handle proxy.void
setHover(java.lang.String aString)
Override to handle proxy.void
setOpacity(float aValue)
Override to handle proxy.void
setOutline(RMXString.Outline anOutline)
Override to handle proxy.void
setPosition(RMGraphPartSeries.LabelPos aPosition)
Sets the value label position (top, middle, bottom, outside).void
setRoll(double aValue)
Override to handle proxy.void
setStroke(RMStroke aStroke)
Override to handle proxy.void
setTextColor(RMColor aColor)
Override to handle proxy.void
setTitle(java.lang.String aTitle)
Sets the title of the series.void
setUnderlined(boolean aFlag)
Override to handle proxy.void
setURL(java.lang.String aURL)
Override to handle proxy.RXElement
toXML(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:
getOpacity
in classRMShape
-
setOpacity
public void setOpacity(float aValue)
Override to handle proxy.- Overrides:
setOpacity
in classRMShape
-
getTextColor
public RMColor getTextColor()
Override to handle proxy.- Overrides:
getTextColor
in classRMShape
-
setTextColor
public void setTextColor(RMColor aColor)
Override to handle proxy.- Overrides:
setTextColor
in classRMShape
-
setFont
public void setFont(RMFont aFont)
Override to handle proxy.
-
isUnderlined
public boolean isUnderlined()
Override to handle proxy.- Overrides:
isUnderlined
in classRMShape
-
setUnderlined
public void setUnderlined(boolean aFlag)
Override to handle proxy.- Overrides:
setUnderlined
in classRMShape
-
getOutline
public RMXString.Outline getOutline()
Override to handle proxy.- Overrides:
getOutline
in classRMShape
-
setOutline
public void setOutline(RMXString.Outline anOutline)
Override to handle proxy.- Overrides:
setOutline
in 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:
toXML
in interfaceArchivable
- Overrides:
toXML
in classRMShape
-
fromXML
public java.lang.Object fromXML(RXArchiver anArchiver, RXElement anElement)
XML unarchival.- Specified by:
fromXML
in interfaceArchivable
- Overrides:
fromXML
in classRMShape
-
-