Class RMGraphPartValueAxis
- java.lang.Object
-
- com.inductiveautomation.rm.base.RMListenerList
-
- com.inductiveautomation.rm.base.RMObject
-
- com.inductiveautomation.rm.shape.RMShape
-
- com.inductiveautomation.rm.shape.RMRectShape
-
- com.inductiveautomation.rm.shape.RMTextShape
-
- com.inductiveautomation.rm.graphing.RMGraphPartValueAxis
-
- All Implemented Interfaces:
Archivable
,DeepChangeListener
,RMPropertyChanger
,RMTypes
,java.beans.PropertyChangeListener
,java.lang.Cloneable
,java.util.EventListener
public class RMGraphPartValueAxis extends RMTextShape
This shape is used by graph area to hold attributes of the value axis.
-
-
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.RMTextShape
WRAP_BASIC, WRAP_NONE, WRAP_SCALE
-
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 RMGraphPartValueAxis()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RMXString
createXString()
Overrides RMText method to create an xstring that defaults to Arial 10.java.lang.Object
fromXML(RXArchiver anArchiver, RXElement anElement)
XML unarchival.int
getAxisCount()
Returns the number of increments in the axis.float
getAxisMax()
Returns the axis maximum.float
getAxisMin()
Returns the axis minimum.boolean
getShowAxisLabels()
Returns whether the graph draws axis labels.boolean
getShowMajorGrid()
Returns whether the graph draws the major axis.boolean
getShowMinorGrid()
Returns whether the graph draws the minor axis.void
setAxisCount(int aValue)
Sets the number of increments in the axis.void
setAxisMax(float aValue)
Sets the axis maximum.void
setAxisMin(float aValue)
Sets the axis minimum.void
setShowAxisLabels(boolean aFlag)
Sets whether the graph draws axis labels.void
setShowMajorGrid(boolean aFlag)
Sets whether the graph draws the major axis.void
setShowMinorGrid(boolean aFlag)
Sets whether the graph draws the minor axis.RXElement
toXML(RXArchiver anArchiver)
XML archival.-
Methods inherited from class com.inductiveautomation.rm.shape.RMTextShape
clone, computePrefHeight, computePrefWidth, copyText, createDivideShapeRemainder, createTextLayout, fromXMLFinish, getAlignmentX, getAlignmentY, getAlignString, getAutosizingDefault, getCharSpacing, getCoalesceNewlines, getDateFormat, getDrawsSelectionRect, getFont, getLineGap, getLineHeightMax, getLineHeightMin, getLineSpacing, getLinkedText, getMargin, getMarginBottom, getMarginDefault, getMarginLeft, getMarginRight, getMarginString, getMarginTop, getMaskPath, getNegativeInRed, getNullFormat, getNumberFormat, getOutline, getPath, getPathInBounds, getPathInBounds, getPathShape, getPerformsWrap, getPropertyNames, getText, getTextColor, getTextLayout, getVisibleEnd, getVisibleStart, getWraps, getXString, isAllTextVisible, isDeletable, isStructured, isUnderlined, length, paginate, paintShape, paintShapeBack, paintShapeText, paintTextRun, peerDidChange, propertyChange, resolvePageReferences, revalidate, rpgShape, scaleFonts, setAlignmentX, setAlignmentY, setCharSpacing, setCoalesceNewlines, setDateFormat, setDrawsSelectionRect, setFont, setFormat, setHeight, setLineGap, setLineHeightMax, setLineHeightMin, setLineSpacing, setLinkedText, setMargin, setMarginString, setNegativeInRed, setNullFormat, setNumberFormat, setOutline, setPathShape, setPerformsWrap, setRadius, setText, setTextColor, setUnderlined, setWidth, setWraps, setXString, superSelectable, toString
-
Methods inherited from class com.inductiveautomation.rm.shape.RMRectShape
getRadius
-
Methods inherited from class com.inductiveautomation.rm.shape.RMShape
acceptsChildren, acceptsMouse, addBinding, addBinding, addDeepChangeListener, addMouseListener, animUpdate, bounds, childrenSuperSelectImmediately, cloneDeep, contains, convertedPointFromShape, convertedPointToShape, convertedRectFromShape, convertedRectToShape, convertedVectorFromShape, convertedVectorToShape, convertFromShape, convertPathFromShape, convertPathToShape, convertPointFromShape, convertPointToShape, convertRectFromShape, convertRectToShape, convertToShape, convertVectorFromShape, convertVectorToShape, copyShape, deepChange, divideShapeFromEdge, divideShapeFromTop, get, get, getAlignment, getAncestor, getAncestorCount, getAncestorInCommon, getAnimator, getAnimator, getAutosizing, 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, getEffect, getEventAdapter, getFill, getFormat, getFrame, getFrameHeight, getFrameMaxX, getFrameMaxY, getFrameWidth, getFrameX, getFrameXY, getFrameY, getHeight, getHover, getLayoutInfo, getMaxX, getMaxY, getMinHeight, getMinHeight, getMinWidth, getMinWidth, getName, getOpacity, getOpacityDeep, getPageBreak, getPageBreakMax, getPageBreakPage, getPageBreakPageMax, getPageShape, getParent, getParent, getPrefHeight, getPrefHeight, getPrefWidth, getPrefWidth, getPropertyNameMapped, getPropertyNames, getRoll, getRootShape, getRSS, getScaleX, getScaleY, getShapesToAncestor, getShapesToDescendant, getShapesToShape, getSize, getSkewX, getSkewY, getStroke, getStrokeColor, getStrokeOnTop, getStrokeStyle, getStrokeWidth, getTimeline, getTimeline, getTransform, getTransformFromShape, getTransformInverse, getTransformToShape, getUndoer, getURL, getVisbileBounds, getVisibleBounds, getVisibleBounds, getVisibleBounds, getWidth, getX, getXY, getXYP, getY, height, indexOf, intersects, isAncestor, isAnimProperty, 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, paintShapeAll, paintShapeChildren, paintShapeOver, put, removeBinding, removeBinding, removeDeepChangeListener, removeFromParent, removeMouseListener, repaint, repaint, rpgAll, rpgBindings, setAlignment, setAutosizing, setBestHeight, setBestSize, setBounds, setBounds, setColor, setDashArrayString, setDashPhase, setEffect, setEnabled, setFill, setFrame, setFrame, setFrameSize, setFrameX, setFrameXY, setFrameXY, setFrameY, setHover, setLayoutInfo, setLocked, setMinHeight, setMinSize, setMinWidth, setName, setOpacity, setParent, setPrefHeight, setPrefWidth, setRoll, setScaleX, setScaleXY, setScaleY, setShowing, setSize, setSize, setSkewX, setSkewXY, setSkewY, setStroke, setStrokeColor, setStrokeStyle, setStrokeWidth, setTime, setTimeline, setURL, setUseFill, setUseStroke, setVisible, setX, setXY, setXY, setXYP, setY, shapeHidden, shapeShown, 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
-
-
-
-
Method Detail
-
createXString
public RMXString createXString()
Overrides RMText method to create an xstring that defaults to Arial 10.- Overrides:
createXString
in classRMTextShape
-
getShowAxisLabels
public boolean getShowAxisLabels()
Returns whether the graph draws axis labels.
-
setShowAxisLabels
public void setShowAxisLabels(boolean aFlag)
Sets whether the graph draws axis labels.
-
getShowMajorGrid
public boolean getShowMajorGrid()
Returns whether the graph draws the major axis.
-
setShowMajorGrid
public void setShowMajorGrid(boolean aFlag)
Sets whether the graph draws the major axis.
-
getShowMinorGrid
public boolean getShowMinorGrid()
Returns whether the graph draws the minor axis.
-
setShowMinorGrid
public void setShowMinorGrid(boolean aFlag)
Sets whether the graph draws the minor axis.
-
getAxisMin
public float getAxisMin()
Returns the axis minimum.
-
setAxisMin
public void setAxisMin(float aValue)
Sets the axis minimum.
-
getAxisMax
public float getAxisMax()
Returns the axis maximum.
-
setAxisMax
public void setAxisMax(float aValue)
Sets the axis maximum.
-
getAxisCount
public int getAxisCount()
Returns the number of increments in the axis.
-
setAxisCount
public void setAxisCount(int aValue)
Sets the number of increments in the axis.
-
toXML
public RXElement toXML(RXArchiver anArchiver)
XML archival.- Specified by:
toXML
in interfaceArchivable
- Overrides:
toXML
in classRMTextShape
-
fromXML
public java.lang.Object fromXML(RXArchiver anArchiver, RXElement anElement)
XML unarchival.- Specified by:
fromXML
in interfaceArchivable
- Overrides:
fromXML
in classRMTextShape
-
-