com.esri.arcgis.display
Interface IGraphicAttributeType

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
GraphicAttributeBooleanType, GraphicAttributeColorType, GraphicAttributeDashType, GraphicAttributeDoubleType, GraphicAttributeEnumType, GraphicAttributeIntegerType, GraphicAttributeMarkerType, GraphicAttributeSizeType, GraphicAttributeTextType, IGraphicAttributeTypeProxy

public interface IGraphicAttributeType
extends java.io.Serializable

Provides access to members that control the behavior and properties of graphic attribute types.

Product Availability

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


Method Summary
 void drawValue(java.lang.Object value, tagRECT rect, int hDC, boolean readOnly)
          Draws a value on the device context.
 java.lang.Object formatValue(java.lang.Object value)
          Formats the graphic attribute value.
 int getType()
          The graphic attribute type.
 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.
 

Method Detail

getType

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

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.

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.

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.

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.

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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.