|
|||||||||
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
COM Class 'CornerGridLabel'. Generated 3/19/2015 1:20:41 PM from 'C:\ArcGIS\COM\esriCarto.olb'
Description 'A grid label with special corner display properties.' 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 =
Field Summary | |
---|---|
static long |
serialVersionUID
|
Fields inherited from interface com.esri.arcgis.carto.IGridLabel |
---|
IID, IIDce41c501_9df9_11d2_aade_000000000000, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.IGridLabel2 |
---|
IID, IID76b22cba_a25b_41e5_b8ba_f29ae31822bb, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.ICornerGridLabel |
---|
IID, IID8ed900fe_2573_4911_9c13_a24ac3bc3233, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.IPrincipalDigitsGridLabel |
---|
IID, IID560a800d_2467_4e71_9ac1_d8c399f22ad1, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.IGridLabelExport |
---|
IID, IIDed656e23_e953_11d3_9fda_00c04f6bc78e, xxDummy |
Fields inherited from interface com.esri.arcgis.system.IPersistStream |
---|
IID, IID00000109_0000_0000_c000_000000000046, xxDummy |
Fields inherited from interface com.esri.arcgis.system.IPersist |
---|
IID0000010c_0000_0000_c000_000000000046 |
Constructor Summary | |
---|---|
CornerGridLabel()
Constructs a CornerGridLabel using ArcGIS Engine. |
|
CornerGridLabel(java.lang.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(java.lang.Object o)
Compare this object with another |
int |
getBaseDigitCount()
The number of base digits for the label. |
void |
getClassID(GUID[] pClassID)
getClassID |
static java.lang.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. |
java.lang.String |
getDisplayName()
The display name for the type of grid label. |
java.lang.String |
getEastingSuffix()
The string used to indicate the Easting. |
java.lang.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. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
double |
getLabelOffset()
The offset of the grid label from the border in points. |
java.lang.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. |
java.lang.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(java.io.ObjectInput in)
|
void |
release()
Release a CornerGridLabel. |
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(java.lang.String str)
The string used to indicate the Easting. |
void |
setEditObject(java.lang.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(java.lang.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(java.lang.String str)
The string used to indicate the units. |
void |
writeExternal(java.io.ObjectOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final long serialVersionUID
Constructor Detail |
---|
public CornerGridLabel() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic CornerGridLabel(java.lang.Object obj) throws java.io.IOException
CornerGridLabel theCornerGridLabel = (CornerGridLabel) obj;
obj
to CornerGridLabel
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public java.lang.String getDisplayName() throws java.io.IOException, AutomationException
getDisplayName
in interface IGridLabel
getDisplayName
in interface IGridLabel2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isApplies(IMapGrid grid) throws java.io.IOException, AutomationException
isApplies
in interface IGridLabel
isApplies
in interface IGridLabel2
grid
- A reference to a com.esri.arcgis.carto.IMapGrid (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getEditObject() throws java.io.IOException, AutomationException
getEditObject
in interface IGridLabel
getEditObject
in interface IGridLabel2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setEditObject(java.lang.Object ppObject) throws java.io.IOException, AutomationException
setEditObject
in interface IGridLabel
setEditObject
in interface IGridLabel2
ppObject
- A reference to another Object (IUnknown) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Font getFont() throws java.io.IOException, AutomationException
getFont
in interface IGridLabel
getFont
in interface IGridLabel2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFont(Font font) throws java.io.IOException, AutomationException
setFont
in interface IGridLabel
setFont
in interface IGridLabel2
font
- A reference to a com.esri.arcgis.support.ms.stdole.Font (A com.esri.arcgis.support.ms.stdole.Font COM typedef) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IColor getColor() throws java.io.IOException, AutomationException
getColor
in interface IGridLabel
getColor
in interface IGridLabel2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setColor(IColor color) throws java.io.IOException, AutomationException
setColor
in interface IGridLabel
setColor
in interface IGridLabel2
color
- A reference to a com.esri.arcgis.display.IColor (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getLabelOffset() throws java.io.IOException, AutomationException
getLabelOffset
in interface IGridLabel
getLabelOffset
in interface IGridLabel2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLabelOffset(double offsetPoints) throws java.io.IOException, AutomationException
setLabelOffset
in interface IGridLabel
setLabelOffset
in interface IGridLabel2
offsetPoints
- The offsetPoints (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isLabelAlignment(int axis) throws java.io.IOException, AutomationException
isLabelAlignment
in interface IGridLabel
isLabelAlignment
in interface IGridLabel2
axis
- A com.esri.arcgis.carto.esriGridAxisEnum constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLabelAlignment(int axis, boolean horizontal) throws java.io.IOException, AutomationException
setLabelAlignment
in interface IGridLabel
setLabelAlignment
in interface IGridLabel2
axis
- A com.esri.arcgis.carto.esriGridAxisEnum constant (in)horizontal
- The horizontal (in)
java.io.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 java.io.IOException, AutomationException
queryTextExtent
in interface IGridLabel
queryTextExtent
in interface IGridLabel2
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)
java.io.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 java.io.IOException, AutomationException
draw
in interface IGridLabel
draw
in interface IGridLabel2
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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void preview(int hDC, tagRECT rectangle) throws java.io.IOException, AutomationException
preview
in interface IGridLabel
preview
in interface IGridLabel2
hDC
- The hDC (A COM typedef) (in)rectangle
- A Structure: com.esri.arcgis.system.tagRECT (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getFontSize() throws java.io.IOException, AutomationException
getFontSize
in interface IGridLabel2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFontSize(double size) throws java.io.IOException, AutomationException
setFontSize
in interface IGridLabel2
size
- The size (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isCornerLabel(int corner) throws java.io.IOException, AutomationException
isCornerLabel
in interface ICornerGridLabel
corner
- A com.esri.arcgis.carto.esriGridCornerEnum constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCornerLabel(int corner, boolean isCorner) throws java.io.IOException, AutomationException
setCornerLabel
in interface ICornerGridLabel
corner
- A com.esri.arcgis.carto.esriGridCornerEnum constant (in)isCorner
- The isCorner (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getCornerValue(int corner, int axis) throws java.io.IOException, AutomationException
getCornerValue
in interface ICornerGridLabel
corner
- A com.esri.arcgis.carto.esriGridCornerEnum constant (in)axis
- A com.esri.arcgis.carto.esriGridAxisEnum constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCornerValue(int corner, int axis, double value) throws java.io.IOException, AutomationException
setCornerValue
in interface ICornerGridLabel
corner
- A com.esri.arcgis.carto.esriGridCornerEnum constant (in)axis
- A com.esri.arcgis.carto.esriGridAxisEnum constant (in)value
- The value (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Font getSmallLabelFont() throws java.io.IOException, AutomationException
getSmallLabelFont
in interface IPrincipalDigitsGridLabel
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSmallLabelFont(Font font) throws java.io.IOException, AutomationException
setSmallLabelFont
in interface IPrincipalDigitsGridLabel
font
- A reference to a com.esri.arcgis.support.ms.stdole.Font (A com.esri.arcgis.support.ms.stdole.Font COM typedef) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getSmallLabelSize() throws java.io.IOException, AutomationException
getSmallLabelSize
in interface IPrincipalDigitsGridLabel
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSmallLabelSize(double size) throws java.io.IOException, AutomationException
setSmallLabelSize
in interface IPrincipalDigitsGridLabel
size
- The size (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IColor getSmallLabelColor() throws java.io.IOException, AutomationException
getSmallLabelColor
in interface IPrincipalDigitsGridLabel
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSmallLabelColor(IColor color) throws java.io.IOException, AutomationException
setSmallLabelColor
in interface IPrincipalDigitsGridLabel
color
- A reference to a com.esri.arcgis.display.IColor (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getPrincipalDigitCount() throws java.io.IOException, AutomationException
getPrincipalDigitCount
in interface IPrincipalDigitsGridLabel
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPrincipalDigitCount(int count) throws java.io.IOException, AutomationException
setPrincipalDigitCount
in interface IPrincipalDigitsGridLabel
count
- The count (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getBaseDigitCount() throws java.io.IOException, AutomationException
getBaseDigitCount
in interface IPrincipalDigitsGridLabel
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBaseDigitCount(int count) throws java.io.IOException, AutomationException
setBaseDigitCount
in interface IPrincipalDigitsGridLabel
count
- The count (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getUnitSuffix() throws java.io.IOException, AutomationException
getUnitSuffix
in interface IPrincipalDigitsGridLabel
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUnitSuffix(java.lang.String str) throws java.io.IOException, AutomationException
setUnitSuffix
in interface IPrincipalDigitsGridLabel
str
- The str (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getEastingSuffix() throws java.io.IOException, AutomationException
getEastingSuffix
in interface IPrincipalDigitsGridLabel
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setEastingSuffix(java.lang.String str) throws java.io.IOException, AutomationException
setEastingSuffix
in interface IPrincipalDigitsGridLabel
str
- The str (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getNorthingSuffix() throws java.io.IOException, AutomationException
getNorthingSuffix
in interface IPrincipalDigitsGridLabel
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setNorthingSuffix(java.lang.String str) throws java.io.IOException, AutomationException
setNorthingSuffix
in interface IPrincipalDigitsGridLabel
str
- The str (in)
java.io.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 java.io.IOException, AutomationException
createElement
in interface IGridLabelExport
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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws java.io.IOException, AutomationException
isDirty
in interface IPersistStream
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void load(IStream pstm) throws java.io.IOException, AutomationException
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws java.io.IOException, AutomationException
save
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws java.io.IOException, AutomationException
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws java.io.IOException, AutomationException
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |