Class RMGraphRPGBar.BarGraphShape2D
- java.lang.Object
-
- com.inductiveautomation.rm.base.RMListenerList
-
- com.inductiveautomation.rm.base.RMObject
-
- com.inductiveautomation.rm.shape.RMShape
-
- com.inductiveautomation.rm.shape.RMParentShape
-
- com.inductiveautomation.rm.graphing.RMGraphRPGBar.BarGraphShape2D
-
- All Implemented Interfaces:
Archivable
,DeepChangeListener
,RMPropertyChanger
,RMTypes
,RMGraphRPG.GraphShape
,RMGraphRPGBar.BarGraphShape
,java.beans.PropertyChangeListener
,java.lang.Cloneable
,java.util.EventListener
- Enclosing class:
- RMGraphRPGBar
public static class RMGraphRPGBar.BarGraphShape2D extends RMParentShape implements RMGraphRPGBar.BarGraphShape
A BarGraphShape implementation.
-
-
Nested Class Summary
-
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 BarGraphShape2D(RMGraph aGraph)
Creates a new BarGraphShape2D.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAxis(RMShape aShape)
Add axis shape.void
addBar(RMShape aBar, int aLayer)
Add bar shape.void
addBarLabel(RMShape aBarLabel, RMGraphPartSeries.LabelPos aPosition)
Add bar label.void
addGridLineMajor(RMLineShape aLine)
Add grid line major.void
addGridLineMinor(RMLineShape aLine)
Add grid line minor.void
addGridLineSeparator(RMLineShape aLine)
Add grid line separatorvoid
addLabelAxisLabel(RMShape anAxisLabel)
Add label axis label shape.void
addValueAxisLabel(RMShape anAxisLabel)
Add value axis label shape.RMGraphRPG
getGraphRPG()
Returns the RMGraphRPG.protected boolean
isShowing(RMShape aChild)
Override to make all children show.void
setGraphRPG(RMGraphRPG aGRPG)
Sets the RMGraphRPG.-
Methods inherited from class com.inductiveautomation.rm.shape.RMParentShape
addChild, addChild, addChild, addChild, addLayoutChild, bringShapesToFront, clone, cloneDeep, computePrefHeight, computePrefWidth, divideShapeFromTop, fromXML, fromXMLChildren, fromXMLShape, getBoundsOfChildren, getChild, getChildArray, getChildContaining, getChildCount, getChildLast, getChildren, getChildrenIntersecting, getChildrenWithClass, getChildrenWithClass, getChildWithClass, getChildWithName, getLayout, getNeedsLayout, getSourceURL, indexOfChild, isHittable, isSourceURLSet, layout, layoutChildren, relayout, removeChild, removeChild, removeChildren, removeLayoutChild, rpgAll, rpgChildren, sendShapesToBack, setHeight, setLayout, setNeedsLayout, setSourceURL, setWidth, toXML, toXMLChildren, toXMLShape
-
Methods inherited from class com.inductiveautomation.rm.shape.RMShape
acceptsChildren, 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, getChildAnimator, getChildClipShape, getClipShape, getColor, getDashArrayString, getDashPhase, getDatasetEntity, getDatasetKey, getDisplayedFill, getDisplayedStroke, getDocument, getEffect, getEventAdapter, getFill, getFont, getFormat, getFrame, getFrameHeight, getFrameMaxX, getFrameMaxY, getFrameWidth, getFrameX, getFrameXY, getFrameY, getHeight, getHover, getLayoutInfo, getMaskPath, getMaxX, getMaxY, getMinHeight, getMinHeight, getMinWidth, getMinWidth, getName, getOpacity, 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, getStroke, getStrokeColor, getStrokeOnTop, getStrokeStyle, getStrokeWidth, getTextColor, getTimeline, getTimeline, getTransform, getTransformFromShape, getTransformInverse, getTransformToShape, getUndoer, getURL, 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, isUnderlined, 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, rpgBindings, rpgShape, setAlignment, setAlignmentX, setAlignmentY, setAutosizing, setBestHeight, setBestSize, setBounds, setBounds, setColor, setDashArrayString, setDashPhase, setEffect, setEnabled, setFill, setFont, setFormat, setFrame, setFrame, setFrameSize, setFrameX, setFrameXY, setFrameXY, setFrameY, setHover, setLayoutInfo, setLocked, setMinHeight, setMinSize, setMinWidth, setName, setOpacity, setOutline, setParent, setPrefHeight, setPrefWidth, setRoll, setScaleX, setScaleXY, setScaleY, setShowing, setSize, setSize, setSkewX, setSkewXY, setSkewY, setStroke, setStrokeColor, setStrokeStyle, setStrokeWidth, setTextColor, setTime, setTimeline, setUnderlined, setURL, setUseFill, 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.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
-
BarGraphShape2D
public BarGraphShape2D(RMGraph aGraph)
Creates a new BarGraphShape2D.
-
-
Method Detail
-
getGraphRPG
public RMGraphRPG getGraphRPG()
Returns the RMGraphRPG.- Specified by:
getGraphRPG
in interfaceRMGraphRPG.GraphShape
-
setGraphRPG
public void setGraphRPG(RMGraphRPG aGRPG)
Sets the RMGraphRPG.- Specified by:
setGraphRPG
in interfaceRMGraphRPG.GraphShape
-
addGridLineMajor
public void addGridLineMajor(RMLineShape aLine)
Add grid line major.- Specified by:
addGridLineMajor
in interfaceRMGraphRPGBar.BarGraphShape
-
addGridLineMinor
public void addGridLineMinor(RMLineShape aLine)
Add grid line minor.- Specified by:
addGridLineMinor
in interfaceRMGraphRPGBar.BarGraphShape
-
addGridLineSeparator
public void addGridLineSeparator(RMLineShape aLine)
Add grid line separator- Specified by:
addGridLineSeparator
in interfaceRMGraphRPGBar.BarGraphShape
-
addBar
public void addBar(RMShape aBar, int aLayer)
Add bar shape.- Specified by:
addBar
in interfaceRMGraphRPGBar.BarGraphShape
-
addBarLabel
public void addBarLabel(RMShape aBarLabel, RMGraphPartSeries.LabelPos aPosition)
Add bar label.- Specified by:
addBarLabel
in interfaceRMGraphRPGBar.BarGraphShape
-
addAxis
public void addAxis(RMShape aShape)
Add axis shape.- Specified by:
addAxis
in interfaceRMGraphRPGBar.BarGraphShape
-
addValueAxisLabel
public void addValueAxisLabel(RMShape anAxisLabel)
Add value axis label shape.- Specified by:
addValueAxisLabel
in interfaceRMGraphRPGBar.BarGraphShape
-
addLabelAxisLabel
public void addLabelAxisLabel(RMShape anAxisLabel)
Add label axis label shape.- Specified by:
addLabelAxisLabel
in interfaceRMGraphRPGBar.BarGraphShape
-
isShowing
protected boolean isShowing(RMShape aChild)
Override to make all children show.- Overrides:
isShowing
in classRMParentShape
-
-