com.esri.arcgis.display
Class GraphicAttributeTextType

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

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

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

Description 'Text 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
 
Constructor Summary
GraphicAttributeTextType()
          Constructs a GraphicAttributeTextType using ArcGIS Engine.
GraphicAttributeTextType(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GraphicAttributeTextType theGraphicAttributeTextType = (GraphicAttributeTextType) obj;
 
Method Summary
 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
 void release()
          Release a GraphicAttributeTextType.
 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

GraphicAttributeTextType

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

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

GraphicAttributeTextType

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

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

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

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.