com.esri.arcgis.display
Class StackedChartSymbol

java.lang.Object
  extended bycom.esri.arcgis.display.StackedChartSymbol
All Implemented Interfaces:
I3DChartSymbol, IChartSymbol, IClone, IMarkerBackgroundSupport, IMarkerSymbol, IPersist, IPersistStream, IStackedChartSymbol, ISymbol, ISymbolArray, java.io.Serializable

public class StackedChartSymbol
extends java.lang.Object
implements ISymbolArray, IChartSymbol, IStackedChartSymbol, I3DChartSymbol, IMarkerSymbol, ISymbol, IMarkerBackgroundSupport, IPersistStream, IPersist, IClone

Defines a stacked chart symbol.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Description

This object is a symbol which is used by a ChartRenderer to draw stacked bar or stacked column charts for a feature layer.

See Also:
Serialized Form

Constructor Summary
StackedChartSymbol()
          Constructs a StackedChartSymbol using ArcGIS Engine.
StackedChartSymbol(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.
 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.
 IStackedChartSymbol getAsIStackedChartSymbol()
          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.
 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.
 ILineSymbol getOutline()
          The symbol for the chart outline.
 int getROP2()
          Raster operation code for pixel drawing.
 double getSize()
          Marker symbol size.
 void getSizeMax(_ULARGE_INTEGER[] pcbSize)
          Supported Platforms
 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 the 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 isFixed()
          Indicates if the bars are of a fixed length (the alternative is graduated length bars).
 boolean isIdentical(IClone other)
          Returns TRUE when the receiver and other are the same object.
 boolean isUseOutline()
          Indicates if the outline symbol is drawn.
 boolean isVerticalBar()
          Indicates if the bar is 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 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 setFixed(boolean flag)
          Indicates if the bars are of a fixed length (the alternative is graduated length bars).
 void setMaxValue(double value)
          The maximum value.
 void setOutline(ILineSymbol symbol)
          The symbol for the chart outline.
 void setROP2(int drawMode)
          Raster operation code for pixel drawing.
 void setSize(double size)
          Marker symbol size.
 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 setUseOutline(boolean flag)
          Indicates if the outline symbol is drawn.
 void setValue(int index, double value)
          The value at the index position.
 void setVerticalBar(boolean flag)
          Indicates if the bar is oriented vertically.
 void setWidth(double points)
          The width of the 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

StackedChartSymbol

public StackedChartSymbol()
                   throws java.io.IOException,
                          java.net.UnknownHostException
Constructs a StackedChartSymbol using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

StackedChartSymbol

public StackedChartSymbol(java.lang.Object obj)
                   throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.

Construct a StackedChartSymbol using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to StackedChartSymbol.
StackedChartSymbol theStackedChartSymbol = (StackedChartSymbol) obj;

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()

getAsISymbolArray

public ISymbolArray getAsISymbolArray()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsIChartSymbol

public IChartSymbol getAsIChartSymbol()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsIStackedChartSymbol

public IStackedChartSymbol getAsIStackedChartSymbol()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsI3DChartSymbol

public I3DChartSymbol getAsI3DChartSymbol()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsIMarkerSymbol

public IMarkerSymbol getAsIMarkerSymbol()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsISymbol

public ISymbol getAsISymbol()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsIMarkerBackgroundSupport

public IMarkerBackgroundSupport getAsIMarkerBackgroundSupport()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsIPersistStream

public IPersistStream getAsIPersistStream()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsIPersist

public IPersist getAsIPersist()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsIClone

public IClone getAsIClone()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


equals

public boolean equals(java.lang.Object o)
Compare this object with another


hashCode

public int hashCode()
the hashcode for this object


getSymbolCount

public int getSymbolCount()
                   throws java.io.IOException,
                          AutomationException
Description copied from interface: ISymbolArray
The number of symbols.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getSymbolCount in interface ISymbolArray
Returns:
The count
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getSymbol

public ISymbol getSymbol(int index)
                  throws java.io.IOException,
                         AutomationException
Description copied from interface: ISymbolArray
The symbol at the index position.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getSymbol in interface ISymbolArray
Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.display.ISymbol
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

setSymbolByRef

public void setSymbolByRef(int index,
                           ISymbol symbol)
                    throws java.io.IOException,
                           AutomationException
Description copied from interface: ISymbolArray
The symbol at the index position.

Specified by:
setSymbolByRef in interface ISymbolArray
Parameters:
index - The index (in)
symbol - A reference to a com.esri.arcgis.display.ISymbol (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

addSymbol

public void addSymbol(ISymbol symbol)
               throws java.io.IOException,
                      AutomationException
Description copied from interface: ISymbolArray
Adds a symbol to the array.

Supported Platforms

Windows, Solaris, Linux

Specified by:
addSymbol in interface ISymbolArray
Parameters:
symbol - A reference to a com.esri.arcgis.display.ISymbol (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

deleteSymbol

public void deleteSymbol(ISymbol symbol)
                  throws java.io.IOException,
                         AutomationException
Description copied from interface: ISymbolArray
Delete the given symbol.

Supported Platforms

Windows, Solaris, Linux

Specified by:
deleteSymbol in interface ISymbolArray
Parameters:
symbol - A reference to a com.esri.arcgis.display.ISymbol (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

moveSymbol

public void moveSymbol(ISymbol symbol,
                       int toIndex)
                throws java.io.IOException,
                       AutomationException
Description copied from interface: ISymbolArray
Moves the given symbol to new index position.

Supported Platforms

Windows, Solaris, Linux

Specified by:
moveSymbol in interface ISymbolArray
Parameters:
symbol - A reference to a com.esri.arcgis.display.ISymbol (in)
toIndex - The toIndex (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clearSymbols

public void clearSymbols()
                  throws java.io.IOException,
                         AutomationException
Description copied from interface: ISymbolArray
Removes all symbols from the array.

Supported Platforms

Windows, Solaris, Linux

Specified by:
clearSymbols in interface ISymbolArray
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getValue

public double getValue(int index)
                throws java.io.IOException,
                       AutomationException
Description copied from interface: IChartSymbol
The value at the index position.

Supported Platforms

Windows, Solaris, Linux

Remarks

Value 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.

Specified by:
getValue in interface IChartSymbol
Parameters:
index - The index (in)
Returns:
The value
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

setValue

public void setValue(int index,
                     double value)
              throws java.io.IOException,
                     AutomationException
Description copied from interface: IChartSymbol
The value at the index position.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setValue in interface IChartSymbol
Parameters:
index - The index (in)
value - The value (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getMaxValue

public double getMaxValue()
                   throws java.io.IOException,
                          AutomationException
Description copied from interface: IChartSymbol
The maximum value.

Supported Platforms

Windows, Solaris, Linux

Remarks

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.

Specified by:
getMaxValue in interface IChartSymbol
Returns:
The value
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

setMaxValue

public void setMaxValue(double value)
                 throws java.io.IOException,
                        AutomationException
Description copied from interface: IChartSymbol
The maximum value.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setMaxValue in interface IChartSymbol
Parameters:
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWidth

public double getWidth()
                throws java.io.IOException,
                       AutomationException
Description copied from interface: IStackedChartSymbol
The width of the bar in points.

Supported Platforms

Windows, Solaris, Linux

Description

This property is the width of the stacked bar or column in points.

Specified by:
getWidth in interface IStackedChartSymbol
Returns:
The points
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setWidth

public void setWidth(double points)
              throws java.io.IOException,
                     AutomationException
Description copied from interface: IStackedChartSymbol
The width of the bar in points.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setWidth in interface IStackedChartSymbol
Parameters:
points - The points (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isVerticalBar

public boolean isVerticalBar()
                      throws java.io.IOException,
                             AutomationException
Description copied from interface: IStackedChartSymbol
Indicates if the bar is oriented vertically.

Supported Platforms

Windows, Solaris, Linux

Description

This property specifies whether or not the stacked chart is a column. If True then it's a stacked column, oriented vertically. If False, then it's a stacked bar, oriented horizontally.

Specified by:
isVerticalBar in interface IStackedChartSymbol
Returns:
The flag
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

setVerticalBar

public void setVerticalBar(boolean flag)
                    throws java.io.IOException,
                           AutomationException
Description copied from interface: IStackedChartSymbol
Indicates if the bar is oriented vertically.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setVerticalBar in interface IStackedChartSymbol
Parameters:
flag - The flag (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

isUseOutline

public boolean isUseOutline()
                     throws java.io.IOException,
                            AutomationException
Description copied from interface: IStackedChartSymbol
Indicates if the outline symbol is drawn.

Supported Platforms

Windows, Solaris, Linux

Description

This property specifies whether or not to draw the Outline symbol around the outside of the chart.

Specified by:
isUseOutline in interface IStackedChartSymbol
Returns:
The flag
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUseOutline

public void setUseOutline(boolean flag)
                   throws java.io.IOException,
                          AutomationException
Description copied from interface: IStackedChartSymbol
Indicates if the outline symbol is drawn.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setUseOutline in interface IStackedChartSymbol
Parameters:
flag - The flag (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOutline

public ILineSymbol getOutline()
                       throws java.io.IOException,
                              AutomationException
Description copied from interface: IStackedChartSymbol
The symbol for the chart outline.

Supported Platforms

Windows, Solaris, Linux

Description

This property is the line symbol used to draw an outline around the char. This symbol is only used if UseOutline = True.

Specified by:
getOutline in interface IStackedChartSymbol
Returns:
A reference to a com.esri.arcgis.display.ILineSymbol
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setOutline

public void setOutline(ILineSymbol symbol)
                throws java.io.IOException,
                       AutomationException
Description copied from interface: IStackedChartSymbol
The symbol for the chart outline.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setOutline in interface IStackedChartSymbol
Parameters:
symbol - A reference to a com.esri.arcgis.display.ILineSymbol (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

isFixed

public boolean isFixed()
                throws java.io.IOException,
                       AutomationException
Description copied from interface: IStackedChartSymbol
Indicates if the bars are of a fixed length (the alternative is graduated length bars).

Supported Platforms

Windows, Solaris, Linux

Description

This property specifies whether or not the stacked bar or column chart will have a fixed length when used by a CharRenderer. If True then the bar or columns will all be the same length. This is useful to compare the relative ratio of each value field for each feature, while ignoring the difference in overall magnitude between features. If this property is False, then the stacked charts will have varying length, depending on the magnitudes of the values for the fields that comprise the renderer/symbol.

Specified by:
isFixed in interface IStackedChartSymbol
Returns:
The flag
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFixed

public void setFixed(boolean flag)
              throws java.io.IOException,
                     AutomationException
Description copied from interface: IStackedChartSymbol
Indicates if the bars are of a fixed length (the alternative is graduated length bars).

Supported Platforms

Windows, Solaris, Linux

Specified by:
setFixed in interface IStackedChartSymbol
Parameters:
flag - The flag (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isDisplay3D

public boolean isDisplay3D()
                    throws java.io.IOException,
                           AutomationException
Description copied from interface: I3DChartSymbol
Indicates if the chart symbol is 3D.

Supported Platforms

Windows, Solaris, Linux

Specified by:
isDisplay3D in interface I3DChartSymbol
Returns:
The flag
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

setDisplay3D

public void setDisplay3D(boolean flag)
                  throws java.io.IOException,
                         AutomationException
Description copied from interface: I3DChartSymbol
Indicates if the chart symbol is 3D.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setDisplay3D in interface I3DChartSymbol
Parameters:
flag - The flag (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getThickness

public double getThickness()
                    throws java.io.IOException,
                           AutomationException
Description copied from interface: I3DChartSymbol
3D thickness of the chart symbol.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getThickness in interface I3DChartSymbol
Returns:
The points
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

setThickness

public void setThickness(double points)
                  throws java.io.IOException,
                         AutomationException
Description copied from interface: I3DChartSymbol
3D thickness of the chart symbol.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setThickness in interface I3DChartSymbol
Parameters:
points - The points (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTilt

public int getTilt()
            throws java.io.IOException,
                   AutomationException
Description copied from interface: I3DChartSymbol
Tilt of 3D Display (0-90 degrees).

Supported Platforms

Windows, Solaris, Linux

Description

Tilt is not supported by the BarChartSymbol coclass.

Specified by:
getTilt in interface I3DChartSymbol
Returns:
The angle
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTilt

public void setTilt(int angle)
             throws java.io.IOException,
                    AutomationException
Description copied from interface: I3DChartSymbol
Tilt of 3D Display (0-90 degrees).

Supported Platforms

Windows, Solaris, Linux

Description

Tilt is not supported by the BarChartSymbol coclass.

Specified by:
setTilt in interface I3DChartSymbol
Parameters:
angle - The angle (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSize

public double getSize()
               throws java.io.IOException,
                      AutomationException
Description copied from interface: IMarkerSymbol
Marker symbol size.

Supported Platforms

Windows, Solaris, Linux

Description

Size is the size (the largest measurement, height or width) in points (approx 1/72 inch) of a marker symbol.

Specified by:
getSize in interface IMarkerSymbol
Returns:
The size
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSize

public void setSize(double size)
             throws java.io.IOException,
                    AutomationException
Description copied from interface: IMarkerSymbol
Marker symbol size.

Supported Platforms

Windows, Solaris, Linux

Description

Size is the size (the largest measurement, height or width) in points (approx 1/72 inch) of a marker symbol.

Specified by:
setSize in interface IMarkerSymbol
Parameters:
size - The size (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getColor

public IColor getColor()
                throws java.io.IOException,
                       AutomationException
Description copied from interface: IMarkerSymbol
Marker symbol color.

Supported Platforms

Windows, Solaris, Linux

Description

Color is the color of a marker symbol. Any of the Arc Map color interfaces may be used to create the color object.
Color is not supported by the BarChartSymbol coclass. 

Specified by:
getColor in interface IMarkerSymbol
Returns:
A reference to a com.esri.arcgis.display.IColor
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setColor

public void setColor(IColor color)
              throws java.io.IOException,
                     AutomationException
Description copied from interface: IMarkerSymbol
Marker symbol color.

Supported Platforms

Windows, Solaris, Linux

Description

Color is the color of a marker symbol. Any of the Arc Map color interfaces may be used to create the color object.
Color is not supported by the BarChartSymbol coclass.

Specified by:
setColor in interface IMarkerSymbol
Parameters:
color - A reference to a com.esri.arcgis.display.IColor (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAngle

public double getAngle()
                throws java.io.IOException,
                       AutomationException
Description copied from interface: IMarkerSymbol
Marker symbol angle.

Supported Platforms

Windows, Solaris, Linux

Description

Angle is the number of degrees (0-360) that marker symbol is rotated. Rotation direction is counterclockwise and Arc Map assumes that directionality of the marker is horizontal (pointing in the positive X direction of a cartesian plane).
Angle is not supported by the BarChartSymbol coclass.

Specified by:
getAngle in interface IMarkerSymbol
Returns:
The angle
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

setAngle

public void setAngle(double angle)
              throws java.io.IOException,
                     AutomationException
Description copied from interface: IMarkerSymbol
Marker symbol angle.

Supported Platforms

Windows, Solaris, Linux

Description

Angle is the number of degrees (0-360) that marker symbol is rotated. Rotation direction is counterclockwise and Arc Map assumes that directionality of the marker is horizontal (pointing in the positive X direction of a cartesian plane).
Angle is not supported by the BarChartSymbol coclass.

Specified by:
setAngle in interface IMarkerSymbol
Parameters:
angle - The angle (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getXOffset

public double getXOffset()
                  throws java.io.IOException,
                         AutomationException
Description copied from interface: IMarkerSymbol
Symbol X-axis offset from point location.

Supported Platforms

Windows, Solaris, Linux

Description

XOffset is the horizontal offset of the marker symbol in points (approx. 1/72 inch). Offsets may be positive or negative numbers.

Specified by:
getXOffset in interface IMarkerSymbol
Returns:
The xOffset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setXOffset

public void setXOffset(double xOffset)
                throws java.io.IOException,
                       AutomationException
Description copied from interface: IMarkerSymbol
Symbol X-axis offset from point location.

Supported Platforms

Windows, Solaris, Linux

Description

XOffset is the horizontal offset of the marker symbol in points (approx. 1/72 inch). Offsets may be positive or negative numbers.

Specified by:
setXOffset in interface IMarkerSymbol
Parameters:
xOffset - The xOffset (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getYOffset

public double getYOffset()
                  throws java.io.IOException,
                         AutomationException
Description copied from interface: IMarkerSymbol
Symbol Y-axis offset from point location.

Supported Platforms

Windows, Solaris, Linux

Description

YOffset is the vertical offset of the marker symbol in points (approx. 1/72 inch). Offsets may be positive or negative numbers.

Specified by:
getYOffset in interface IMarkerSymbol
Returns:
The yOffset
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

setYOffset

public void setYOffset(double yOffset)
                throws java.io.IOException,
                       AutomationException
Description copied from interface: IMarkerSymbol
Symbol Y-axis offset from point location.

Supported Platforms

Windows, Solaris, Linux

Description

YOffset is the vertical offset of the marker symbol in points (approx. 1/72 inch). Offsets may be positive or negative numbers.

Specified by:
setYOffset in interface IMarkerSymbol
Parameters:
yOffset - The yOffset (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

setupDC

public void setupDC(int hDC,
                    ITransformation transformation)
             throws java.io.IOException,
                    AutomationException
Description copied from interface: ISymbol
Prepares the DC for drawing the symbol.

Specified by:
setupDC in interface ISymbol
Parameters:
hDC - The hDC (A COM typedef) (in)
transformation - A reference to a com.esri.arcgis.geometry.ITransformation (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

resetDC

public void resetDC()
             throws java.io.IOException,
                    AutomationException
Description copied from interface: ISymbol
Restores DC to original state.

Supported Platforms

Windows, Solaris, Linux

Specified by:
resetDC in interface ISymbol
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

draw

public void draw(IGeometry geometry)
          throws java.io.IOException,
                 AutomationException
Description copied from interface: ISymbol
Draws the specified shape.

Supported Platforms

Windows, Solaris, Linux

Specified by:
draw in interface ISymbol
Parameters:
geometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryBoundary

public void queryBoundary(int hDC,
                          ITransformation displayTransform,
                          IGeometry geometry,
                          IPolygon boundary)
                   throws java.io.IOException,
                          AutomationException
Description copied from interface: ISymbol
Fills an existing polygon with the boundary of the specified symbol.

Supported Platforms

Windows, Solaris, Linux

Remarks

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.

Specified by:
queryBoundary in interface ISymbol
Parameters:
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)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getROP2

public int getROP2()
            throws java.io.IOException,
                   AutomationException
Description copied from interface: ISymbol
Raster operation code for pixel drawing.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getROP2 in interface ISymbol
Returns:
A com.esri.arcgis.display.esriRasterOpCode constant
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

setROP2

public void setROP2(int drawMode)
             throws java.io.IOException,
                    AutomationException
Description copied from interface: ISymbol
Raster operation code for pixel drawing.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setROP2 in interface ISymbol
Parameters:
drawMode - A com.esri.arcgis.display.esriRasterOpCode constant (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getBackground

public IMarkerBackground getBackground()
                                throws java.io.IOException,
                                       AutomationException
Description copied from interface: IMarkerBackgroundSupport
The marker background.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getBackground in interface IMarkerBackgroundSupport
Returns:
A reference to a com.esri.arcgis.display.IMarkerBackground
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBackgroundByRef

public void setBackgroundByRef(IMarkerBackground background)
                        throws java.io.IOException,
                               AutomationException
Description copied from interface: IMarkerBackgroundSupport
The marker background.

Specified by:
setBackgroundByRef in interface IMarkerBackgroundSupport
Parameters:
background - A reference to a com.esri.arcgis.display.IMarkerBackground (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isDirty

public void isDirty()
             throws java.io.IOException,
                    AutomationException
Description copied from interface: IPersistStream

Supported Platforms

Windows, Solaris, Linux

Description

IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.

Specified by:
isDirty in interface IPersistStream
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

load

public void load(IStream pstm)
          throws java.io.IOException,
                 AutomationException
Description copied from interface: IPersistStream

Supported Platforms

Windows, Solaris, Linux

Description

IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.

Specified by:
load in interface IPersistStream
Parameters:
pstm - A reference to a com.esri.arcgis.system.IStream (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

save

public void save(IStream pstm,
                 int fClearDirty)
          throws java.io.IOException,
                 AutomationException
Description copied from interface: IPersistStream

Supported Platforms

Windows, Solaris, Linux

Description

IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.

Specified by:
save in interface IPersistStream
Parameters:
pstm - A reference to a com.esri.arcgis.system.IStream (in)
fClearDirty - The fClearDirty (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSizeMax

public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
                throws java.io.IOException,
                       AutomationException
Description copied from interface: IPersistStream

Supported Platforms

Windows, Solaris, Linux

Description

IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.

Specified by:
getSizeMax in interface IPersistStream
Parameters:
pcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getClassID

public void getClassID(GUID[] pClassID)
                throws java.io.IOException,
                       AutomationException
Description copied from interface: IPersist

Supported Platforms

Windows, Solaris, Linux

Description

IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.

Specified by:
getClassID in interface IPersist
Parameters:
pClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

esri_clone

public IClone esri_clone()
                  throws java.io.IOException,
                         AutomationException
Description copied from interface: IClone
Clones the receiver and assigns the result to *clone.

Specified by:
esri_clone in interface IClone
Returns:
A reference to a com.esri.arcgis.system.IClone
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

assign

public void assign(IClone src)
            throws java.io.IOException,
                   AutomationException
Description copied from interface: IClone
Assigns the properties of src to the receiver.

Supported Platforms

Windows, Solaris, Linux

Description

Use Assign method to assign the properties of source object to receiver object. Both objects need to have the same CLSIDs. Both source and receiver objects need to be instantiated.

Specified by:
assign in interface IClone
Parameters:
src - A reference to a com.esri.arcgis.system.IClone (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

isEqual

public boolean isEqual(IClone other)
                throws java.io.IOException,
                       AutomationException
Description copied from interface: IClone
Returns TRUE when the receiver and other have the same properties.

Specified by:
isEqual in interface IClone
Parameters:
other - A reference to a com.esri.arcgis.system.IClone (in)
Returns:
The equal
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

isIdentical

public boolean isIdentical(IClone other)
                    throws java.io.IOException,
                           AutomationException
Description copied from interface: IClone
Returns TRUE when the receiver and other are the same object.

Specified by:
isIdentical in interface IClone
Parameters:
other - A reference to a com.esri.arcgis.system.IClone (in)
Returns:
The identical
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.