com.esri.arcgis.display
Interface IGraphicAttributeType

All Superinterfaces:
Serializable
All Known Implementing Classes:
GraphicAttributeAngleType, GraphicAttributeBooleanType, GraphicAttributeColorType, GraphicAttributeDashType, GraphicAttributeDoubleType, GraphicAttributeEnumType, GraphicAttributeIntegerType, GraphicAttributeMarkerType, GraphicAttributeSizeType, GraphicAttributeTextType

public interface IGraphicAttributeType
extends 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(Object value, tagRECT rect, int hDC, boolean readOnly)
          Draws a value on the device context.
 Object formatValue(Object value)
          Formats the graphic attribute value.
 int getType()
          The graphic attribute type.
 Object textToValue(String text)
          Converts text to the graphic attribute value.
 String valueToText(Object value)
          Converts the graphic attribute value to text.
 

Method Detail

getType

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

Product Availability

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

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

formatValue

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

Product Availability

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

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

textToValue

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.

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

valueToText

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.

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

drawValue

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.

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