com.esri.arcgis.carto
Class IGridLabelProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.carto.IGridLabelProxy
All Implemented Interfaces:
IGridLabel, java.io.Externalizable, java.io.Serializable

Deprecated. Internal use only. Proxy for COM Interface 'IGridLabel'. Generated 3/19/2015 1:20:53 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description: 'Provides access to members that control the way a map grid is labeled.' 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 =

public class IGridLabelProxy
extends com.esri.arcgis.interop.Dispatch
implements IGridLabel, java.io.Serializable

Internal use class

See Also:
Serialized Form

Field Summary
 boolean noncastable
          Deprecated.  
static java.lang.Class targetClass
          Deprecated.  
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.carto.IGridLabel
IID, IIDce41c501_9df9_11d2_aade_000000000000
 
Constructor Summary
  IGridLabelProxy()
          Deprecated. For internal use only
  IGridLabelProxy(java.lang.Object obj)
          Deprecated.  
protected IGridLabelProxy(java.lang.Object obj, java.lang.String iid)
          Deprecated.  
  IGridLabelProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
protected IGridLabelProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
          Deprecated.  
 void draw(double labelValue, IPoint location, int axis, IDisplay display)
          Deprecated. Draws a label on the specified grid axis.
 IColor getColor()
          Deprecated. The color of the grid label.
 java.lang.String getDisplayName()
          Deprecated. The display name for the type of grid label.
 java.lang.Object getEditObject()
          Deprecated. The interface to an object that can be edited with a property sheet.
 Font getFont()
          Deprecated. The font used by the grid label.
 double getLabelOffset()
          Deprecated. The offset of the grid label from the border in points.
 boolean isApplies(IMapGrid grid)
          Deprecated. Indicates if this grid label can be used with the specified map grid.
 boolean isLabelAlignment(int axis)
          Deprecated. Indicates if the grid label is horizontal (true) or vertical (false) on the specified axis.
 void preview(int hDC, tagRECT rectangle)
          Deprecated. Draws a preview of the grid label into the specified hdc.
 void queryTextExtent(double labelValue, IPoint location, int axis, IDisplay display, IEnvelope extent)
          Deprecated. Determines the extent of a label's text on the specified grid axis.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Deprecated.  
 void setColor(IColor color)
          Deprecated. The color of the grid label.
 void setEditObject(java.lang.Object ppObject)
          Deprecated. The interface to an object that can be edited with a property sheet.
 void setFont(Font font)
          Deprecated. The font used by the grid label.
 void setLabelAlignment(int axis, boolean horizontal)
          Deprecated. Indicates if the grid label is horizontal (true) or vertical (false) on the specified axis.
 void setLabelOffset(double offsetPoints)
          Deprecated. The offset of the grid label from the border in points.
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

targetClass

public static final java.lang.Class targetClass
Deprecated. 

noncastable

public boolean noncastable
Deprecated. 
Constructor Detail

IGridLabelProxy

public IGridLabelProxy(java.lang.String CLSID,
                       java.lang.String host,
                       com.esri.arcgis.interop.AuthInfo authInfo)
                throws java.net.UnknownHostException,
                       java.io.IOException
Deprecated. 
Throws:
java.net.UnknownHostException
java.io.IOException

IGridLabelProxy

public IGridLabelProxy()
Deprecated. 
For internal use only


IGridLabelProxy

public IGridLabelProxy(java.lang.Object obj)
                throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

IGridLabelProxy

protected IGridLabelProxy(java.lang.Object obj,
                          java.lang.String iid)
                   throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

IGridLabelProxy

protected IGridLabelProxy(java.lang.String CLSID,
                          java.lang.String iid,
                          java.lang.String host,
                          com.esri.arcgis.interop.AuthInfo authInfo)
                   throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Deprecated. 
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Deprecated. 
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

getDisplayName

public java.lang.String getDisplayName()
                                throws java.io.IOException,
                                       AutomationException
Deprecated. 
The display name for the type of grid label.

Specified by:
getDisplayName in interface IGridLabel
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isApplies

public boolean isApplies(IMapGrid grid)
                  throws java.io.IOException,
                         AutomationException
Deprecated. 
Indicates if this grid label can be used with the specified map grid.

Specified by:
isApplies in interface IGridLabel
Parameters:
grid - A reference to a com.esri.arcgis.carto.IMapGrid (in)
Returns:
The applies
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEditObject

public java.lang.Object getEditObject()
                               throws java.io.IOException,
                                      AutomationException
Deprecated. 
The interface to an object that can be edited with a property sheet. The object is either the grid label itself or a single editable property.

Specified by:
getEditObject in interface IGridLabel
Returns:
A reference to another Object (IUnknown)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setEditObject

public void setEditObject(java.lang.Object ppObject)
                   throws java.io.IOException,
                          AutomationException
Deprecated. 
The interface to an object that can be edited with a property sheet. The object is either the grid label itself or a single editable property.

Specified by:
setEditObject in interface IGridLabel
Parameters:
ppObject - A reference to another Object (IUnknown) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFont

public Font getFont()
             throws java.io.IOException,
                    AutomationException
Deprecated. 
The font used by the grid label.

Specified by:
getFont in interface IGridLabel
Returns:
A reference to a com.esri.arcgis.support.ms.stdole.Font (A com.esri.arcgis.support.ms.stdole.Font COM typedef)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFont

public void setFont(Font font)
             throws java.io.IOException,
                    AutomationException
Deprecated. 
The font used by the grid label.

Specified by:
setFont in interface IGridLabel
Parameters:
font - A reference to a com.esri.arcgis.support.ms.stdole.Font (A com.esri.arcgis.support.ms.stdole.Font COM typedef) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getColor

public IColor getColor()
                throws java.io.IOException,
                       AutomationException
Deprecated. 
The color of the grid label.

Specified by:
getColor in interface IGridLabel
Returns:
A reference to a com.esri.arcgis.display.IColor
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setColor

public void setColor(IColor color)
              throws java.io.IOException,
                     AutomationException
Deprecated. 
The color of the grid label.

Specified by:
setColor in interface IGridLabel
Parameters:
color - A reference to a com.esri.arcgis.display.IColor (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLabelOffset

public double getLabelOffset()
                      throws java.io.IOException,
                             AutomationException
Deprecated. 
The offset of the grid label from the border in points.

Specified by:
getLabelOffset in interface IGridLabel
Returns:
The offsetPoints
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLabelOffset

public void setLabelOffset(double offsetPoints)
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
The offset of the grid label from the border in points.

Specified by:
setLabelOffset in interface IGridLabel
Parameters:
offsetPoints - The offsetPoints (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isLabelAlignment

public boolean isLabelAlignment(int axis)
                         throws java.io.IOException,
                                AutomationException
Deprecated. 
Indicates if the grid label is horizontal (true) or vertical (false) on the specified axis.

Specified by:
isLabelAlignment in interface IGridLabel
Parameters:
axis - A com.esri.arcgis.carto.esriGridAxisEnum constant (in)
Returns:
The horizontal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLabelAlignment

public void setLabelAlignment(int axis,
                              boolean horizontal)
                       throws java.io.IOException,
                              AutomationException
Deprecated. 
Indicates if the grid label is horizontal (true) or vertical (false) on the specified axis.

Specified by:
setLabelAlignment in interface IGridLabel
Parameters:
axis - A com.esri.arcgis.carto.esriGridAxisEnum constant (in)
horizontal - The horizontal (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryTextExtent

public void queryTextExtent(double labelValue,
                            IPoint location,
                            int axis,
                            IDisplay display,
                            IEnvelope extent)
                     throws java.io.IOException,
                            AutomationException
Deprecated. 
Determines the extent of a label's text on the specified grid axis.

Specified by:
queryTextExtent in interface IGridLabel
Parameters:
labelValue - The labelValue (in)
location - A reference to a com.esri.arcgis.geometry.IPoint (in)
axis - A com.esri.arcgis.carto.esriGridAxisEnum constant (in)
display - A reference to a com.esri.arcgis.display.IDisplay (in)
extent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

draw

public void draw(double labelValue,
                 IPoint location,
                 int axis,
                 IDisplay display)
          throws java.io.IOException,
                 AutomationException
Deprecated. 
Draws a label on the specified grid axis.

Specified by:
draw in interface IGridLabel
Parameters:
labelValue - The labelValue (in)
location - A reference to a com.esri.arcgis.geometry.IPoint (in)
axis - A com.esri.arcgis.carto.esriGridAxisEnum constant (in)
display - A reference to a com.esri.arcgis.display.IDisplay (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

preview

public void preview(int hDC,
                    tagRECT rectangle)
             throws java.io.IOException,
                    AutomationException
Deprecated. 
Draws a preview of the grid label into the specified hdc.

Specified by:
preview in interface IGridLabel
Parameters:
hDC - The hDC (A COM typedef) (in)
rectangle - A Structure: com.esri.arcgis.system.tagRECT (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.