com.esri.arcgis.display
Class GraphicAttributeDoubleType

java.lang.Object
  extended by com.esri.arcgis.display.GraphicAttributeDoubleType
All Implemented Interfaces:
IGraphicAttributeType, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class GraphicAttributeDoubleType
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IGraphicAttributeType

Double graphic attribute type.

Description

GraphicAttributeDoubleType is a type of graphic attribute used for defining double values.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
GraphicAttributeDoubleType()
          Constructs a GraphicAttributeDoubleType using ArcGIS Engine.
GraphicAttributeDoubleType(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GraphicAttributeDoubleType theGraphicAttributeDoubleType = (GraphicAttributeDoubleType) obj;
 
Method Summary
 void drawValue(Object value, tagRECT rect, int hDC, boolean readOnly)
          Draws a value on the device context.
 boolean equals(Object o)
          Compare this object with another
 Object formatValue(Object value)
          Formats the graphic attribute value.
static String getClsid()
          getClsid.
 int getType()
          The graphic attribute type.
 int hashCode()
          the hashcode for this object
 Object textToValue(String text)
          Converts text to the graphic attribute value.
 String valueToText(Object value)
          Converts the graphic attribute value to text.
 
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

GraphicAttributeDoubleType

public GraphicAttributeDoubleType()
                           throws IOException,
                                  UnknownHostException
Constructs a GraphicAttributeDoubleType using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

GraphicAttributeDoubleType

public GraphicAttributeDoubleType(Object obj)
                           throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GraphicAttributeDoubleType theGraphicAttributeDoubleType = (GraphicAttributeDoubleType) obj;

Construct a GraphicAttributeDoubleType using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to GraphicAttributeDoubleType.

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

getClsid

public static String getClsid()
getClsid.


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

getType

public int getType()
            throws IOException,
                   AutomationException
The graphic attribute type.

Product Availability

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

Specified by:
getType in interface IGraphicAttributeType
Returns:
A com.esri.arcgis.display.esriGraphicAttributeType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

formatValue

public Object formatValue(Object value)
                   throws IOException,
                          AutomationException
Formats the graphic attribute value.

Product Availability

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

Specified by:
formatValue in interface IGraphicAttributeType
Parameters:
value - A Variant (in)
Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

textToValue

public Object textToValue(String text)
                   throws IOException,
                          AutomationException
Converts text to the graphic attribute value.

Product Availability

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

Specified by:
textToValue in interface IGraphicAttributeType
Parameters:
text - The text (in)
Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

valueToText

public String valueToText(Object value)
                   throws IOException,
                          AutomationException
Converts the graphic attribute value to text.

Product Availability

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

Specified by:
valueToText in interface IGraphicAttributeType
Parameters:
value - A Variant (in)
Returns:
The text
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

drawValue

public void drawValue(Object value,
                      tagRECT rect,
                      int hDC,
                      boolean readOnly)
               throws IOException,
                      AutomationException
Draws a value on the device context.

Product Availability

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

Specified by:
drawValue in interface IGraphicAttributeType
Parameters:
value - A Variant (in)
rect - A Structure: com.esri.arcgis.display.tagRECT (in)
hDC - The hDC (A COM typedef) (in)
readOnly - The readOnly (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.