com.esri.arcgis.display
Class GraphicAttributeEnumType

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

public class GraphicAttributeEnumType
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IGraphicAttributeType, IGraphicAttributeEnumType

COM Class 'GraphicAttributeEnumType'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriDisplay.olb'

Description 'Enumeration graphic attribute type.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.display.IGraphicAttributeType
IID, IIDc319ff4d_0c1e_47d6_be35_c80045fe4dcf, xxDummy
 
Fields inherited from interface com.esri.arcgis.display.IGraphicAttributeEnumType
IID, IID48f26326_e4c4_4da8_b795_bf64bfb644da, xxDummy
 
Constructor Summary
GraphicAttributeEnumType()
          Constructs a GraphicAttributeEnumType using ArcGIS Engine.
GraphicAttributeEnumType(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GraphicAttributeEnumType theGraphicAttributeEnumType = (GraphicAttributeEnumType) obj;
 
Method Summary
 void addValue(int value, java.lang.String text)
          Adds a new value to the graphic attribute enumeration.
 void drawValue(java.lang.Object value, tagRECT rect, int hDC, boolean readOnly)
          Draws a value on the device context.
 boolean equals(java.lang.Object o)
          Compare this object with another
 java.lang.Object formatValue(java.lang.Object value)
          Formats the graphic attribute value.
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int getType()
          The graphic attribute type.
 int hashCode()
          the hashcode for this object
 int nextValue()
          Hands back the next value in the enumeration.
 void release()
          Release a GraphicAttributeEnumType.
 void reset()
          Resets the enumeration of values.
 java.lang.Object textToValue(java.lang.String text)
          Converts text to the graphic attribute value.
 java.lang.String valueToText(java.lang.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
 

Constructor Detail

GraphicAttributeEnumType

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

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

GraphicAttributeEnumType

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

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

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()
getClsid.


equals

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

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a GraphicAttributeEnumType.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getType

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

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

formatValue

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

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

textToValue

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

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

valueToText

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

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

drawValue

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

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

reset

public void reset()
           throws java.io.IOException,
                  AutomationException
Resets the enumeration of values.

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

nextValue

public int nextValue()
              throws java.io.IOException,
                     AutomationException
Hands back the next value in the enumeration.

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

addValue

public void addValue(int value,
                     java.lang.String text)
              throws java.io.IOException,
                     AutomationException
Adds a new value to the graphic attribute enumeration.

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