|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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. |
int |
getCount()
Count of the times the legend class appears in the visible map extent. |
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 |
getTemporalSymbolizationMethod()
The symbol attributes that will be changed. |
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 |
setCount(int count)
Count of the times the legend class appears in the visible map extent. |
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 |
setTemporalSymbolizationMethod(int temporalSymbolizationMethod)
The symbol attributes that will be changed. |
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 problemspublic 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 problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public ISymbol getSymbol() throws IOException, AutomationException
getSymbol
in interface ILegendClass
getSymbol
in interface ITemporalLegendClass
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSymbolByRef(ISymbol symbol) throws IOException, AutomationException
setSymbolByRef
in interface ILegendClass
setSymbolByRef
in interface ITemporalLegendClass
symbol
- 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 ILegendClass
getLabel
in interface ITemporalLegendClass
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLabel(String label) throws IOException, AutomationException
setLabel
in interface ILegendClass
setLabel
in interface ITemporalLegendClass
label
- 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 ILegendClass
getDescription
in interface ITemporalLegendClass
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDescription(String label) throws IOException, AutomationException
setDescription
in interface ILegendClass
setDescription
in interface ITemporalLegendClass
label
- 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 ILegendClass
getFormat
in interface ITemporalLegendClass
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFormat(ILegendClassFormat format) throws IOException, AutomationException
setFormat
in interface ILegendClass
setFormat
in interface ITemporalLegendClass
format
- 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 ITemporalLegendClass
IOException
- 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 ITemporalLegendClass
pVal
- 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 ITemporalLegendClass
IOException
- 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 ITemporalLegendClass
pVal
- 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 ITemporalLegendClass
IOException
- 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 ITemporalLegendClass
pVal
- 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 ITemporalLegendClass
IOException
- 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 ITemporalLegendClass
penumTemporalLegendType
- 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 ITemporalLegendClass
vTimeValue
- 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 ITemporalLegendClass
varReference
- 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 ITemporalLegendClass
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IColor getSymbolColor() throws IOException, AutomationException
getSymbolColor
in interface ITemporalLegendClass
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getTemporalSymbolizationMethod() throws IOException, AutomationException
getTemporalSymbolizationMethod
in interface ITemporalLegendClass2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTemporalSymbolizationMethod(int temporalSymbolizationMethod) throws IOException, AutomationException
setTemporalSymbolizationMethod
in interface ITemporalLegendClass2
temporalSymbolizationMethod
- A com.esri.arcgis.trackinganalyst.enumTemporalSymbolizationMethod constant (in)
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 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 void interfaceSupportsErrorInfo(GUID riid) throws IOException, AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- 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 IDocumentVersionSupportGEN
docVersion
- 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 IDocumentVersionSupportGEN
docVersion
- A com.esri.arcgis.system.esriArcGISVersion constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getCount() throws IOException, AutomationException
getCount
in interface IDynamicLegendClass
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCount(int count) throws IOException, AutomationException
setCount
in interface IDynamicLegendClass
count
- The count (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 |