com.esri.arcgis.cartoUI
Class DataGraphTPenProperties

java.lang.Object
  extended by com.esri.arcgis.cartoUI.DataGraphTPenProperties
All Implemented Interfaces:
IDataGraphTPenProperties, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class DataGraphTPenProperties
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IDataGraphTPenProperties

A container for the display and manipulation of graph series pen properties.

Product Availability

Available with ArcGIS Desktop.

See Also:
Serialized Form

Constructor Summary
DataGraphTPenProperties(Object obj)
          Construct a DataGraphTPenProperties using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
 int getColor()
          Color of the line.
 int getStyle()
          Style of the line.
 int getWidth()
          Width of the line.
 int hashCode()
          the hashcode for this object
 boolean isVisible()
          Indicates if line is visible.
 void setColor(int pColor)
          Color of the line.
 void setStyle(int pType)
          Style of the line.
 void setVisible(boolean pVisible)
          Indicates if line is visible.
 void setWidth(int pWidth)
          Width of the line.
 
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

DataGraphTPenProperties

public DataGraphTPenProperties(Object obj)
                        throws IOException
Construct a DataGraphTPenProperties using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to DataGraphTPenProperties.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
DataGraphTPenProperties o = (DataGraphTPenProperties)obj; // will not work

DataGraphTPenProperties o = new DataGraphTPenProperties(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
IOException - if there are interop problems DataGraphTPenProperties theDataGraphTPenProperties = (DataGraphTPenProperties) obj;
Method Detail

equals

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

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

isVisible

public boolean isVisible()
                  throws IOException,
                         AutomationException
Indicates if line is visible.

Product Availability

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

Specified by:
isVisible in interface IDataGraphTPenProperties
Returns:
The pVisible
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setVisible

public void setVisible(boolean pVisible)
                throws IOException,
                       AutomationException
Indicates if line is visible.

Product Availability

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

Specified by:
setVisible in interface IDataGraphTPenProperties
Parameters:
pVisible - The pVisible (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWidth

public int getWidth()
             throws IOException,
                    AutomationException
Width of the line.

Product Availability

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

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

setWidth

public void setWidth(int pWidth)
              throws IOException,
                     AutomationException
Width of the line.

Product Availability

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

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

getStyle

public int getStyle()
             throws IOException,
                    AutomationException
Style of the line.

Product Availability

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

Specified by:
getStyle in interface IDataGraphTPenProperties
Returns:
A com.esri.arcgis.carto.esriDataGraphTPenType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setStyle

public void setStyle(int pType)
              throws IOException,
                     AutomationException
Style of the line.

Product Availability

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

Specified by:
setStyle in interface IDataGraphTPenProperties
Parameters:
pType - A com.esri.arcgis.carto.esriDataGraphTPenType constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getColor

public int getColor()
             throws IOException,
                    AutomationException
Color of the line.

Product Availability

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

Specified by:
getColor in interface IDataGraphTPenProperties
Returns:
The pColor (A COM typedef)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setColor

public void setColor(int pColor)
              throws IOException,
                     AutomationException
Color of the line.

Product Availability

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

Specified by:
setColor in interface IDataGraphTPenProperties
Parameters:
pColor - The pColor (A COM typedef) (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.