|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.trackinganalyst.TemporalLegendGroup
public class TemporalLegendGroup
Contains group of two or more temporal legend classes.
This object stores and manages a group of temporal legend classes.
Constructor Summary | |
---|---|
TemporalLegendGroup()
Constructs a TemporalLegendGroup using ArcGIS Engine. |
|
TemporalLegendGroup(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. TemporalLegendGroup theTemporalLegendGroup = (TemporalLegendGroup) obj; |
Method Summary | |
---|---|
void |
addClass(ILegendClass legendClass)
Adds a new legend class to the group at the end of list. |
void |
assign(IClone src)
Assigns the properties of src to the receiver. |
void |
clearClasses()
Removes all classes from the group. |
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. |
ILegendClass |
esri_getClass(int index)
Legend class at the specified index. |
int |
getClassCount()
Number of legend classes in the group. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
String |
getColorRampName()
ESRI pre-defined color ramp last used by the temporal renderer property page to update this object; this value is used to create default temporal legend class symbology colors. |
String |
getDescription()
Text description of the temporal legend group. |
String |
getHeading()
String heading. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
ITemporalLegendClass |
getTemporalLegendClass(int nRangeNdx)
Temporal Legend Class at specified index from this group. |
int |
hashCode()
the hashcode for this object |
void |
insertClass(int index,
ILegendClass legendClass)
Inserts a new legend class into the group at the specified index. |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
int |
intersects(Object pvTimeValue,
ISymbol[] ppiSymbol,
IColor[] ppiSymbolColor,
double[] pdSymbolSize)
Determines whether a given timestamp value is contained within one of the group's temporal classes. |
void |
isDirty()
isDirty |
boolean |
isEditable()
Indicates if the group can be edited. |
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. |
boolean |
isSuppress()
Controls whether or not to use the temporal legend classes during intersect or time period computation for a temporal query. |
boolean |
isVisible()
Indicates if the group is displayed. |
void |
load(IStream pstm)
load |
void |
moveClass(int nCurrentIndex,
int nDestinationIndex)
Moves a temporal legend class from its current position to a new destination within the temporal legend group's legend class container. |
void |
readExternal(ObjectInput in)
|
void |
removeClass(int index)
Removes the legend class from the group at the specified index. |
void |
save(IStream pstm,
int fClearDirty)
save |
void |
setColorRampName(String pbstrColorRampName)
ESRI pre-defined color ramp last used by the temporal renderer property page to update this object; this value is used to create default temporal legend class symbology colors. |
void |
setDescription(String pbstrDescription)
Text description of the temporal legend group. |
void |
setEditable(boolean editable)
Indicates if the group can be edited. |
void |
setHeading(String heading)
String heading. |
void |
setReference(Object varReference)
Sets temporal reference information for the temporal legend group. |
void |
setSuppress(boolean pbSuppress)
Controls whether or not to use the temporal legend classes during intersect or time period computation for a temporal query. |
void |
setVisible(boolean visible)
Indicates if the group is displayed. |
void |
update()
Updates the temporal legend with new values. |
void |
verify(boolean[] bNoProblems)
Checks ranges within a group to determine if group is ordered properly and has correct offsets. |
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 TemporalLegendGroup() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic TemporalLegendGroup(Object obj) throws IOException
TemporalLegendGroup theTemporalLegendGroup = (TemporalLegendGroup) obj;
obj
to TemporalLegendGroup
.
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 isVisible() throws IOException, AutomationException
isVisible
in interface ILegendGroup
isVisible
in interface ITemporalLegendGroup
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setVisible(boolean visible) throws IOException, AutomationException
setVisible
in interface ILegendGroup
setVisible
in interface ITemporalLegendGroup
visible
- The visible (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEditable() throws IOException, AutomationException
isEditable
in interface ILegendGroup
isEditable
in interface ITemporalLegendGroup
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setEditable(boolean editable) throws IOException, AutomationException
setEditable
in interface ILegendGroup
setEditable
in interface ITemporalLegendGroup
editable
- The editable (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getHeading() throws IOException, AutomationException
The property indicates the string heading for the legend group.
getHeading
in interface ILegendGroup
getHeading
in interface ITemporalLegendGroup
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHeading(String heading) throws IOException, AutomationException
setHeading
in interface ILegendGroup
setHeading
in interface ITemporalLegendGroup
heading
- The heading (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getClassCount() throws IOException, AutomationException
getClassCount
in interface ILegendGroup
getClassCount
in interface ITemporalLegendGroup
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILegendClass esri_getClass(int index) throws IOException, AutomationException
esri_getClass
in interface ILegendGroup
esri_getClass
in interface ITemporalLegendGroup
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addClass(ILegendClass legendClass) throws IOException, AutomationException
addClass
in interface ILegendGroup
addClass
in interface ITemporalLegendGroup
legendClass
- A reference to a com.esri.arcgis.carto.ILegendClass (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void insertClass(int index, ILegendClass legendClass) throws IOException, AutomationException
insertClass
in interface ILegendGroup
insertClass
in interface ITemporalLegendGroup
index
- The index (in)legendClass
- A reference to a com.esri.arcgis.carto.ILegendClass (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeClass(int index) throws IOException, AutomationException
removeClass
in interface ILegendGroup
removeClass
in interface ITemporalLegendGroup
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void clearClasses() throws IOException, AutomationException
clearClasses
in interface ILegendGroup
clearClasses
in interface ITemporalLegendGroup
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getColorRampName() throws IOException, AutomationException
The Color Ramp Name property is the name of an ESRI pre-defined color ramp that was last used by the TemporalRenderer property page that updated this object. This value is used to create default temporal legend class symbology colors. This property is the name of an ESRI color ramp obtained from ESRI's pre-defined color ramps. The Temporal Renderer's property page uses this property to obtain the color ramp in order to build default temporal legend classes and symbology for the legend classes' symbols.
getColorRampName
in interface ITemporalLegendGroup
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setColorRampName(String pbstrColorRampName) throws IOException, AutomationException
The Color Ramp Name property is the name of an ESRI pre-defined color ramp that was last used by the TemporalRenderer property page that updated this object. This value is used to create default temporal legend class symbology colors. This property is the name of an ESRI color ramp obtained from ESRI's pre-defined color ramps. The Temporal Renderer's property page uses this property to obtain the color ramp in order to build default temporal legend classes and symbology for the legend classes' symbols.
setColorRampName
in interface ITemporalLegendGroup
pbstrColorRampName
- The pbstrColorRampName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getDescription() throws IOException, AutomationException
The Description property contains a description of this Temporal Group. This is the same property as Heading from ILegendGroup.
getDescription
in interface ITemporalLegendGroup
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDescription(String pbstrDescription) throws IOException, AutomationException
The Description property contains a description of this Temporal Group. This is the same property as Heading from ILegendGroup.
setDescription
in interface ITemporalLegendGroup
pbstrDescription
- The pbstrDescription (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITemporalLegendClass getTemporalLegendClass(int nRangeNdx) throws IOException, AutomationException
getTemporalLegendClass
in interface ITemporalLegendGroup
nRangeNdx
- The nRangeNdx (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isSuppress() throws IOException, AutomationException
The Suppress property controls whether or not to use the temporal legend classes during intersect or computation of the time period needed for a temporal query.
isSuppress
in interface ITemporalLegendGroup
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSuppress(boolean pbSuppress) throws IOException, AutomationException
The Suppress property controls whether or not to use the temporal legend classes during intersect or computation of the time period needed for a temporal query.
setSuppress
in interface ITemporalLegendGroup
pbSuppress
- The pbSuppress (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 ITemporalLegendGroup
varReference
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int intersects(Object pvTimeValue, ISymbol[] ppiSymbol, IColor[] ppiSymbolColor, double[] pdSymbolSize) throws IOException, AutomationException
This method determines if a given absolute time, timestamp, is contained within one of this class's temporal legend classes. If so it returns the index of
the legend class that should be used, and it returns the associated symbol for that temporal legend class.
intersects
in interface ITemporalLegendGroup
pvTimeValue
- A Variant (in)ppiSymbol
- A reference to a com.esri.arcgis.display.ISymbol (in/out: use single element array)ppiSymbolColor
- A reference to a com.esri.arcgis.display.IColor (in/out: use single element array)pdSymbolSize
- The pdSymbolSize (in/out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void update() throws IOException, AutomationException
The Update method updates the legend. Each temporal range in this legend calls this method to have the temporal legend update the ranges in order to maintain a sorted range list from future to past/normal and compute the correct offsets.
update
in interface ITemporalLegendGroup
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void moveClass(int nCurrentIndex, int nDestinationIndex) throws IOException, AutomationException
The move Class method moves a Temporal Legend Class from the current position to the destination position within the Temporal Legend Groups Legend Class container.
moveClass
in interface ITemporalLegendGroup
nCurrentIndex
- The nCurrentIndex (in)nDestinationIndex
- The nDestinationIndex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void verify(boolean[] bNoProblems) throws IOException, AutomationException
The verify method checks the ranges within a group to determine if the group is ordered properly and has correct offsets. It does not fix any detected problems; it only returns a boolean result.
verify
in interface ITemporalLegendGroup
bNoProblems
- The bNoProblems (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 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 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 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 |