|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.carto.LegendFormat
public class LegendFormat
A legend format.
| Constructor Summary | |
|---|---|
LegendFormat()
Constructs a LegendFormat using ArcGIS Engine. |
|
LegendFormat(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(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 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. |
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(ObjectInput in)
|
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(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 LegendFormat()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public LegendFormat(Object obj)
throws IOException
LegendFormat theLegendFormat = (LegendFormat) obj;
obj to LegendFormat.
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 boolean isShowTitle()
throws IOException,
AutomationException
isShowTitle in interface ILegendFormatIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setShowTitle(boolean showTitle)
throws IOException,
AutomationException
setShowTitle in interface ILegendFormatshowTitle - The showTitle (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ITextSymbol getTitleSymbol()
throws IOException,
AutomationException
getTitleSymbol in interface ILegendFormatIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTitleSymbol(ITextSymbol symbol)
throws IOException,
AutomationException
setTitleSymbol in interface ILegendFormatsymbol - A reference to a com.esri.arcgis.display.ITextSymbol (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getTitlePosition()
throws IOException,
AutomationException
getTitlePosition in interface ILegendFormatIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTitlePosition(int pos)
throws IOException,
AutomationException
setTitlePosition in interface ILegendFormatpos - A com.esri.arcgis.carto.esriRectanglePosition constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getTitleGap()
throws IOException,
AutomationException
getTitleGap in interface ILegendFormatIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTitleGap(double gap)
throws IOException,
AutomationException
setTitleGap in interface ILegendFormatgap - The gap (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getVerticalItemGap()
throws IOException,
AutomationException
getVerticalItemGap in interface ILegendFormatIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setVerticalItemGap(double gap)
throws IOException,
AutomationException
setVerticalItemGap in interface ILegendFormatgap - The gap (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getHorizontalItemGap()
throws IOException,
AutomationException
getHorizontalItemGap in interface ILegendFormatIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setHorizontalItemGap(double gap)
throws IOException,
AutomationException
setHorizontalItemGap in interface ILegendFormatgap - The gap (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getLayerNameGap()
throws IOException,
AutomationException
getLayerNameGap in interface ILegendFormatIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLayerNameGap(double gap)
throws IOException,
AutomationException
setLayerNameGap in interface ILegendFormatgap - The gap (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getGroupGap()
throws IOException,
AutomationException
getGroupGap in interface ILegendFormatIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setGroupGap(double gap)
throws IOException,
AutomationException
setGroupGap in interface ILegendFormatgap - The gap (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getHeadingGap()
throws IOException,
AutomationException
getHeadingGap in interface ILegendFormatIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setHeadingGap(double gap)
throws IOException,
AutomationException
setHeadingGap in interface ILegendFormatgap - The gap (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getTextGap()
throws IOException,
AutomationException
getTextGap in interface ILegendFormatIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTextGap(double gap)
throws IOException,
AutomationException
setTextGap in interface ILegendFormatgap - The gap (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getVerticalPatchGap()
throws IOException,
AutomationException
getVerticalPatchGap in interface ILegendFormatIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setVerticalPatchGap(double gap)
throws IOException,
AutomationException
setVerticalPatchGap in interface ILegendFormatgap - The gap (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getHorizontalPatchGap()
throws IOException,
AutomationException
getHorizontalPatchGap in interface ILegendFormatIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setHorizontalPatchGap(double gap)
throws IOException,
AutomationException
setHorizontalPatchGap in interface ILegendFormatgap - The gap (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getDefaultPatchWidth()
throws IOException,
AutomationException
getDefaultPatchWidth in interface ILegendFormatIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDefaultPatchWidth(double width)
throws IOException,
AutomationException
setDefaultPatchWidth in interface ILegendFormatwidth - The width (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getDefaultPatchHeight()
throws IOException,
AutomationException
getDefaultPatchHeight in interface ILegendFormatIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDefaultPatchHeight(double height)
throws IOException,
AutomationException
setDefaultPatchHeight in interface ILegendFormatheight - The height (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ILinePatch getDefaultLinePatch()
throws IOException,
AutomationException
getDefaultLinePatch in interface ILegendFormatIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDefaultLinePatch(ILinePatch patch)
throws IOException,
AutomationException
setDefaultLinePatch in interface ILegendFormatpatch - A reference to a com.esri.arcgis.carto.ILinePatch (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IAreaPatch getDefaultAreaPatch()
throws IOException,
AutomationException
getDefaultAreaPatch in interface ILegendFormatIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDefaultAreaPatch(IAreaPatch patch)
throws IOException,
AutomationException
setDefaultAreaPatch in interface ILegendFormatpatch - A reference to a com.esri.arcgis.carto.IAreaPatch (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void scale(double xScale,
double yScale)
throws IOException,
AutomationException
scale in interface ILegendFormatxScale - The xScale (in)yScale - The yScale (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setScaleGraphicsOnResize(boolean scaleGraphicsOnResize)
throws IOException,
AutomationException
setScaleGraphicsOnResize in interface ILegendLayoutscaleGraphicsOnResize - The scaleGraphicsOnResize (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isScaleGraphicsOnResize()
throws IOException,
AutomationException
isScaleGraphicsOnResize in interface ILegendLayoutIOException - 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 IClone esri_clone()
throws IOException,
AutomationException
esri_clone in interface ICloneIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void assign(IClone src)
throws IOException,
AutomationException
assign in interface IClonesrc - A reference to a com.esri.arcgis.system.IClone (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isEqual(IClone other)
throws IOException,
AutomationException
IsEqual returns True if the receiver and the source have the same properties. Note, this does not imply that the receiver and the source reference the same object.
isEqual in interface ICloneother - A reference to a com.esri.arcgis.system.IClone (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isIdentical(IClone other)
throws IOException,
AutomationException
IsIdentical returns true if the receiver and the source reference the same object.
isIdentical in interface ICloneother - A reference to a com.esri.arcgis.system.IClone (in)
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 | ||||||||