|
ReportMill 10 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.shape.graph.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 | |
---|---|
java.lang.Object |
clone()
Standard clone implementation. |
RMShape |
cloneDeep()
Overrides clone deep to avoid cloning children (just do rebuild). |
void |
copy(java.lang.Object anObj)
Standard copy implementation. |
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. |
RMGraphPart3D |
get3D()
Returns the 3d shape. |
RMGraphPartBars |
getBars()
Returns the bars shape. |
RMRect |
getBoundsMarked()
Overrides shape implementation to reflect that transformed children may extend outside bounds. |
RMFill |
getFill(int anIndex)
Returns the specific fill at the given index. |
int |
getFillCount()
Override to use selected shape. |
java.util.List |
getFills()
Returns this list of fills - a special list that can be operated on directly. |
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. |
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. |
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 |
paintShape(com.reportmill.shape.RMShapePainter aPainter,
java.awt.Graphics2D g)
Overrides paintShape to suppress drawing. |
void |
rebuild()
Notifies graph area that something crucial has changed requiring a rebuild. |
void |
rebuild3D()
Notifies graph area that its 3D state has changed and 3D shape needs to be rebuilt. |
void |
rebuildImmediately()
Notifies graph area that something crucial has changed requiring a rebuild. |
RMShape |
rpgClone(com.reportmill.base.ReportMill aRM,
RMGraphRPG graphRPG)
Returns a clone with report generation performed on it. |
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 |
setHeight(double aValue)
Override to rebuild sample graph. |
void |
setItemsLayout(java.lang.String aLayout)
Sets the layout of section items. |
void |
setNeedsRepaint()
Overrides shape implementation to repaint parent. |
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 |
setTextColor(RMColor aColor)
Sets the text color for the shape. |
void |
setUnderlined(boolean aFlag)
Sets the shape to underline. |
void |
setWidth(double aValue)
Override to rebuild sample graph. |
com.reportmill.archiver.RXElement |
toXML(com.reportmill.archiver.RXArchiver anArchiver)
XML archival. |
void |
toXMLDeep(com.reportmill.archiver.RXArchiver anArchiver,
com.reportmill.archiver.RXElement anElement)
XML archival - override shape implementation to suppress archival of children. |
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 |
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 int getFillCount()
getFillCount
in class RMShape
public RMFill getFill(int anIndex)
getFill
in class RMShape
public java.util.List getFills()
getFills
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 setNeedsRepaint()
setNeedsRepaint
in class RMShape
public RMRect getBoundsMarked()
getBoundsMarked
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 paintShape(com.reportmill.shape.RMShapePainter aPainter, java.awt.Graphics2D g)
paintShape
in interface com.reportmill.shape.RMShapePainter.Paint
public void setWidth(double aValue)
setWidth
in class RMShape
public void setHeight(double aValue)
setHeight
in class RMShape
public void rebuild()
public void rebuildImmediately()
public void rebuild3D()
public boolean equals(java.lang.Object anObj)
equals
in class RMShape
public java.lang.Object clone()
clone
in class RMShape
public void copy(java.lang.Object anObj)
copy
in class RMShape
public RMShape rpgClone(com.reportmill.base.ReportMill aRM, RMGraphRPG graphRPG)
public RMShape cloneDeep()
cloneDeep
in class RMShape
public com.reportmill.archiver.RXElement toXML(com.reportmill.archiver.RXArchiver anArchiver)
toXML
in class RMShape
public void toXMLDeep(com.reportmill.archiver.RXArchiver anArchiver, com.reportmill.archiver.RXElement anElement)
toXMLDeep
in class RMShape
public java.lang.Object fromXML(com.reportmill.archiver.RXArchiver anArchiver, com.reportmill.archiver.RXElement anElement)
fromXML
in class RMShape
|
ReportMill 10 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |