|
|||||||||
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
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 problemspublic 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 problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public boolean isShowTitle() throws IOException, AutomationException
isShowTitle
in interface ILegendFormat
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setShowTitle(boolean showTitle) throws IOException, AutomationException
setShowTitle
in interface ILegendFormat
showTitle
- 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 ILegendFormat
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTitleSymbol(ITextSymbol symbol) throws IOException, AutomationException
setTitleSymbol
in interface ILegendFormat
symbol
- 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 ILegendFormat
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTitlePosition(int pos) throws IOException, AutomationException
setTitlePosition
in interface ILegendFormat
pos
- 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 ILegendFormat
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTitleGap(double gap) throws IOException, AutomationException
setTitleGap
in interface ILegendFormat
gap
- 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 ILegendFormat
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setVerticalItemGap(double gap) throws IOException, AutomationException
setVerticalItemGap
in interface ILegendFormat
gap
- 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 ILegendFormat
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHorizontalItemGap(double gap) throws IOException, AutomationException
setHorizontalItemGap
in interface ILegendFormat
gap
- 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 ILegendFormat
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLayerNameGap(double gap) throws IOException, AutomationException
setLayerNameGap
in interface ILegendFormat
gap
- 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 ILegendFormat
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setGroupGap(double gap) throws IOException, AutomationException
setGroupGap
in interface ILegendFormat
gap
- 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 ILegendFormat
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHeadingGap(double gap) throws IOException, AutomationException
setHeadingGap
in interface ILegendFormat
gap
- 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 ILegendFormat
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTextGap(double gap) throws IOException, AutomationException
setTextGap
in interface ILegendFormat
gap
- 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 ILegendFormat
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setVerticalPatchGap(double gap) throws IOException, AutomationException
setVerticalPatchGap
in interface ILegendFormat
gap
- 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 ILegendFormat
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHorizontalPatchGap(double gap) throws IOException, AutomationException
setHorizontalPatchGap
in interface ILegendFormat
gap
- 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 ILegendFormat
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDefaultPatchWidth(double width) throws IOException, AutomationException
setDefaultPatchWidth
in interface ILegendFormat
width
- 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 ILegendFormat
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDefaultPatchHeight(double height) throws IOException, AutomationException
setDefaultPatchHeight
in interface ILegendFormat
height
- 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 ILegendFormat
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDefaultLinePatch(ILinePatch patch) throws IOException, AutomationException
setDefaultLinePatch
in interface ILegendFormat
patch
- 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 ILegendFormat
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDefaultAreaPatch(IAreaPatch patch) throws IOException, AutomationException
setDefaultAreaPatch
in interface ILegendFormat
patch
- 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 ILegendFormat
xScale
- 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 ILegendLayout
scaleGraphicsOnResize
- 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 ILegendLayout
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 IPersistStream
IOException
- 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 IPersistStream
pstm
- 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 IPersistStream
pstm
- 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 IPersistStream
pcbSize
- 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 IPersist
pClassID
- 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 IClone
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void assign(IClone src) throws IOException, AutomationException
assign
in interface IClone
src
- 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 IClone
other
- 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 IClone
other
- 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 Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |