|
ReportMill 11 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.reportmill.base.RMObject
com.reportmill.shape.RMShape
com.reportmill.graphing.RMGraphArea
public class RMGraphArea
This class represents the actual graph area (a place holder really).
Field Summary | |
---|---|
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
|
static java.lang.String |
LAYOUT_ABREAST
|
static java.lang.String |
LAYOUT_LAYER
|
static java.lang.String |
LAYOUT_MERGE
|
static java.lang.String |
LAYOUT_SEPARATE
|
static java.lang.String |
LAYOUT_STACK
|
Fields inherited from class com.reportmill.shape.RMShape |
---|
WRAP_TYPE_BOTH, WRAP_TYPE_NONE |
Constructor Summary | |
---|---|
RMGraphArea()
Creates a new graph area. |
Method Summary | |
---|---|
void |
addChild(RMShape aShape,
int anIndex)
Overrides shape version to suppress property change. |
RMGraphArea |
clone()
Standard clone implementation. |
RMShape |
cloneDeep()
Overrides clone deep to avoid cloning children (just do rebuild). |
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. |
com.reportmill.shape.fill.RMEffect |
getEffect()
Override to use selected shape. |
RMFill |
getFill()
Override to use selected shape. |
RMFill |
getFillSuper()
Override to use selected shape. |
RMFont |
getFont()
Overrides shape implementation to pass on to selected shape. |
RMFormat |
getFormat()
Overrides shape implementation to pass on to selected shape. |
RMGraph |
getGraph()
Returns the graph that owns this graph area. |
java.lang.String |
getItemsLayout()
Returns the layout of section items. |
RMGraphPartLabelAxis |
getLabelAxis()
Returns the label axis shape. |
RMXString.Outline |
getOutline()
Returns the outline for the shape. |
RMGraphPartPie |
getPie()
Returns the pie shape. |
RMShape |
getSampleGraphArea()
Returns a graph area configured like this one showing sample data. |
java.lang.String |
getSelectedPart()
Returns the currently selected part. |
RMShape |
getSelectedPartShape()
Returns the selected part shape. |
RMGraphPartSeries |
getSelectedSeries()
Returns the selected series part. |
RMGraphPartSeries |
getSeries(int anIndex)
Returns the individual series object and the given index. |
int |
getSeriesCount()
Returns the number of series. |
java.lang.String |
getSeriesLayout()
Returns the layout of series values. |
RMStroke |
getStroke()
Override to use selected shape. |
RMStroke |
getStrokeSuper()
Override to use selected shape. |
RMColor |
getTextColor()
Returns the text color for the shape. |
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 series layout is meshed. |
boolean |
isSeparated()
Returns whether series layout is separated. |
boolean |
isStacked()
Returns whether section items layout is stacked. |
boolean |
isUnderlined()
Returns whether the shape is underlined. |
boolean |
isVertical()
Returns whether graph area is considered vertical. |
void |
paint(com.reportmill.shape.RMShapePainter aPainter,
java.awt.Graphics2D g)
Overrides paint to suppress selected part. |
void |
paintShape(com.reportmill.shape.RMShapePainter aPainter,
java.awt.Graphics2D g)
Overrides paintShape to suppress normal shape paint. |
void |
paintShapeOver(com.reportmill.shape.RMShapePainter painter,
java.awt.Graphics2D graphics)
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 |
rebuild()
Notifies graph area that something crucial has changed requiring a rebuild. |
void |
rebuildImmediately()
Notifies graph area that something crucial has changed requiring a rebuild. |
RMShape |
removeChild(int anIndex)
Overrides shape version to suppress property change. |
void |
repaint()
Overrides shape implementation to repaint parent too. |
void |
revalidate()
Overrides shape implementation to request rebuild. |
RMShape |
rpgClone(com.reportmill.base.ReportMill aRM,
RMGraph aGraph)
Returns a clone with report generation performed on it. |
void |
set3D(RMGraphPart3D aGraphPart3D)
Sets the 3d shape. |
void |
setEffect(com.reportmill.shape.fill.RMEffect anEffect)
Override to use selected shape. |
void |
setFill(RMFill aFill)
Override to use selected shape. |
void |
setFont(RMFont aFont)
Overrides shape implementation to pass on to selected shape. |
void |
setFormat(RMFormat aFormat)
Overrides shape implementation to pass on to selected shape. |
void |
setItemsLayout(java.lang.String aLayout)
Sets the layout of section items. |
void |
setOutline(RMXString.Outline anOutline)
Sets the outline for the shape. |
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. |
void |
setSeriesLayout(java.lang.String aLayout)
Sets the layout of series values. |
void |
setStroke(RMStroke aStroke)
Override to use selected shape. |
void |
setTextColor(RMColor aColor)
Sets the text color for the shape. |
void |
setUnderlined(boolean aFlag)
Sets the shape to underline. |
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. |
void |
validate()
Override validate to rebuild. |
Methods inherited from class com.reportmill.base.RMObject |
---|
addListener, addPropertyChangeListener, firePropertyChange, getListener, getListenerCount, getListeners, isFirePropertyChangeEnabled, isUndoing, removeListener, removePropertyChangeListener, setFirePropertyChangeEnabled, setUndoing |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
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 static final java.lang.String LAYOUT_MERGE
public static final java.lang.String LAYOUT_SEPARATE
public static final java.lang.String LAYOUT_ABREAST
public static final java.lang.String LAYOUT_STACK
public static final java.lang.String LAYOUT_LAYER
Constructor Detail |
---|
public RMGraphArea()
Method Detail |
---|
public RMGraph getGraph()
public java.lang.String getSeriesLayout()
public void setSeriesLayout(java.lang.String aLayout)
public java.lang.String getItemsLayout()
public void setItemsLayout(java.lang.String 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 RMStroke getStroke()
getStroke
in class RMShape
public void setStroke(RMStroke aStroke)
setStroke
in class RMShape
public RMStroke getStrokeSuper()
public RMFill getFill()
getFill
in class RMShape
public void setFill(RMFill aFill)
setFill
in class RMShape
public RMFill getFillSuper()
public com.reportmill.shape.fill.RMEffect getEffect()
getEffect
in class RMShape
public void setEffect(com.reportmill.shape.fill.RMEffect anEffect)
setEffect
in class RMShape
public RMColor getTextColor()
getTextColor
in class RMShape
public void setTextColor(RMColor aColor)
setTextColor
in class RMShape
public RMFont getFont()
getFont
in class RMShape
public void setFont(RMFont aFont)
setFont
in class RMShape
public boolean isUnderlined()
isUnderlined
in class RMShape
public void setUnderlined(boolean aFlag)
setUnderlined
in class RMShape
public RMXString.Outline getOutline()
getOutline
in class RMShape
public void setOutline(RMXString.Outline anOutline)
setOutline
in class RMShape
public RMFormat getFormat()
getFormat
in class RMShape
public void setFormat(RMFormat aFormat)
setFormat
in class RMShape
public void repaint()
repaint
in class RMShape
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 void revalidate()
revalidate
in class RMShape
public void validate()
validate
in class RMShape
public void rebuild()
public void rebuildImmediately()
public void addChild(RMShape aShape, int anIndex)
addChild
in class RMShape
public RMShape removeChild(int anIndex)
removeChild
in class RMShape
public void paint(com.reportmill.shape.RMShapePainter aPainter, java.awt.Graphics2D g)
paint
in class RMShape
public void paintShape(com.reportmill.shape.RMShapePainter aPainter, java.awt.Graphics2D g)
paintShape
in class RMShape
public void paintShapeOver(com.reportmill.shape.RMShapePainter painter, java.awt.Graphics2D graphics)
paintShapeOver
in class RMShape
public RMShape getSampleGraphArea()
public void propertyChange(java.beans.PropertyChangeEvent anEvent)
propertyChange
in interface java.beans.PropertyChangeListener
propertyChange
in class RMShape
public RMShape rpgClone(com.reportmill.base.ReportMill aRM, RMGraph aGraph)
public boolean equals(java.lang.Object anObj)
equals
in class RMShape
public RMGraphArea clone()
clone
in class RMShape
public RMShape cloneDeep()
cloneDeep
in class RMShape
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
|
ReportMill 11 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |