|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.carto.CornerGridLabel
public class CornerGridLabel
A grid label with special corner display properties.
| Constructor Summary | |
|---|---|
CornerGridLabel()
Constructs a CornerGridLabel using ArcGIS Engine. |
|
CornerGridLabel(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. CornerGridLabel theCornerGridLabel = (CornerGridLabel) obj; |
|
| Method Summary | |
|---|---|
IElement |
createElement(double labelValue,
IPoint location,
int axis,
IDisplay display)
Creates a graphic element for a label on the specified grid axis. |
void |
draw(double labelValue,
IPoint location,
int axis,
IDisplay display)
Draws a label on the specified grid axis. |
boolean |
equals(Object o)
Compare this object with another |
int |
getBaseDigitCount()
The number of base digits for the label. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
IColor |
getColor()
The color of the grid label. |
double |
getCornerValue(int corner,
int axis)
The corner value at the specified corner and axis. |
String |
getDisplayName()
The display name for the type of grid label. |
String |
getEastingSuffix()
The string used to indicate the Easting. |
Object |
getEditObject()
The interface to an object that can be edited with a property sheet. |
Font |
getFont()
The font used by the grid label. |
double |
getFontSize()
The font size used by the grid label. |
double |
getLabelOffset()
The offset of the grid label from the border in points. |
String |
getNorthingSuffix()
The string used to indicate the Northing. |
int |
getPrincipalDigitCount()
The number of principal digits for the label. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
IColor |
getSmallLabelColor()
The color of the small label. |
Font |
getSmallLabelFont()
The font for the small label. |
double |
getSmallLabelSize()
The font size for the small label. |
String |
getUnitSuffix()
The string used to indicate the units. |
int |
hashCode()
the hashcode for this object |
boolean |
isApplies(IMapGrid grid)
Indicates if this grid label can be used with the specified map grid. |
boolean |
isCornerLabel(int corner)
Indicates if the specified corner should be displayed as a special corner label. |
void |
isDirty()
isDirty |
boolean |
isLabelAlignment(int axis)
Indicates if the grid label is horizontal (true) or vertical (false) on the specified axis. |
void |
load(IStream pstm)
load |
void |
preview(int hDC,
tagRECT rectangle)
Draws a preview of the grid label into the specified hdc. |
void |
queryTextExtent(double labelValue,
IPoint location,
int axis,
IDisplay display,
IEnvelope extent)
Determines the extent of a label's text on the specified grid axis. |
void |
readExternal(ObjectInput in)
|
void |
save(IStream pstm,
int fClearDirty)
save |
void |
setBaseDigitCount(int count)
The number of base digits for the label. |
void |
setColor(IColor color)
The color of the grid label. |
void |
setCornerLabel(int corner,
boolean isCorner)
Indicates if the specified corner should be displayed as a special corner label. |
void |
setCornerValue(int corner,
int axis,
double value)
The corner value at the specified corner and axis. |
void |
setEastingSuffix(String str)
The string used to indicate the Easting. |
void |
setEditObject(Object ppObject)
The interface to an object that can be edited with a property sheet. |
void |
setFont(Font font)
The font used by the grid label. |
void |
setFontSize(double size)
The font size used by the grid label. |
void |
setLabelAlignment(int axis,
boolean horizontal)
Indicates if the grid label is horizontal (true) or vertical (false) on the specified axis. |
void |
setLabelOffset(double offsetPoints)
The offset of the grid label from the border in points. |
void |
setNorthingSuffix(String str)
The string used to indicate the Northing. |
void |
setPrincipalDigitCount(int count)
The number of principal digits for the label. |
void |
setSmallLabelColor(IColor color)
The color of the small label. |
void |
setSmallLabelFont(Font font)
The font for the small label. |
void |
setSmallLabelSize(double size)
The font size for the small label. |
void |
setUnitSuffix(String str)
The string used to indicate the units. |
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public CornerGridLabel()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public CornerGridLabel(Object obj)
throws IOException
CornerGridLabel theCornerGridLabel = (CornerGridLabel) obj;
obj to CornerGridLabel.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public String getDisplayName()
throws IOException,
AutomationException
getDisplayName in interface IGridLabelgetDisplayName in interface IGridLabel2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isApplies(IMapGrid grid)
throws IOException,
AutomationException
isApplies in interface IGridLabelisApplies in interface IGridLabel2grid - A reference to a com.esri.arcgis.carto.IMapGrid (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object getEditObject()
throws IOException,
AutomationException
getEditObject in interface IGridLabelgetEditObject in interface IGridLabel2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setEditObject(Object ppObject)
throws IOException,
AutomationException
setEditObject in interface IGridLabelsetEditObject in interface IGridLabel2ppObject - A reference to another Object (IUnknown) (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Font getFont()
throws IOException,
AutomationException
getFont in interface IGridLabelgetFont in interface IGridLabel2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFont(Font font)
throws IOException,
AutomationException
setFont in interface IGridLabelsetFont in interface IGridLabel2font - A reference to a com.esri.arcgis.support.ms.stdole.Font (A com.esri.arcgis.support.ms.stdole.Font COM typedef) (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IColor getColor()
throws IOException,
AutomationException
getColor in interface IGridLabelgetColor in interface IGridLabel2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setColor(IColor color)
throws IOException,
AutomationException
setColor in interface IGridLabelsetColor in interface IGridLabel2color - A reference to a com.esri.arcgis.display.IColor (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getLabelOffset()
throws IOException,
AutomationException
getLabelOffset in interface IGridLabelgetLabelOffset in interface IGridLabel2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLabelOffset(double offsetPoints)
throws IOException,
AutomationException
setLabelOffset in interface IGridLabelsetLabelOffset in interface IGridLabel2offsetPoints - The offsetPoints (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isLabelAlignment(int axis)
throws IOException,
AutomationException
isLabelAlignment in interface IGridLabelisLabelAlignment in interface IGridLabel2axis - A com.esri.arcgis.carto.esriGridAxisEnum constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLabelAlignment(int axis,
boolean horizontal)
throws IOException,
AutomationException
setLabelAlignment in interface IGridLabelsetLabelAlignment in interface IGridLabel2axis - A com.esri.arcgis.carto.esriGridAxisEnum constant (in)horizontal - The horizontal (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void queryTextExtent(double labelValue,
IPoint location,
int axis,
IDisplay display,
IEnvelope extent)
throws IOException,
AutomationException
queryTextExtent in interface IGridLabelqueryTextExtent in interface IGridLabel2labelValue - 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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void draw(double labelValue,
IPoint location,
int axis,
IDisplay display)
throws IOException,
AutomationException
draw in interface IGridLabeldraw in interface IGridLabel2labelValue - 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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void preview(int hDC,
tagRECT rectangle)
throws IOException,
AutomationException
preview in interface IGridLabelpreview in interface IGridLabel2hDC - The hDC (A COM typedef) (in)rectangle - A Structure: com.esri.arcgis.system.tagRECT (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getFontSize()
throws IOException,
AutomationException
getFontSize in interface IGridLabel2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFontSize(double size)
throws IOException,
AutomationException
setFontSize in interface IGridLabel2size - The size (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isCornerLabel(int corner)
throws IOException,
AutomationException
isCornerLabel in interface ICornerGridLabelcorner - A com.esri.arcgis.carto.esriGridCornerEnum constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCornerLabel(int corner,
boolean isCorner)
throws IOException,
AutomationException
setCornerLabel in interface ICornerGridLabelcorner - A com.esri.arcgis.carto.esriGridCornerEnum constant (in)isCorner - The isCorner (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getCornerValue(int corner,
int axis)
throws IOException,
AutomationException
getCornerValue in interface ICornerGridLabelcorner - A com.esri.arcgis.carto.esriGridCornerEnum constant (in)axis - A com.esri.arcgis.carto.esriGridAxisEnum constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCornerValue(int corner,
int axis,
double value)
throws IOException,
AutomationException
setCornerValue in interface ICornerGridLabelcorner - A com.esri.arcgis.carto.esriGridCornerEnum constant (in)axis - A com.esri.arcgis.carto.esriGridAxisEnum constant (in)value - The value (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Font getSmallLabelFont()
throws IOException,
AutomationException
getSmallLabelFont in interface IPrincipalDigitsGridLabelIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSmallLabelFont(Font font)
throws IOException,
AutomationException
setSmallLabelFont in interface IPrincipalDigitsGridLabelfont - A reference to a com.esri.arcgis.support.ms.stdole.Font (A com.esri.arcgis.support.ms.stdole.Font COM typedef) (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getSmallLabelSize()
throws IOException,
AutomationException
getSmallLabelSize in interface IPrincipalDigitsGridLabelIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSmallLabelSize(double size)
throws IOException,
AutomationException
setSmallLabelSize in interface IPrincipalDigitsGridLabelsize - The size (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IColor getSmallLabelColor()
throws IOException,
AutomationException
getSmallLabelColor in interface IPrincipalDigitsGridLabelIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSmallLabelColor(IColor color)
throws IOException,
AutomationException
setSmallLabelColor in interface IPrincipalDigitsGridLabelcolor - A reference to a com.esri.arcgis.display.IColor (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getPrincipalDigitCount()
throws IOException,
AutomationException
getPrincipalDigitCount in interface IPrincipalDigitsGridLabelIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPrincipalDigitCount(int count)
throws IOException,
AutomationException
setPrincipalDigitCount in interface IPrincipalDigitsGridLabelcount - The count (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getBaseDigitCount()
throws IOException,
AutomationException
getBaseDigitCount in interface IPrincipalDigitsGridLabelIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setBaseDigitCount(int count)
throws IOException,
AutomationException
setBaseDigitCount in interface IPrincipalDigitsGridLabelcount - The count (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getUnitSuffix()
throws IOException,
AutomationException
getUnitSuffix in interface IPrincipalDigitsGridLabelIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setUnitSuffix(String str)
throws IOException,
AutomationException
setUnitSuffix in interface IPrincipalDigitsGridLabelstr - The str (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getEastingSuffix()
throws IOException,
AutomationException
getEastingSuffix in interface IPrincipalDigitsGridLabelIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setEastingSuffix(String str)
throws IOException,
AutomationException
setEastingSuffix in interface IPrincipalDigitsGridLabelstr - The str (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getNorthingSuffix()
throws IOException,
AutomationException
getNorthingSuffix in interface IPrincipalDigitsGridLabelIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setNorthingSuffix(String str)
throws IOException,
AutomationException
setNorthingSuffix in interface IPrincipalDigitsGridLabelstr - The str (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IElement createElement(double labelValue,
IPoint location,
int axis,
IDisplay display)
throws IOException,
AutomationException
createElement in interface IGridLabelExportlabelValue - 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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void isDirty()
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty in interface IPersistStreamIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void load(IStream pstm)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void save(IStream pstm,
int fClearDirty)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)fClearDirty - The fClearDirty (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax in interface IPersistStreampcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getClassID(GUID[] pClassID)
throws IOException,
AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||