|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.trackinganalyst.TemporalLegendClass
public class TemporalLegendClass
Controls settings for individual temporal class, such as time window period and offset.
This Object extends the ESRI Legend Class to tailor it for temporal capabilities.
| Constructor Summary | |
|---|---|
TemporalLegendClass()
Constructs a TemporalLegendClass using ArcGIS Engine. |
|
TemporalLegendClass(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. TemporalLegendClass theTemporalLegendClass = (TemporalLegendClass) obj; |
|
| Method Summary | |
|---|---|
void |
assign(IClone src)
Assigns the properties of src to the receiver. |
Object |
convertToSupportedObject(int docVersion)
Convert the object to another object that is supported. |
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. |
String |
getDescription()
Legend class description. |
ILegendClassFormat |
getFormat()
Optional. |
String |
getLabel()
Legend class label. |
double |
getPeriod()
Indicates period setting for temporal data layer. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
double |
getStartingOffset()
Indicates initial offset setting for temporal data. |
ISymbol |
getSymbol()
Legend class symbol. |
IColor |
getSymbolColor()
Indicates symbol size setting for temporal events as they display on the map. |
double |
getSymbolSize()
Indicates symbol size setting for temporal events as they display on the map. |
int |
getTimeUnits()
Indicates unit of time used to define period of time window. |
int |
getType()
Identifies special drawing properties of a temporal legend class. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
boolean |
intersects(Object vTimeValue)
Determines whether or not the Time Value intersects the Reference and TimeValue parameters. |
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 |
isSupportedAtVersion(int docVersion)
Is this object valid at the given document version. |
void |
load(IStream pstm)
load |
void |
readExternal(ObjectInput in)
|
void |
save(IStream pstm,
int fClearDirty)
save |
void |
setDescription(String label)
Legend class description. |
void |
setFormat(ILegendClassFormat format)
Optional. |
void |
setLabel(String label)
Legend class label. |
void |
setPeriod(double pVal)
Indicates period setting for temporal data layer. |
void |
setReference(Object varReference)
Sets the temporal reference properties for the temporal legend class. |
void |
setStartingOffset(double pVal)
Indicates initial offset setting for temporal data. |
void |
setSymbolByRef(ISymbol symbol)
Legend class symbol. |
void |
setTimeUnits(int pVal)
Indicates unit of time used to define period of time window. |
void |
setType(int penumTemporalLegendType)
Identifies special drawing properties of a temporal legend class. |
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 TemporalLegendClass()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public TemporalLegendClass(Object obj)
throws IOException
TemporalLegendClass theTemporalLegendClass = (TemporalLegendClass) obj;
obj to TemporalLegendClass.
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 ISymbol getSymbol()
throws IOException,
AutomationException
getSymbol in interface ILegendClassgetSymbol in interface ITemporalLegendClassIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSymbolByRef(ISymbol symbol)
throws IOException,
AutomationException
setSymbolByRef in interface ILegendClasssetSymbolByRef in interface ITemporalLegendClasssymbol - A reference to a com.esri.arcgis.display.ISymbol (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getLabel()
throws IOException,
AutomationException
getLabel in interface ILegendClassgetLabel in interface ITemporalLegendClassIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLabel(String label)
throws IOException,
AutomationException
setLabel in interface ILegendClasssetLabel in interface ITemporalLegendClasslabel - The label (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getDescription()
throws IOException,
AutomationException
getDescription in interface ILegendClassgetDescription in interface ITemporalLegendClassIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDescription(String label)
throws IOException,
AutomationException
setDescription in interface ILegendClasssetDescription in interface ITemporalLegendClasslabel - The label (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ILegendClassFormat getFormat()
throws IOException,
AutomationException
This property is optional. If non-null, then layer specifies class formatting information. The LegendClassFormat defines the aspect of a LegendItem. A legend item may consist of a patch, a label and an optional description.
getFormat in interface ILegendClassgetFormat in interface ITemporalLegendClassIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFormat(ILegendClassFormat format)
throws IOException,
AutomationException
setFormat in interface ILegendClasssetFormat in interface ITemporalLegendClassformat - A reference to a com.esri.arcgis.carto.ILegendClassFormat (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getStartingOffset()
throws IOException,
AutomationException
The starting offset property is used to determine the period of time from the current temporal perspective that the range is to be evaluated for.
getStartingOffset in interface ITemporalLegendClassIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setStartingOffset(double pVal)
throws IOException,
AutomationException
The starting offset property is used to determine the period of time from the current temporal perspective that the range is to be evaluated for.
setStartingOffset in interface ITemporalLegendClasspVal - The pVal (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getPeriod()
throws IOException,
AutomationException
The period property is the amount of history or period of time from the Starting offset that the period is to be evaluated for.
getPeriod in interface ITemporalLegendClassIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPeriod(double pVal)
throws IOException,
AutomationException
The period property is the amount of history or period of time from the Starting offset that the period is to be evaluated for.
setPeriod in interface ITemporalLegendClasspVal - The pVal (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getTimeUnits()
throws IOException,
AutomationException
The time units property defines the time units that the Starting Offset and period property values use.
getTimeUnits in interface ITemporalLegendClassIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTimeUnits(int pVal)
throws IOException,
AutomationException
The time units property defines the time units that the Starting Offset and period property values use.
setTimeUnits in interface ITemporalLegendClasspVal - A com.esri.arcgis.trackinganalyst.enumTemporalUnits constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getType()
throws IOException,
AutomationException
The Type is used to identify special drawing properties of a temporal legend class. The valid values are as follows:
getType in interface ITemporalLegendClassIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setType(int penumTemporalLegendType)
throws IOException,
AutomationException
The Type is used to identify special drawing properties of a temporal legend class. The valid values are as follows:
setType in interface ITemporalLegendClasspenumTemporalLegendType - A com.esri.arcgis.trackinganalyst.enumTemporalLegendType constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean intersects(Object vTimeValue)
throws IOException,
AutomationException
The intersects method takes two parameters--
* Reference
* TimeValue
and determines whether or not the Time Value intersects this range.
The Reference and TimeValue arguments use the CTimeStamp Variant format which is a array of 3 long integers. See the CTimeStamp documentation for further details.
intersects in interface ITemporalLegendClassvTimeValue - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setReference(Object varReference)
throws IOException,
AutomationException
setReference in interface ITemporalLegendClassvarReference - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getSymbolSize()
throws IOException,
AutomationException
getSymbolSize in interface ITemporalLegendClassIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IColor getSymbolColor()
throws IOException,
AutomationException
getSymbolColor in interface ITemporalLegendClassIOException - 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 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 interfaceSupportsErrorInfo(GUID riid)
throws IOException,
AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isSupportedAtVersion(int docVersion)
throws IOException,
AutomationException
Use IsSupportedAtVersion to identify if a particular object should be saved to the ObjectStream. This result is based on the esriArcGISVersion enumeration. In some instances, if the object is not supported at a particular ArcGIS version, the object may support conversion to another similar object; use IDocumentVersionSupportGEN::ConvertToSupportedObject to accomplish this.
isSupportedAtVersion in interface IDocumentVersionSupportGENdocVersion - A com.esri.arcgis.system.esriArcGISVersion constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object convertToSupportedObject(int docVersion)
throws IOException,
AutomationException
This method should be used when IDocumentVersionSupportGEN::IsSupportedAtVersion returns FALSE. Calling ConvertToSupportedObject will return an IUnknown pointer to a relevant object supported at the particular ArcGIS version. Not all objects will return a supported object; in these cases a null pointer will be returned.
convertToSupportedObject in interface IDocumentVersionSupportGENdocVersion - A com.esri.arcgis.system.esriArcGISVersion constant (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 | ||||||||