public class RMGraphArea extends RMProxyShape
Modifier and Type | Class and Description |
---|---|
static class |
RMGraphArea.GraphAreaLayout
A layout to rebuild graph area.
|
static class |
RMGraphArea.ItemLayout |
static class |
RMGraphArea.SectionLayout |
RMTypes.AlignX, RMTypes.AlignY
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
GRAPH_PART_3D |
static java.lang.String |
GRAPH_PART_BARS |
static java.lang.String |
GRAPH_PART_GRAPH_AREA |
static java.lang.String |
GRAPH_PART_LABEL_AXIS |
static java.lang.String |
GRAPH_PART_NONE |
static java.lang.String |
GRAPH_PART_PIE |
static java.lang.String |
GRAPH_PART_SERIES |
static java.lang.String |
GRAPH_PART_VALUE_AXIS |
WRAP_TYPE_BOTH, WRAP_TYPE_NONE
Constructor and Description |
---|
RMGraphArea()
Creates a new graph area.
|
Modifier and Type | Method and Description |
---|---|
RMGraphArea |
clone()
Standard clone implementation.
|
RMShape |
cloneDeep()
Overrides clone deep to avoid cloning children (just do rebuild).
|
RMShapeLayout |
createLayout()
Create special GraphAreaLayout for GraphArea.
|
boolean |
equals(java.lang.Object anObj)
Standard equals implementation.
|
java.lang.Object |
fromXMLShape(com.reportmill.archiver.RXArchiver anArchiver,
com.reportmill.archiver.RXElement anElement,
java.lang.Object anOwner)
XML unarchival.
|
void |
fromXMLShapeChildren(com.reportmill.archiver.RXArchiver anArchiver,
com.reportmill.archiver.RXElement anElement,
java.lang.Object anOwner)
XML unarchival - override to suppress unarchival of children (don't really need this).
|
RMGraphPart3D |
get3D()
Returns the 3d shape.
|
RMGraphPartBars |
getBars()
Returns the bars shape.
|
RMGraph |
getGraph()
Returns the graph that owns this graph area.
|
RMGraphArea.ItemLayout |
getItemsLayout()
Returns the layout of section items.
|
RMGraphPartLabelAxis |
getLabelAxis()
Returns the label axis shape.
|
RMGraphPartPie |
getPie()
Returns the pie shape.
|
RMGraphArea.SectionLayout |
getSectionLayout()
Returns the layout of series values.
|
java.lang.String |
getSelectedPart()
Returns the currently selected part.
|
RMShape |
getSelectedPartShape()
Returns the selected part shape.
|
RMGraphPartSeries |
getSelectedSeries()
Returns the selected series part, if available.
|
RMGraphPartSeries |
getSeries(int anIndex)
Returns the individual series object and the given index.
|
int |
getSeriesCount()
Returns the number of series.
|
RMGraphPartValueAxis |
getValueAxis()
Returns the value axis shape.
|
boolean |
isAbreast()
Returns whether section items layout is abreast.
|
boolean |
isLayered()
Returns whether section items layout is layered.
|
boolean |
isMeshed()
Returns whether section layout is meshed.
|
boolean |
isSeparated()
Returns whether section layout is separated.
|
boolean |
isStacked()
Returns whether section items layout is stacked.
|
boolean |
isVertical()
Returns whether graph area is considered vertical.
|
void |
paint(java.awt.Graphics2D aGraphics)
Overrides paint to suppress selected part.
|
void |
paintShape(java.awt.Graphics2D aGraphics)
Overrides paintShape to suppress normal shape paint.
|
void |
paintShapeOver(java.awt.Graphics2D aGraphics)
Overrides paintShapeOver to suppress normal shape paint.
|
void |
propertyChange(java.beans.PropertyChangeEvent anEvent)
Overrides normal version to suppress child changes and propagate part changes.
|
void |
repaint()
Overrides shape implementation to repaint parent too.
|
RMShape |
rpgClone(ReportMill aRM,
RMGraph aGraph)
Returns a clone with report generation performed on it.
|
void |
set3D(RMGraphPart3D aGraphPart3D)
Sets the 3d shape.
|
void |
setItemsLayout(RMGraphArea.ItemLayout aLayout)
Sets the layout of section items.
|
void |
setSectionLayout(RMGraphArea.SectionLayout aLayout)
Sets the layout of series values.
|
void |
setSelectedPart(java.awt.geom.Point2D aPoint)
Sets the currently selected part by point.
|
void |
setSelectedPart(java.lang.String aPart)
Sets the currently selected part.
|
com.reportmill.archiver.RXElement |
toXMLShape(com.reportmill.archiver.RXArchiver anArchiver,
java.lang.Object anOwner)
XML archival.
|
void |
toXMLShapeChildren(com.reportmill.archiver.RXArchiver anArchiver,
com.reportmill.archiver.RXElement anElement,
java.lang.Object anOwner)
XML archival - override shape implementation to suppress archival of children.
|
getEffect, getFill, getFillSuper, getFont, getFormat, getHover, getOpacity, getOutline, getProxy, getStroke, getStrokeSuper, getTextColor, getURL, isUnderlined, setEffect, setFill, setFont, setFormat, setHover, setOpacity, setOutline, setProxy, setStroke, setTextColor, setUnderlined, setURL
acceptsChildren, acceptsMouse, addAction, addActions, addBinding, addChild, addChild, addChild, addChild, addDeepChangeListener, addListener, addMouseListener, animUpdate, bounds, bringShapesToFront, childrenSuperSelectImmediately, contains, convertedPointFromShape, convertedPointToShape, convertedRectFromShape, convertedRectToShape, convertedSizeFromShape, convertedSizeToShape, convertedVectorFromShape, convertedVectorToShape, convertFromShape, convertPathFromShape, convertPathToShape, convertPointFromShape, convertPointToShape, convertRectFromShape, convertRectToShape, convertSizeFromShape, convertSizeToShape, convertToShape, convertVectorFromShape, convertVectorToShape, copyShape, createDivideShapeRemainder, createPartClone, deepChange, divideShapeFromEdge, divideShapeFromTop, doLayout, fromXML, fromXMLShapeLayout, get, get, getAction, getAlignmentX, getAlignmentY, getAncestor, getAncestorCount, getAncestorInCommon, getAnimator, getAnimator, getAutosizing, getAutosizingDefault, getBestHeight, getBestSize, getBestSize, getBestWidth, getBinding, getBinding, getBindingCount, getBounds, getBoundsInside, getBoundsMarked, getBoundsMarkedDeep, getBoundsOfChildren, getCausesWrap, getCausesWrapType, getChild, getChildAnimator, getChildAnimator, getChildArray, getChildClipShape, getChildContaining, getChildCount, getChildLast, getChildren, getChildrenIntersecting, getChildrenWhoCauseWrap, getChildrenWithClass, getChildrenWithClass, getChildWithClass, getChildWithName, getClipShape, getColor, getDatasetEntity, getDatasetKey, getDocument, getEventAdapter, getFrame, getFrame, getFrameMaxX, getFrameMaxY, getFrameX, getFrameXY, getFrameY, getHeight, getImageFill, getLayout, getLayout, getLayoutInfo, getLineWidth, getMaskPath, getMaximumSize, getMaximumSizeProperty, getMaxX, getMaxY, getMinimumSize, getMinimumSizeProperty, getName, getOpacityDeep, getOriginal, getPageBreak, getPageBreakMax, getPageBreakPage, getPageBreakPageMax, getPageShape, getParent, getParentWithClass, getPart, getPartCount, getPartDeep, getPartDeepCount, getPath, getPathInBounds, getPreferredSize, getPreferredSize, getPreferredSizeProperty, getPropertyNameMapped, getPropertyNames, getReportMill, getRoll, getRootShape, getScaleX, getScaleY, getShapesToAncestor, getShapesToDescendant, getShapesToShape, getSize, getSizeP, getSkewX, getSkewY, getStrokeColor, getStrokeWidth, getTimeline, getTimeline, getTransform, getTransformFromShape, getTransformInverse, getTransformToShape, getUndoer, getVisbileBounds, getVisibleBounds, getVisibleBounds, getVisibleBounds, getWidth, getX, getXY, getXYP, getY, height, indexOf, indexOfChild, intersects, isAncestor, isAnimProperty, isDescendant, isEditing, isEnabled, isHittable, isHittableChild, isLocked, isMaximumSizeSet, isMinimumSizeSet, isRoot, isRSS, isShowing, isViewing, isVisible, isVisibleChild, layoutReset, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, notRSS, offsetChildrenXY, offsetXY, page, pageMax, paintShapeAll, paintShapeChildren, put, removeAction, removeBinding, removeBinding, removeChild, removeChild, removeChildren, removeDeepChangeListener, removeFromParent, removeMouseListener, repaint, resolvePageReferences, revalidate, sendShapesToBack, setAction, setAlignmentX, setAlignmentY, setAutosizing, setBestHeight, setBestSize, setBestSize, setBounds, setBounds, setCausesWrap, setCausesWrapType, setColor, setEnabled, setFrame, setFrame, setFrameSize, setFrameX, setFrameXY, setFrameXY, setFrameY, setHeight, setLayout, setLayoutInfo, setLineWidth, setLocked, setMaximumSize, setMinimumSize, setName, setParent, setPreferredSize, setReportMill, setReportMillBindings, setReportMillDeep, setRoll, setScaleX, setScaleXY, setScaleY, setShowing, setSize, setSize, setSizeP, setSkewX, setSkewXY, setSkewY, setStrokeColor, setStrokeWidth, setTime, setVisible, setWidth, setX, setXY, setXY, setXYP, setY, superSelectable, toString, toXML, toXMLShapeLayout, undoerDisable, undoerEnable, undoerSetUndoTitle, validate, width, x, y
addPropertyChangeListener, removePropertyChangeListener
getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListener
public static final java.lang.String GRAPH_PART_NONE
public static final java.lang.String GRAPH_PART_GRAPH_AREA
public static final java.lang.String GRAPH_PART_VALUE_AXIS
public static final java.lang.String GRAPH_PART_LABEL_AXIS
public static final java.lang.String GRAPH_PART_BARS
public static final java.lang.String GRAPH_PART_PIE
public static final java.lang.String GRAPH_PART_3D
public static final java.lang.String GRAPH_PART_SERIES
public RMGraph getGraph()
public RMGraphArea.SectionLayout getSectionLayout()
public void setSectionLayout(RMGraphArea.SectionLayout aLayout)
public RMGraphArea.ItemLayout getItemsLayout()
public void setItemsLayout(RMGraphArea.ItemLayout aLayout)
public boolean isVertical()
public boolean isMeshed()
public boolean isSeparated()
public boolean isAbreast()
public boolean isStacked()
public boolean isLayered()
public java.lang.String getSelectedPart()
public void setSelectedPart(java.lang.String aPart)
public RMShape getSelectedPartShape()
public void repaint()
public void setSelectedPart(java.awt.geom.Point2D aPoint)
public RMGraphPartValueAxis getValueAxis()
public RMGraphPartLabelAxis getLabelAxis()
public RMGraphPartBars getBars()
public RMGraphPartPie getPie()
public int getSeriesCount()
public RMGraphPartSeries getSeries(int anIndex)
public RMGraphPartSeries getSelectedSeries()
public RMGraphPart3D get3D()
public void set3D(RMGraphPart3D aGraphPart3D)
public RMShapeLayout createLayout()
public void paint(java.awt.Graphics2D aGraphics)
public void paintShape(java.awt.Graphics2D aGraphics)
paintShape
in class RMShape
public void paintShapeOver(java.awt.Graphics2D aGraphics)
paintShapeOver
in class RMShape
public void propertyChange(java.beans.PropertyChangeEvent anEvent)
propertyChange
in interface java.beans.PropertyChangeListener
propertyChange
in class RMProxyShape
public RMShape rpgClone(ReportMill aRM, RMGraph aGraph)
public boolean equals(java.lang.Object anObj)
public RMGraphArea clone()
clone
in class RMProxyShape
public RMShape cloneDeep()
public com.reportmill.archiver.RXElement toXMLShape(com.reportmill.archiver.RXArchiver anArchiver, java.lang.Object anOwner)
toXMLShape
in class RMShape
public java.lang.Object fromXMLShape(com.reportmill.archiver.RXArchiver anArchiver, com.reportmill.archiver.RXElement anElement, java.lang.Object anOwner)
fromXMLShape
in class RMShape
public void toXMLShapeChildren(com.reportmill.archiver.RXArchiver anArchiver, com.reportmill.archiver.RXElement anElement, java.lang.Object anOwner)
toXMLShapeChildren
in class RMShape
public void fromXMLShapeChildren(com.reportmill.archiver.RXArchiver anArchiver, com.reportmill.archiver.RXElement anElement, java.lang.Object anOwner)
fromXMLShapeChildren
in class RMShape