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,PropertyChangeListener,Cloneable,EventListener
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_SCALEFields inherited from class com.inductiveautomation.rm.shape.RMShape
BINDING_PROP_NAME, STROKE_BORDER, STROKE_DOUBLE, STROKE_HIDDEN, STROKE_SHAPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOverrides RMText method to create an xstring that defaults to Arial 10.fromXML(RXArchiver anArchiver, RXElement anElement) XML unarchival.intReturns the number of increments in the axis.floatReturns the axis maximum.floatReturns the axis minimum.booleanReturns whether the graph draws axis labels.booleanReturns whether the graph draws the major axis.booleanReturns whether the graph draws the minor axis.voidsetAxisCount(int aValue) Sets the number of increments in the axis.voidsetAxisMax(float aValue) Sets the axis maximum.voidsetAxisMin(float aValue) Sets the axis minimum.voidsetShowAxisLabels(boolean aFlag) Sets whether the graph draws axis labels.voidsetShowMajorGrid(boolean aFlag) Sets whether the graph draws the major axis.voidsetShowMinorGrid(boolean aFlag) Sets whether the graph draws the minor axis.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, toStringMethods inherited from class com.inductiveautomation.rm.shape.RMRectShape
getRadiusMethods 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, yMethods inherited from class com.inductiveautomation.rm.base.RMObject
addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, getPCEvent, removePropertyChangeListener, sendPropertyChangeMethods inherited from class com.inductiveautomation.rm.base.RMListenerList
addListener, getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListener
-
Constructor Details
-
RMGraphPartValueAxis
public RMGraphPartValueAxis()
-
-
Method Details
-
createXString
Overrides RMText method to create an xstring that defaults to Arial 10.- Overrides:
createXStringin 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
XML archival.- Specified by:
toXMLin interfaceArchivable- Overrides:
toXMLin classRMTextShape
-
fromXML
XML unarchival.- Specified by:
fromXMLin interfaceArchivable- Overrides:
fromXMLin classRMTextShape
-