com.esri.arcgis.carto
Class DynamicGlyph

java.lang.Object
  extended by com.esri.arcgis.carto.DynamicGlyph
All Implemented Interfaces:
IDynamicGlyph, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class DynamicGlyph
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IDynamicGlyph

COM Class 'DynamicGlyph'. Generated 3/19/2015 1:20:41 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description 'Dynamic glyph class. A dynamic glyph is a handle to a resource that is used to render a dynamic symbol.' 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.IDynamicGlyph
IID, IID7ac555c0_7bba_4d36_b540_afb13aa80050, xxDummy
 
Constructor Summary
DynamicGlyph(java.lang.Object obj)
          Construct a DynamicGlyph using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 void getAnchor(float[] xAnchor, float[] yAnchor)
          Indicates the origin of the glyph from the the bottom left.
 int getGlyphType()
          Indicates the type of dynamic glyph.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 void queryDimensions(float[] width, float[] height)
          Returns the width and height, in pixels, of the glyph.
 void release()
          Release a DynamicGlyph.
 void setAnchor(float xAnchor, float yAnchor)
          Indicates the origin of the glyph from the the bottom left.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicGlyph

public DynamicGlyph(java.lang.Object obj)
             throws java.io.IOException
Construct a DynamicGlyph using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to DynamicGlyph.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
DynamicGlyph o = (DynamicGlyph)obj; // will not work

DynamicGlyph o = new DynamicGlyph(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
java.io.IOException - if there are interop problems DynamicGlyph theDynamicGlyph = (DynamicGlyph) obj;
Method Detail

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

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

getGlyphType

public int getGlyphType()
                 throws java.io.IOException,
                        AutomationException
Indicates the type of dynamic glyph.

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

queryDimensions

public void queryDimensions(float[] width,
                            float[] height)
                     throws java.io.IOException,
                            AutomationException
Returns the width and height, in pixels, of the glyph. The width of the text glyph will be the width of the space character.

Specified by:
queryDimensions in interface IDynamicGlyph
Parameters:
width - The width (in/out: use single element array)
height - The height (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAnchor

public void getAnchor(float[] xAnchor,
                      float[] yAnchor)
               throws java.io.IOException,
                      AutomationException
Indicates the origin of the glyph from the the bottom left.

Specified by:
getAnchor in interface IDynamicGlyph
Parameters:
xAnchor - The xAnchor (in/out: use single element array)
yAnchor - The yAnchor (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAnchor

public void setAnchor(float xAnchor,
                      float yAnchor)
               throws java.io.IOException,
                      AutomationException
Indicates the origin of the glyph from the the bottom left.

Specified by:
setAnchor in interface IDynamicGlyph
Parameters:
xAnchor - The xAnchor (in)
yAnchor - The yAnchor (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.