ReportMill 8.0 API

com.reportmill.shape
Class RMGraph.BarLabel

java.lang.Object
  extended bycom.reportmill.base.RMObject
      extended bycom.reportmill.shape.RMShape
          extended bycom.reportmill.shape.RMSwitchShape
              extended bycom.reportmill.shape.RMGraph.BarLabel
All Implemented Interfaces:
java.lang.Cloneable, com.reportmill.base.RMArchiver.Archiving
Enclosing class:
RMGraph

public static class RMGraph.BarLabel
extends RMSwitchShape

An inner class for bar labels.


Field Summary
 
Fields inherited from class com.reportmill.shape.RMShape
HandleMaxXMaxY, HandleMaxXMidY, HandleMaxXMinY, HandleMidXMaxY, HandleMidXMinY, HandleMinXMaxY, HandleMinXMidY, HandleMinXMinY, HandleWidth, WRAP_TYPE_BOTH, WRAP_TYPE_NONE
 
Constructor Summary
RMGraph.BarLabel()
          Creates a bar label suitable for insertion in a new graph.
 
Method Summary
 boolean acceptsEvents()
          Editor method indicates that bar label accepts mouse events when super selected.
 boolean childrenSuperSelectImmediately()
          Editor method indicates that children should immediately super select.
 java.lang.String getDefaultVersionName()
          Returns the default version name for this switch shape subclass.
 RMText getText()
          Returns the text associated with this bar label.
 java.lang.String getToolClassName()
          Editor method - indicates that this shape should use Scene3D's tool.
 int getVersionTextLength(java.lang.String v)
          Returns the length of the text for a given switch shape version name.
 boolean superSelectable()
          Editor method indicates that bar label is super selectable.
 com.ribs.RXElement toXML(com.ribs.RXArchiver anArchiver)
          XML archival.
 
Methods inherited from class com.reportmill.shape.RMSwitchShape
acceptsChildren, acceptsMouse, alternateShapeInstance, clone, cloneDeep, copy, equals, fromXML, getAlternates, getChildAnimator, getVersion, getVersion, getVersionKey, getVersionNames, hasAlternateVersions, hasMouseVersions, hasVersion, initWithArchiver, mouseEntered, mouseExited, removeVersion, rpgClone, rpgClone, setAlternates, setChildAnimator, setVersion, setVersion, setVersionKey, setWidthDeep
 
Methods inherited from class com.reportmill.shape.RMShape
acceptsDragKeys, acceptsFirstEvent, acceptsFormat, addChild, addChild, addChildBelowLastChild, bounds, boundsChanged, boundsChanged, bringShapesToFront, canBeUngrouped, childrenHitByPath, convertedPointFromShape, convertedPointToShape, convertedRectFromShape, convertedRectToShape, convertedSizeFromShape, convertedSizeToShape, convertedVectorFromShape, convertedVectorToShape, convertFromShape, convertPathFromShape, convertPathToShape, convertPointFromShape, convertPointToShape, convertRectFromShape, convertRectToShape, convertSizeFromShape, convertSizeToShape, convertToShape, convertVectorFromShape, convertVectorToShape, copyShape, delete, didChange, divideShapeFromEdge, divideShapeFromTop, dragExit, dragKeyAtPoint, dropKeyAtPoint, fromXMLDeep, get, getActionScript, getAnim, getAnim, getAnimator, getAnimator, getAutosizeHeight, getAutosizing, getBounds, getBoundsInside, getBoundsMarked, getBoundsOfChildren, getBoundsOfChildren, getBoundsSuperSelected, getCausesWrap, getCausesWrapType, getChild, getChildAnimator, getChildCount, getChildHitByPoint, getChildLast, getChildren, getChildrenWhoCauseWrap, getChildrenWhoDraw, getChildrenWhoHitTest, getChildSortedByX, getChildWithClass, getChildWithName, getColor, getCommonAncestor, getDocument, getFill, getFill, getFill, getFillCount, getFills, getFont, getFormat, getFrame, getFrame, getFrameMaxX, getFrameMaxY, getFrameX, getFrameXY, getFrameY, getGroupShape, getHandleAtPoint, getHandleCount, getHandleOpposing, getHandlePoint, getHandleRect, getHeight, getHeightToFit, getImageFill, getLineWidth, getListKey, getListKeyDeep, getListKeyShape, getMaxX, getMaxY, getName, getOpacity, getOpacityDeep, getOutline, getPageCount, getPageShape, getParent, getParentCount, getParents, getPath, getPathInBounds, getRoll, getRootShape, getScaleX, getScaleY, getShapesToAncestor, getShapesToDescendant, getShapesToShape, getSize, getSizeP, getSkewX, getSkewY, getStroke, getStrokeColor, getTextColor, getTransform, getTransformFromShape, getTransformInverse, getTransformToShape, getUndoer, getUrl, getWidth, getWidthToFit, getX, getXY, getXYP, getY, groupShapes, hasPageBreaks, height, hitByPath, hitByPoint, indexOf, indexOf, isAncestor, isDescendant, isLocked, isRoot, isUnderlined, mouseDragged, mouseMoved, mousePressed, mouseReleased, moveHandleToPoint, notRSS, offsetChildrenXY, offsetXY, page, pageBreakMax, pageBreakPageMax, pageMax, put, reclaimChildren, removeChild, removeChild, removeChildren, removeChildren, removeFromParent, resolvePageReferences, rpgCloneBase, rpgCloneChildren, rpgCloneConclude, rpgCloneNotification, rpgClonePrepare, rpgClonePreprocess, rpgCloneUrl, sendShapesToBack, setActionScript, setAnim, setAutosizeHeight, setAutosizing, setBounds, setBounds, setCausesWrapType, setChildren, setColor, setFill, setFont, setFormat, setFrame, setFrame, setFrameSize, setFrameX, setFrameXY, setFrameXY, setFrameY, setHeight, setHeightDeep, setHeightDeep, setHeightToFit, setLineWidth, setListKey, setLocked, setName, setNeedsRepaint, setNeedsRepaint, setOpacity, setOutline, setParent, setRoll, setScaleX, setScaleXY, setScaleY, setSize, setSize, setSizeDeep, setSizeP, setSizeToFit, setSizeToFit, setSkewX, setSkewXY, setSkewY, setStroke, setStrokeColor, setTextColor, setTime, setUnderlined, setUrl, setWidth, setWidthDeep, setWidthToFit, setX, setXY, setXY, setXYP, setY, sizesToFitChildren, superSelectImmediately, toString, undoClone, undoCopy, undoEquals, undoerAddDirtyObject, undoerDisable, undoerEnable, undoerSetUndoTitle, 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

RMGraph.BarLabel

public RMGraph.BarLabel()
Creates a bar label suitable for insertion in a new graph.

Method Detail

getDefaultVersionName

public java.lang.String getDefaultVersionName()
Returns the default version name for this switch shape subclass.

Overrides:
getDefaultVersionName in class RMSwitchShape

getText

public RMText getText()
Returns the text associated with this bar label.


getVersionTextLength

public int getVersionTextLength(java.lang.String v)
Returns the length of the text for a given switch shape version name.


toXML

public com.ribs.RXElement toXML(com.ribs.RXArchiver anArchiver)
XML archival.

Overrides:
toXML in class RMSwitchShape

superSelectable

public boolean superSelectable()
Editor method indicates that bar label is super selectable.

Overrides:
superSelectable in class RMSwitchShape

childrenSuperSelectImmediately

public boolean childrenSuperSelectImmediately()
Editor method indicates that children should immediately super select.

Overrides:
childrenSuperSelectImmediately in class RMShape

acceptsEvents

public boolean acceptsEvents()
Editor method indicates that bar label accepts mouse events when super selected.

Overrides:
acceptsEvents in class RMShape

getToolClassName

public java.lang.String getToolClassName()
Editor method - indicates that this shape should use Scene3D's tool.

Overrides:
getToolClassName in class RMShape

ReportMill 8.0 API