|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.display.BarChartSymbol
public class 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(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. BarChartSymbol theBarChartSymbol = (BarChartSymbol) obj; |
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(Object o)
Compare this object with another |
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone. |
double |
getAngle()
Marker symbol angle. |
ILineSymbol |
getAxes()
The axis symbol. |
IMarkerBackground |
getBackground()
The marker background. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
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)
getSizeMax |
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()
isDirty |
boolean |
isDisplay3D()
Indicates if the chart symbol is 3D. |
boolean |
isEqual(IClone other)
Indicates if the receiver and other have the same properties. |
boolean |
isIdentical(IClone other)
Indicates if 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)
load |
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 |
readExternal(ObjectInput in)
|
void |
resetDC()
Restores DC to original state. |
void |
save(IStream pstm,
int fClearDirty)
save |
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. |
void |
writeExternal(ObjectOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public BarChartSymbol() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic BarChartSymbol(Object obj) throws IOException
BarChartSymbol theBarChartSymbol = (BarChartSymbol) obj;
obj
to BarChartSymbol
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public int getSymbolCount() throws IOException, AutomationException
getSymbolCount
in interface ISymbolArray
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISymbol getSymbol(int index) throws IOException, AutomationException
getSymbol
in interface ISymbolArray
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSymbolByRef(int index, ISymbol symbol) throws IOException, AutomationException
setSymbolByRef
in interface ISymbolArray
index
- The index (in)symbol
- A reference to a com.esri.arcgis.display.ISymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addSymbol(ISymbol symbol) throws IOException, AutomationException
addSymbol
in interface ISymbolArray
symbol
- A reference to a com.esri.arcgis.display.ISymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deleteSymbol(ISymbol symbol) throws IOException, AutomationException
deleteSymbol
in interface ISymbolArray
symbol
- A reference to a com.esri.arcgis.display.ISymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void moveSymbol(ISymbol symbol, int toIndex) throws IOException, AutomationException
moveSymbol
in interface ISymbolArray
symbol
- A reference to a com.esri.arcgis.display.ISymbol (in)toIndex
- The toIndex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void clearSymbols() throws IOException, AutomationException
clearSymbols
in interface ISymbolArray
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getValue(int index) throws IOException, AutomationException
getValue
in interface IChartSymbol
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setValue(int index, double value) throws IOException, AutomationException
setValue
in interface IChartSymbol
index
- The index (in)value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getMaxValue() throws IOException, AutomationException
When 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 IChartSymbol
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMaxValue(double value) throws IOException, AutomationException
setMaxValue
in interface IChartSymbol
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isVerticalBars() throws IOException, AutomationException
This 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 IBarChartSymbol
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setVerticalBars(boolean flag) throws IOException, AutomationException
setVerticalBars
in interface IBarChartSymbol
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isShowAxes() throws IOException, AutomationException
This property specifies whether or not x and y axes are shown for the bar/column charts.
isShowAxes
in interface IBarChartSymbol
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setShowAxes(boolean flag) throws IOException, AutomationException
setShowAxes
in interface IBarChartSymbol
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILineSymbol getAxes() throws IOException, AutomationException
This property provides acccess to the line symbol used for the chart x and y axes.
getAxes
in interface IBarChartSymbol
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAxes(ILineSymbol symbol) throws IOException, AutomationException
setAxes
in interface IBarChartSymbol
symbol
- A reference to a com.esri.arcgis.display.ILineSymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getWidth() throws IOException, AutomationException
This 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 IBarChartSymbol
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setWidth(double points) throws IOException, AutomationException
setWidth
in interface IBarChartSymbol
points
- The points (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getSpacing() throws IOException, AutomationException
This property provides access to the spacing distance between bars or columns.
getSpacing
in interface IBarChartSymbol
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSpacing(double points) throws IOException, AutomationException
setSpacing
in interface IBarChartSymbol
points
- The points (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isDisplay3D() throws IOException, AutomationException
isDisplay3D
in interface I3DChartSymbol
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDisplay3D(boolean flag) throws IOException, AutomationException
setDisplay3D
in interface I3DChartSymbol
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getThickness() throws IOException, AutomationException
getThickness
in interface I3DChartSymbol
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setThickness(double points) throws IOException, AutomationException
setThickness
in interface I3DChartSymbol
points
- The points (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getTilt() throws IOException, AutomationException
Tilt is not supported by the BarChartSymbol coclass.
getTilt
in interface I3DChartSymbol
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTilt(int angle) throws IOException, AutomationException
Tilt is not supported by the BarChartSymbol coclass.
setTilt
in interface I3DChartSymbol
angle
- The angle (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getSize() throws IOException, AutomationException
getSize
in interface IMarkerSymbol
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSize(double size) throws IOException, AutomationException
setSize
in interface IMarkerSymbol
size
- The size (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IColor getColor() throws IOException, AutomationException
getColor
in interface IMarkerSymbol
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IHsvColor
,
IHlsColor
public void setColor(IColor color) throws IOException, AutomationException
setColor
in interface IMarkerSymbol
color
- A reference to a com.esri.arcgis.display.IColor (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IHsvColor
,
IHlsColor
public double getAngle() throws IOException, AutomationException
getAngle
in interface IMarkerSymbol
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAngle(double angle) throws IOException, AutomationException
setAngle
in interface IMarkerSymbol
angle
- The angle (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getXOffset() throws IOException, AutomationException
getXOffset
in interface IMarkerSymbol
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setXOffset(double xOffset) throws IOException, AutomationException
setXOffset
in interface IMarkerSymbol
xOffset
- The xOffset (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getYOffset() throws IOException, AutomationException
getYOffset
in interface IMarkerSymbol
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setYOffset(double yOffset) throws IOException, AutomationException
setYOffset
in interface IMarkerSymbol
yOffset
- The yOffset (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setupDC(int hDC, ITransformation transformation) throws IOException, AutomationException
setupDC
in interface ISymbol
hDC
- The hDC (A COM typedef) (in)transformation
- A reference to a com.esri.arcgis.geometry.ITransformation (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void resetDC() throws IOException, AutomationException
resetDC
in interface ISymbol
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void draw(IGeometry geometry) throws IOException, AutomationException
draw
in interface ISymbol
geometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)
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 IOException, AutomationException
Valid 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 ISymbol
hDC
- 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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getROP2() throws IOException, AutomationException
getROP2
in interface ISymbol
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setROP2(int drawMode) throws IOException, AutomationException
setROP2
in interface ISymbol
drawMode
- A com.esri.arcgis.display.esriRasterOpCode constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty
in interface IPersistStream
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void load(IStream pstm) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws IOException, AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IClone esri_clone() throws IOException, AutomationException
esri_clone
in interface IClone
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void assign(IClone src) throws IOException, AutomationException
assign
in interface IClone
src
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEqual(IClone other) throws IOException, AutomationException
IsEqual returns True if the receiver and the source have the same properties. Note, this does not imply that the receiver and the source reference the same object.
isEqual
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isIdentical(IClone other) throws IOException, AutomationException
IsIdentical returns true if the receiver and the source reference the same object.
isIdentical
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMarkerBackground getBackground() throws IOException, AutomationException
getBackground
in interface IMarkerBackgroundSupport
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBackgroundByRef(IMarkerBackground background) throws IOException, AutomationException
setBackgroundByRef
in interface IMarkerBackgroundSupport
background
- A reference to a com.esri.arcgis.display.IMarkerBackground (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |