|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.arcgis.display.BarChartSymbol
Defines a bar chart symbol.
This object is a symbol that is used by a ChartRenderer to draw bar or column charts for a feature layer.

| Constructor Summary | |
BarChartSymbol()
Constructs a BarChartSymbol using ArcGIS Engine. |
|
BarChartSymbol(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. |
|
| Method Summary | |
void |
addSymbol(ISymbol symbol)
Adds a symbol to the array. |
void |
assign(IClone src)
Assigns the properties of src to the receiver. |
void |
clearSymbols()
Removes all symbols from the array. |
void |
deleteSymbol(ISymbol symbol)
Delete the given symbol. |
void |
draw(IGeometry geometry)
Draws the specified shape. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone. |
double |
getAngle()
Marker symbol angle. |
I3DChartSymbol |
getAsI3DChartSymbol()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IBarChartSymbol |
getAsIBarChartSymbol()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IChartSymbol |
getAsIChartSymbol()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IClone |
getAsIClone()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IMarkerBackgroundSupport |
getAsIMarkerBackgroundSupport()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IMarkerSymbol |
getAsIMarkerSymbol()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IPersist |
getAsIPersist()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IPersistStream |
getAsIPersistStream()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
ISymbol |
getAsISymbol()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
ISymbolArray |
getAsISymbolArray()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
ILineSymbol |
getAxes()
The axis symbol. |
IMarkerBackground |
getBackground()
The marker background. |
void |
getClassID(GUID[] pClassID)
Supported Platforms |
static java.lang.String |
getClsid()
|
IColor |
getColor()
Marker symbol color. |
double |
getMaxValue()
The maximum value. |
int |
getROP2()
Raster operation code for pixel drawing. |
double |
getSize()
Marker symbol size. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
Supported Platforms |
double |
getSpacing()
The spacing between bars in points. |
ISymbol |
getSymbol(int index)
The symbol at the index position. |
int |
getSymbolCount()
The number of symbols. |
double |
getThickness()
3D thickness of the chart symbol. |
int |
getTilt()
Tilt of 3D Display (0-90 degrees). |
double |
getValue(int index)
The value at the index position. |
double |
getWidth()
The width of each bar in points. |
double |
getXOffset()
Symbol X-axis offset from point location. |
double |
getYOffset()
Symbol Y-axis offset from point location. |
int |
hashCode()
the hashcode for this object |
void |
isDirty()
Supported Platforms |
boolean |
isDisplay3D()
Indicates if the chart symbol is 3D. |
boolean |
isEqual(IClone other)
Returns TRUE when the receiver and other have the same properties. |
boolean |
isIdentical(IClone other)
Returns TRUE when the receiver and other are the same object. |
boolean |
isShowAxes()
Indicates if the axis are shown. |
boolean |
isVerticalBars()
Indicates if the bars are oriented vertically. |
void |
load(IStream pstm)
Supported Platforms |
void |
moveSymbol(ISymbol symbol,
int toIndex)
Moves the given symbol to new index position. |
void |
queryBoundary(int hDC,
ITransformation displayTransform,
IGeometry geometry,
IPolygon boundary)
Fills an existing polygon with the boundary of the specified symbol. |
void |
resetDC()
Restores DC to original state. |
void |
save(IStream pstm,
int fClearDirty)
Supported Platforms |
void |
setAngle(double angle)
Marker symbol angle. |
void |
setAxes(ILineSymbol symbol)
The axis symbol. |
void |
setBackgroundByRef(IMarkerBackground background)
The marker background. |
void |
setColor(IColor color)
Marker symbol color. |
void |
setDisplay3D(boolean flag)
Indicates if the chart symbol is 3D. |
void |
setMaxValue(double value)
The maximum value. |
void |
setROP2(int drawMode)
Raster operation code for pixel drawing. |
void |
setShowAxes(boolean flag)
Indicates if the axis are shown. |
void |
setSize(double size)
Marker symbol size. |
void |
setSpacing(double points)
The spacing between bars in points. |
void |
setSymbolByRef(int index,
ISymbol symbol)
The symbol at the index position. |
void |
setThickness(double points)
3D thickness of the chart symbol. |
void |
setTilt(int angle)
Tilt of 3D Display (0-90 degrees). |
void |
setupDC(int hDC,
ITransformation transformation)
Prepares the DC for drawing the symbol. |
void |
setValue(int index,
double value)
The value at the index position. |
void |
setVerticalBars(boolean flag)
Indicates if the bars are oriented vertically. |
void |
setWidth(double points)
The width of each bar in points. |
void |
setXOffset(double xOffset)
Symbol X-axis offset from point location. |
void |
setYOffset(double yOffset)
Symbol Y-axis offset from point location. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BarChartSymbol()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems
public BarChartSymbol(java.lang.Object obj)
throws java.io.IOException
obj to BarChartSymbol. BarChartSymbol theBarChartSymbol = (BarChartSymbol) obj;
obj - an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems| Method Detail |
public static java.lang.String getClsid()
public ISymbolArray getAsISymbolArray()
public IChartSymbol getAsIChartSymbol()
public IBarChartSymbol getAsIBarChartSymbol()
public I3DChartSymbol getAsI3DChartSymbol()
public IMarkerSymbol getAsIMarkerSymbol()
public ISymbol getAsISymbol()
public IPersistStream getAsIPersistStream()
public IPersist getAsIPersist()
public IClone getAsIClone()
public IMarkerBackgroundSupport getAsIMarkerBackgroundSupport()
public boolean equals(java.lang.Object o)
public int hashCode()
public int getSymbolCount()
throws java.io.IOException,
AutomationException
ISymbolArray
getSymbolCount in interface ISymbolArrayAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public ISymbol getSymbol(int index)
throws java.io.IOException,
AutomationException
ISymbolArray
getSymbol in interface ISymbolArrayindex - The index (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setSymbolByRef(int index,
ISymbol symbol)
throws java.io.IOException,
AutomationException
ISymbolArray
setSymbolByRef in interface ISymbolArrayindex - The index (in)symbol - A reference to a com.esri.arcgis.display.ISymbol (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void addSymbol(ISymbol symbol)
throws java.io.IOException,
AutomationException
ISymbolArray
addSymbol in interface ISymbolArraysymbol - A reference to a com.esri.arcgis.display.ISymbol (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void deleteSymbol(ISymbol symbol)
throws java.io.IOException,
AutomationException
ISymbolArray
deleteSymbol in interface ISymbolArraysymbol - A reference to a com.esri.arcgis.display.ISymbol (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void moveSymbol(ISymbol symbol,
int toIndex)
throws java.io.IOException,
AutomationException
ISymbolArray
moveSymbol in interface ISymbolArraysymbol - A reference to a com.esri.arcgis.display.ISymbol (in)toIndex - The toIndex (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void clearSymbols()
throws java.io.IOException,
AutomationException
ISymbolArray
clearSymbols in interface ISymbolArrayAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public double getValue(int index)
throws java.io.IOException,
AutomationException
IChartSymbolValue is used by ChartRenderer when drawing chart symbols for features. The number of values = the number of renderer fields = the number of chart components (e.g. pie slices, bar/columns, stacked chart slices). As chart symbols are created dynamically and drawn by the renderer, Value is the connection to the data values to determine how large the pie slices are for example for a given pie chart for a given feature.
getValue in interface IChartSymbolindex - The index (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setValue(int index,
double value)
throws java.io.IOException,
AutomationException
IChartSymbol
setValue in interface IChartSymbolindex - The index (in)value - The value (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public double getMaxValue()
throws java.io.IOException,
AutomationException
IChartSymbolWhen building a ChartRenderer through code and having varying size charts, you need to set this property so that the renderer's legend information is correct. This property should be set to the largest value for any field for all of the features in the layer.
getMaxValue in interface IChartSymbolAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setMaxValue(double value)
throws java.io.IOException,
AutomationException
IChartSymbol
setMaxValue in interface IChartSymbolvalue - The value (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isVerticalBars()
throws java.io.IOException,
AutomationException
IBarChartSymbolThis property specifies whether or not the chart symbol will be column chart. If True, then it's a column chart with vertical columns. If False, then it's a bar chart with horizontal bars.
isVerticalBars in interface IBarChartSymboljava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setVerticalBars(boolean flag)
throws java.io.IOException,
AutomationException
IBarChartSymbol
setVerticalBars in interface IBarChartSymbolflag - The flag (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isShowAxes()
throws java.io.IOException,
AutomationException
IBarChartSymbolThis property specifies whether or not x and y axes are shown for the bar/column charts.
isShowAxes in interface IBarChartSymbolAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setShowAxes(boolean flag)
throws java.io.IOException,
AutomationException
IBarChartSymbol
setShowAxes in interface IBarChartSymbolflag - The flag (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ILineSymbol getAxes()
throws java.io.IOException,
AutomationException
IBarChartSymbolThis property provides acccess to the line symbol used for the chart x and y axes.
getAxes in interface IBarChartSymboljava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAxes(ILineSymbol symbol)
throws java.io.IOException,
AutomationException
IBarChartSymbol
setAxes in interface IBarChartSymbolsymbol - A reference to a com.esri.arcgis.display.ILineSymbol (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getWidth()
throws java.io.IOException,
AutomationException
IBarChartSymbolThis property provides access to the width of each bar or column in the charts. Only one width can be specified which applies to all of the bars/columns.
getWidth in interface IBarChartSymboljava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setWidth(double points)
throws java.io.IOException,
AutomationException
IBarChartSymbol
setWidth in interface IBarChartSymbolpoints - The points (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getSpacing()
throws java.io.IOException,
AutomationException
IBarChartSymbolThis property provides access to the spacing distance between bars or columns.
getSpacing in interface IBarChartSymboljava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSpacing(double points)
throws java.io.IOException,
AutomationException
IBarChartSymbol
setSpacing in interface IBarChartSymbolpoints - The points (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isDisplay3D()
throws java.io.IOException,
AutomationException
I3DChartSymbol
isDisplay3D in interface I3DChartSymbolAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setDisplay3D(boolean flag)
throws java.io.IOException,
AutomationException
I3DChartSymbol
setDisplay3D in interface I3DChartSymbolflag - The flag (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getThickness()
throws java.io.IOException,
AutomationException
I3DChartSymbol
getThickness in interface I3DChartSymbolAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setThickness(double points)
throws java.io.IOException,
AutomationException
I3DChartSymbol
setThickness in interface I3DChartSymbolpoints - The points (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getTilt()
throws java.io.IOException,
AutomationException
I3DChartSymbolTilt is not supported by the BarChartSymbol coclass.
getTilt in interface I3DChartSymboljava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTilt(int angle)
throws java.io.IOException,
AutomationException
I3DChartSymbolTilt is not supported by the BarChartSymbol coclass.
setTilt in interface I3DChartSymbolangle - The angle (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getSize()
throws java.io.IOException,
AutomationException
IMarkerSymbol
getSize in interface IMarkerSymboljava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSize(double size)
throws java.io.IOException,
AutomationException
IMarkerSymbol
setSize in interface IMarkerSymbolsize - The size (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IColor getColor()
throws java.io.IOException,
AutomationException
IMarkerSymbol
getColor in interface IMarkerSymboljava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setColor(IColor color)
throws java.io.IOException,
AutomationException
IMarkerSymbol
setColor in interface IMarkerSymbolcolor - A reference to a com.esri.arcgis.display.IColor (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getAngle()
throws java.io.IOException,
AutomationException
IMarkerSymbol
getAngle in interface IMarkerSymbolAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setAngle(double angle)
throws java.io.IOException,
AutomationException
IMarkerSymbol
setAngle in interface IMarkerSymbolangle - The angle (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public double getXOffset()
throws java.io.IOException,
AutomationException
IMarkerSymbol
getXOffset in interface IMarkerSymboljava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setXOffset(double xOffset)
throws java.io.IOException,
AutomationException
IMarkerSymbol
setXOffset in interface IMarkerSymbolxOffset - The xOffset (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public double getYOffset()
throws java.io.IOException,
AutomationException
IMarkerSymbol
getYOffset in interface IMarkerSymbolAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setYOffset(double yOffset)
throws java.io.IOException,
AutomationException
IMarkerSymbol
setYOffset in interface IMarkerSymbolyOffset - The yOffset (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setupDC(int hDC,
ITransformation transformation)
throws java.io.IOException,
AutomationException
ISymbol
setupDC in interface ISymbolhDC - The hDC (A COM typedef) (in)transformation - A reference to a com.esri.arcgis.geometry.ITransformation (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void resetDC()
throws java.io.IOException,
AutomationException
ISymbol
resetDC in interface ISymboljava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void draw(IGeometry geometry)
throws java.io.IOException,
AutomationException
ISymbol
draw in interface ISymbolgeometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void queryBoundary(int hDC,
ITransformation displayTransform,
IGeometry geometry,
IPolygon boundary)
throws java.io.IOException,
AutomationException
ISymbolValid input Geometries are as follows:
For MarkerSymbols, the Geometry must be an IPoint.
For Fill Symbols, the Geometry can be either an IPolygon or an IEnvelope.
For Line Symbols, the Geometry must be an IPolyline.
queryBoundary in interface ISymbolhDC - The hDC (A COM typedef) (in)displayTransform - A reference to a com.esri.arcgis.geometry.ITransformation (in)geometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)boundary - A reference to a com.esri.arcgis.geometry.IPolygon (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getROP2()
throws java.io.IOException,
AutomationException
ISymbol
getROP2 in interface ISymbolAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setROP2(int drawMode)
throws java.io.IOException,
AutomationException
ISymbol
setROP2 in interface ISymboldrawMode - A com.esri.arcgis.display.esriRasterOpCode constant (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void isDirty()
throws java.io.IOException,
AutomationException
IPersistStreamIPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty in interface IPersistStreamjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void load(IStream pstm)
throws java.io.IOException,
AutomationException
IPersistStreamIPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void save(IStream pstm,
int fClearDirty)
throws java.io.IOException,
AutomationException
IPersistStreamIPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)fClearDirty - The fClearDirty (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
throws java.io.IOException,
AutomationException
IPersistStreamIPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax in interface IPersistStreampcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void getClassID(GUID[] pClassID)
throws java.io.IOException,
AutomationException
IPersistIPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IClone esri_clone()
throws java.io.IOException,
AutomationException
IClone
esri_clone in interface IClonejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void assign(IClone src)
throws java.io.IOException,
AutomationException
IClone
assign in interface IClonesrc - A reference to a com.esri.arcgis.system.IClone (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isEqual(IClone other)
throws java.io.IOException,
AutomationException
IClone
isEqual in interface ICloneother - A reference to a com.esri.arcgis.system.IClone (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isIdentical(IClone other)
throws java.io.IOException,
AutomationException
IClone
isIdentical in interface ICloneother - A reference to a com.esri.arcgis.system.IClone (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IMarkerBackground getBackground()
throws java.io.IOException,
AutomationException
IMarkerBackgroundSupport
getBackground in interface IMarkerBackgroundSupportjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setBackgroundByRef(IMarkerBackground background)
throws java.io.IOException,
AutomationException
IMarkerBackgroundSupport
setBackgroundByRef in interface IMarkerBackgroundSupportbackground - A reference to a com.esri.arcgis.display.IMarkerBackground (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||