|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.carto.LegendFormat
public class LegendFormat
COM Class 'LegendFormat'. Generated 3/19/2015 1:20:41 PM from 'C:\ArcGIS\COM\esriCarto.olb'
Description 'A legend format.' 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.ILegendFormat |
---|
IID, IID52aa5bc1_cb21_11d0_87f9_080009ec732a, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.ILegendLayout |
---|
IID, IIDa7e5770d_ec6a_11d2_b86e_00600802e603, 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 |
Fields inherited from interface com.esri.arcgis.system.IClone |
---|
IID, IID9bff8aeb_e415_11d0_943c_080009eebecb, xxDummy |
Constructor Summary | |
---|---|
LegendFormat()
Constructs a LegendFormat using ArcGIS Engine. |
|
LegendFormat(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. LegendFormat theLegendFormat = (LegendFormat) obj; |
Method Summary | |
---|---|
void |
assign(IClone src)
Assigns the properties of src to the receiver. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone. |
void |
getClassID(GUID[] pClassID)
getClassID |
static java.lang.String |
getClsid()
getClsid. |
IAreaPatch |
getDefaultAreaPatch()
Area patch. |
ILinePatch |
getDefaultLinePatch()
Line patch. |
double |
getDefaultPatchHeight()
Patch height in points. |
double |
getDefaultPatchWidth()
Patch width in points. |
double |
getGroupGap()
Vertical distance in points between legend groups. |
double |
getHeadingGap()
Vertical distance in points between a heading and the legend graphics that follow. |
double |
getHorizontalItemGap()
Horizontal distance in points between legend item columns. |
double |
getHorizontalPatchGap()
Horizontal distance in points between a patch and the legend graphics before and after. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
double |
getLayerNameGap()
Vertical distance in points between layer names and the legend graphics that follow. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
double |
getTextGap()
Horizontal distance in points between labels and descriptions. |
double |
getTitleGap()
Vertical distance in points between title and first legend item. |
int |
getTitlePosition()
Legend title position. |
ITextSymbol |
getTitleSymbol()
Text symbol used to draw the legend title. |
double |
getVerticalItemGap()
Vertical distance in points between legend items. |
double |
getVerticalPatchGap()
Vertical distance in points between patches. |
int |
hashCode()
the hashcode for this object |
void |
isDirty()
isDirty |
boolean |
isEqual(IClone other)
Indicates if the receiver and other have the same properties. |
boolean |
isIdentical(IClone other)
Indicates if the receiver and other are the same object. |
boolean |
isScaleGraphicsOnResize()
Indicates if graphics are scaled when the legend is resized. |
boolean |
isShowTitle()
Indicates if title is visibile. |
void |
load(IStream pstm)
load |
void |
readExternal(java.io.ObjectInput in)
|
void |
release()
Release a LegendFormat. |
void |
save(IStream pstm,
int fClearDirty)
save |
void |
scale(double xScale,
double yScale)
Multiply all distances, gaps, and size property values on this interface by the specified scale factors. |
void |
setDefaultAreaPatch(IAreaPatch patch)
Area patch. |
void |
setDefaultLinePatch(ILinePatch patch)
Line patch. |
void |
setDefaultPatchHeight(double height)
Patch height in points. |
void |
setDefaultPatchWidth(double width)
Patch width in points. |
void |
setGroupGap(double gap)
Vertical distance in points between legend groups. |
void |
setHeadingGap(double gap)
Vertical distance in points between a heading and the legend graphics that follow. |
void |
setHorizontalItemGap(double gap)
Horizontal distance in points between legend item columns. |
void |
setHorizontalPatchGap(double gap)
Horizontal distance in points between a patch and the legend graphics before and after. |
void |
setLayerNameGap(double gap)
Vertical distance in points between layer names and the legend graphics that follow. |
void |
setScaleGraphicsOnResize(boolean scaleGraphicsOnResize)
Indicates if graphics are scaled when the legend is resized. |
void |
setShowTitle(boolean showTitle)
Indicates if title is visibile. |
void |
setTextGap(double gap)
Horizontal distance in points between labels and descriptions. |
void |
setTitleGap(double gap)
Vertical distance in points between title and first legend item. |
void |
setTitlePosition(int pos)
Legend title position. |
void |
setTitleSymbol(ITextSymbol symbol)
Text symbol used to draw the legend title. |
void |
setVerticalItemGap(double gap)
Vertical distance in points between legend items. |
void |
setVerticalPatchGap(double gap)
Vertical distance in points between patches. |
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 LegendFormat() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic LegendFormat(java.lang.Object obj) throws java.io.IOException
LegendFormat theLegendFormat = (LegendFormat) obj;
obj
to LegendFormat
.
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 boolean isShowTitle() throws java.io.IOException, AutomationException
isShowTitle
in interface ILegendFormat
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setShowTitle(boolean showTitle) throws java.io.IOException, AutomationException
setShowTitle
in interface ILegendFormat
showTitle
- The showTitle (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITextSymbol getTitleSymbol() throws java.io.IOException, AutomationException
getTitleSymbol
in interface ILegendFormat
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTitleSymbol(ITextSymbol symbol) throws java.io.IOException, AutomationException
setTitleSymbol
in interface ILegendFormat
symbol
- A reference to a com.esri.arcgis.display.ITextSymbol (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getTitlePosition() throws java.io.IOException, AutomationException
getTitlePosition
in interface ILegendFormat
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTitlePosition(int pos) throws java.io.IOException, AutomationException
setTitlePosition
in interface ILegendFormat
pos
- A com.esri.arcgis.carto.esriRectanglePosition constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getTitleGap() throws java.io.IOException, AutomationException
getTitleGap
in interface ILegendFormat
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTitleGap(double gap) throws java.io.IOException, AutomationException
setTitleGap
in interface ILegendFormat
gap
- The gap (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getVerticalItemGap() throws java.io.IOException, AutomationException
getVerticalItemGap
in interface ILegendFormat
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setVerticalItemGap(double gap) throws java.io.IOException, AutomationException
setVerticalItemGap
in interface ILegendFormat
gap
- The gap (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getHorizontalItemGap() throws java.io.IOException, AutomationException
getHorizontalItemGap
in interface ILegendFormat
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHorizontalItemGap(double gap) throws java.io.IOException, AutomationException
setHorizontalItemGap
in interface ILegendFormat
gap
- The gap (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getLayerNameGap() throws java.io.IOException, AutomationException
getLayerNameGap
in interface ILegendFormat
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLayerNameGap(double gap) throws java.io.IOException, AutomationException
setLayerNameGap
in interface ILegendFormat
gap
- The gap (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getGroupGap() throws java.io.IOException, AutomationException
getGroupGap
in interface ILegendFormat
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setGroupGap(double gap) throws java.io.IOException, AutomationException
setGroupGap
in interface ILegendFormat
gap
- The gap (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getHeadingGap() throws java.io.IOException, AutomationException
getHeadingGap
in interface ILegendFormat
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHeadingGap(double gap) throws java.io.IOException, AutomationException
setHeadingGap
in interface ILegendFormat
gap
- The gap (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getTextGap() throws java.io.IOException, AutomationException
getTextGap
in interface ILegendFormat
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTextGap(double gap) throws java.io.IOException, AutomationException
setTextGap
in interface ILegendFormat
gap
- The gap (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getVerticalPatchGap() throws java.io.IOException, AutomationException
getVerticalPatchGap
in interface ILegendFormat
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setVerticalPatchGap(double gap) throws java.io.IOException, AutomationException
setVerticalPatchGap
in interface ILegendFormat
gap
- The gap (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getHorizontalPatchGap() throws java.io.IOException, AutomationException
getHorizontalPatchGap
in interface ILegendFormat
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHorizontalPatchGap(double gap) throws java.io.IOException, AutomationException
setHorizontalPatchGap
in interface ILegendFormat
gap
- The gap (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getDefaultPatchWidth() throws java.io.IOException, AutomationException
getDefaultPatchWidth
in interface ILegendFormat
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDefaultPatchWidth(double width) throws java.io.IOException, AutomationException
setDefaultPatchWidth
in interface ILegendFormat
width
- The width (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getDefaultPatchHeight() throws java.io.IOException, AutomationException
getDefaultPatchHeight
in interface ILegendFormat
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDefaultPatchHeight(double height) throws java.io.IOException, AutomationException
setDefaultPatchHeight
in interface ILegendFormat
height
- The height (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILinePatch getDefaultLinePatch() throws java.io.IOException, AutomationException
getDefaultLinePatch
in interface ILegendFormat
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDefaultLinePatch(ILinePatch patch) throws java.io.IOException, AutomationException
setDefaultLinePatch
in interface ILegendFormat
patch
- A reference to a com.esri.arcgis.carto.ILinePatch (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IAreaPatch getDefaultAreaPatch() throws java.io.IOException, AutomationException
getDefaultAreaPatch
in interface ILegendFormat
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDefaultAreaPatch(IAreaPatch patch) throws java.io.IOException, AutomationException
setDefaultAreaPatch
in interface ILegendFormat
patch
- A reference to a com.esri.arcgis.carto.IAreaPatch (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void scale(double xScale, double yScale) throws java.io.IOException, AutomationException
scale
in interface ILegendFormat
xScale
- The xScale (in)yScale
- The yScale (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setScaleGraphicsOnResize(boolean scaleGraphicsOnResize) throws java.io.IOException, AutomationException
setScaleGraphicsOnResize
in interface ILegendLayout
scaleGraphicsOnResize
- The scaleGraphicsOnResize (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isScaleGraphicsOnResize() throws java.io.IOException, AutomationException
isScaleGraphicsOnResize
in interface ILegendLayout
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 IClone esri_clone() throws java.io.IOException, AutomationException
esri_clone
in interface IClone
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void assign(IClone src) throws java.io.IOException, AutomationException
assign
in interface IClone
src
- A reference to a com.esri.arcgis.system.IClone (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEqual(IClone other) throws java.io.IOException, AutomationException
isEqual
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isIdentical(IClone other) throws java.io.IOException, AutomationException
isIdentical
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
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 |