ReportMill 10 API

com.reportmill.shape.graph
Class RMGraphPartValueAxis

java.lang.Object
  extended by com.reportmill.base.RMObject
      extended by com.reportmill.shape.RMShape
          extended by com.reportmill.shape.RMRectangle
              extended by com.reportmill.shape.RMText
                  extended by com.reportmill.shape.graph.RMGraphPartValueAxis
All Implemented Interfaces:
java.lang.Cloneable

public class RMGraphPartValueAxis
extends RMText

This shape is used by graph area to hold attributes of the value axis.


Field Summary
 
Fields inherited from class com.reportmill.shape.RMText
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_FULL, ALIGN_LEFT, ALIGN_MIDDLE, ALIGN_RIGHT, ALIGN_TOP, WRAP_BASIC, WRAP_NONE, WRAP_SCALE
 
Fields inherited from class com.reportmill.shape.RMShape
WRAP_TYPE_BOTH, WRAP_TYPE_NONE
 
Constructor Summary
RMGraphPartValueAxis()
           
 
Method Summary
 void copy(java.lang.Object anObj)
          Copies the attributes from the given object into receiver (for undo).
 RMXString createXString()
          Overrides RMText method to create an xstring that defaults to Arial 10.
 boolean equals(java.lang.Object anObj)
          Standard equals implementation.
 java.lang.Object fromXML(com.reportmill.archiver.RXArchiver anArchiver, com.reportmill.archiver.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.
 com.reportmill.archiver.RXElement toXML(com.reportmill.archiver.RXArchiver anArchiver)
          XML archival.
 
Methods inherited from class com.reportmill.shape.RMText
clone, fromXMLFinish, getAlign, getAlignString, getAlignVertical, getAlignVerticalString, getBoundsFromTextBounds, getCharSpacing, getCoalesceNewlines, getDrawsSelectionRect, getFont, getFormat, getHeightToFit, getHeightToFit, getLineGap, getLineHeightMax, getLineHeightMin, getLineSpacing, getLinkedText, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getOutline, getPath, getPathInBounds, getPathInBounds, getPathShape, getPerformsWrap, getPolygonForFrag, getText, getTextBounds, getTextColor, getTextLayout, getTextLayout, getTextOrigin, getVisibleEnd, getVisibleStart, getWidthToFit, getWraps, getXString, isAllTextVisible, isStructured, isUnderlined, length, peerDidChange, resolvePageReferences, rpgClone, rpgClonePreprocess, scaleFonts, scaleTextToFit, setAlign, setAlignVertical, setAlignVerticalString, setCharSpacing, setCoalesceNewlines, setDrawsSelectionRect, setFont, setFormat, setHeight, setHeightToFit, setLineGap, setLineHeightMax, setLineHeightMin, setLineSpacing, setLinkedText, setNeedsRepaint, setOutline, setPathShape, setPerformsWrap, setRadius, setText, setTextColor, setUnderlined, setWraps, setXString, superSelectable, toString, turnToChars, turnToPath
 
Methods inherited from class com.reportmill.shape.RMRectangle
getRadius
 
Methods inherited from class com.reportmill.shape.RMShape
acceptsChildren, acceptsMouse, addChild, addChild, bounds, boundsChanged, boundsChanged, bringShapesToFront, canBeUngrouped, childrenSuperSelectImmediately, cloneDeep, contains, convertedPointFromShape, convertedPointToShape, convertedRectFromShape, convertedRectToShape, convertedSizeFromShape, convertedSizeToShape, convertedVectorFromShape, convertedVectorToShape, convertFromShape, convertPathFromShape, convertPathToShape, convertPointFromShape, convertPointToShape, convertRectFromShape, convertRectToShape, convertSizeFromShape, convertSizeToShape, convertToShape, convertVectorFromShape, convertVectorToShape, copyShape, createLayout, delete, didChange, divideShapeFromEdge, divideShapeFromTop, doLayout, fromXMLDeep, get, getActionScript, getAnim, getAnim, getAnimator, getAnimator, getAutosizeHeight, getAutosizing, getBounds, getBoundsInside, getBoundsMarked, getBoundsOfChildren, getBoundsOfChildren, getBoundsSuperSelected, getCausesWrap, getCausesWrapType, getChild, getChildAnimator, getChildAnimator, getChildContaining, getChildCount, getChildCountHitable, getChildCountLayout, getChildCountVisible, getChildHitable, getChildLast, getChildLayout, getChildren, getChildrenIntersecting, getChildrenWhoCauseWrap, getChildrenWithClass, getChildrenWithClass, getChildVisible, getChildWithClass, getChildWithName, getColor, getCommonAncestor, getDatasetKey, getDatasetKeyDeep, getDatasetKeyShape, getDocument, getFill, getFill, getFill, getFillCount, getFills, getFrame, getFrame, getFrameMaxX, getFrameMaxY, getFrameX, getFrameXY, getFrameY, getGroupShape, getHeight, getImageFill, getLayout, getLineWidth, getListKey, getMaxX, getMaxY, getName, getOpacity, getOpacityDeep, getPageBreak, getPageBreakMax, getPageBreakPage, getPageBreakPageMax, getPageCount, getPageShape, getParent, getParentCount, getParents, getPropertyKey, getPropertyKeyCount, getPropertyKeyName, getRoll, getRootShape, getScaleX, getScaleY, getShapesToAncestor, getShapesToDescendant, getShapesToShape, getSize, getSizeP, getSkewX, getSkewY, getStroke, getStrokeColor, getToolClassName, getTransform, getTransformFromShape, getTransformInverse, getTransformToShape, getUndoer, getUrl, getWidth, getX, getXY, getXYP, getY, groupShapes, height, indexOf, indexOf, intersects, invalidate, isAncestor, isDescendant, isLocked, isRoot, isValid, layoutReset, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, notRSS, offsetChildrenXY, offsetXY, page, pageMax, put, putPropertyKey, reclaimChildren, removeChild, removeChild, removeChildren, removeChildren, removeFromParent, revalidate, rpgCloneBase, rpgCloneChildren, rpgCloneNotification, rpgCloneUrl, sendShapesToBack, setActionScript, setAnim, setAutosizeHeight, setAutosizing, setBounds, setBounds, setCausesWrapType, setChildren, setColor, setFill, setFrame, setFrame, setFrameSize, setFrameX, setFrameXY, setFrameXY, setFrameY, setHeightDeep, setHeightToFit, setLayout, setLayoutEnabled, setLineWidth, setLocked, setName, setNeedsRepaint, setOpacity, setParent, setRoll, setScaleX, setScaleXY, setScaleY, setSize, setSize, setSizeDeep, setSizeP, setSizeToFit, setSizeToFit, setSkewX, setSkewXY, setSkewY, setStroke, setStrokeColor, setTime, setUrl, setWidth, setWidthDeep, setWidthToFit, setX, setXY, setXY, setXYP, setY, sizesToFitChildren, toXMLDeep, undoClone, undoCopy, undoEquals, undoerAddDirtyObject, undoerDisable, undoerEnable, undoerSetUndoTitle, validate, width, willChange, willChange, x, y
 
Methods inherited from class com.reportmill.base.RMObject
didUndo, getAnimAttribute, getClassNameShort
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RMGraphPartValueAxis

public RMGraphPartValueAxis()
Method Detail

createXString

public RMXString createXString()
Overrides RMText method to create an xstring that defaults to Arial 10.


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.


equals

public boolean equals(java.lang.Object anObj)
Standard equals implementation.

Overrides:
equals in class RMText

copy

public void copy(java.lang.Object anObj)
Copies the attributes from the given object into receiver (for undo).

Overrides:
copy in class RMText

toXML

public com.reportmill.archiver.RXElement toXML(com.reportmill.archiver.RXArchiver anArchiver)
XML archival.

Overrides:
toXML in class RMText

fromXML

public java.lang.Object fromXML(com.reportmill.archiver.RXArchiver anArchiver,
                                com.reportmill.archiver.RXElement anElement)
XML unarchival.

Overrides:
fromXML in class RMText

ReportMill 10 API