com.esri.arcgis.display
Class GraphicAttributeDashType

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

public class GraphicAttributeDashType
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IGraphicAttributeType, IGraphicAttributeDashType, IGraphicAttributeTypeUsingUnits

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

Description 'Dash 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.IGraphicAttributeDashType
IID, IID6dcfb032_ab81_4b21_a607_82ada274516f, xxDummy
 
Fields inherited from interface com.esri.arcgis.display.IGraphicAttributeTypeUsingUnits
IID, IID4d15c7a5_3a25_4935_aaa7_f60596632a6f, xxDummy
 
Constructor Summary
GraphicAttributeDashType()
          Constructs a GraphicAttributeDashType using ArcGIS Engine.
GraphicAttributeDashType(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GraphicAttributeDashType theGraphicAttributeDashType = (GraphicAttributeDashType) 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
 void formatForDisplay(int units, java.lang.Object[] val)
          Formats a graphic attribute value according to a given unit before displaying it.
 void formatFromDisplay(int units, java.lang.Object[] val)
          Converts a graphic attribute value coming from the UI to points.
 java.lang.Object formatValue(java.lang.Object value)
          Formats the graphic attribute value.
static java.lang.String getClsid()
          getClsid.
 int getDashType()
          Type of dash attribute.
 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 GraphicAttributeDashType.
 void setDashType(int val)
          Type of dash attribute.
 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

GraphicAttributeDashType

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

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

GraphicAttributeDashType

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

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

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

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.

getDashType

public int getDashType()
                throws java.io.IOException,
                       AutomationException
Type of dash attribute.

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

setDashType

public void setDashType(int val)
                 throws java.io.IOException,
                        AutomationException
Type of dash attribute.

Specified by:
setDashType in interface IGraphicAttributeDashType
Parameters:
val - A com.esri.arcgis.display.esriDashAttributeType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

formatForDisplay

public void formatForDisplay(int units,
                             java.lang.Object[] val)
                      throws java.io.IOException,
                             AutomationException
Formats a graphic attribute value according to a given unit before displaying it.

Specified by:
formatForDisplay in interface IGraphicAttributeTypeUsingUnits
Parameters:
units - A com.esri.arcgis.system.esriUnits constant (in)
val - A Variant (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

formatFromDisplay

public void formatFromDisplay(int units,
                              java.lang.Object[] val)
                       throws java.io.IOException,
                              AutomationException
Converts a graphic attribute value coming from the UI to points.

Specified by:
formatFromDisplay in interface IGraphicAttributeTypeUsingUnits
Parameters:
units - A com.esri.arcgis.system.esriUnits constant (in)
val - A Variant (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.