|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.datasourcesraster.UniqueValues
public class UniqueValues
A raster unique value class.
The UniqueValues object creates and maintains a list of unique values and the associated counts. UniqueValues is a helper object that provides pixel value information, the unique values and the associated counts, of a raster for RasterUniqueValueRenderer and RasterClassifyColorRampRenderer objects. The UniqueValues can be obtained either by co-creating from this object or by calculating using RasterCalcUniqueValues object.
Constructor Summary | |
---|---|
UniqueValues()
Constructs a UniqueValues using ArcGIS Engine. |
|
UniqueValues(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. UniqueValues theUniqueValues = (UniqueValues) obj; |
Method Summary | |
---|---|
int |
add(double value,
int count)
Adds a value if necessary and returns its value ID. |
int |
add(int value,
int count)
Adds a value if necessary and returns its value ID. |
int |
add(Object stringArray,
int count)
add |
int |
add(String value,
int count)
Adds a value if necessary and returns its value ID. |
void |
delete(double value)
Deletes a value. |
void |
delete(int value)
Deletes a value. |
void |
delete(Object stringArray)
delete |
void |
delete(String value)
Deletes a value. |
void |
deserialize(IXMLSerializeData data)
Deserializes an object from XML. |
void |
empty()
Empties unique values. |
boolean |
equals(Object o)
Compare this object with another |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
int |
getCount()
The total number of unique values. |
void |
getHistogram(Object[] pUniqueValues,
Object[] pCounts)
The historgram of values. |
void |
getLargeHistogram(Object[] pUniqueValues,
Object[] pCounts)
The historgram of values. |
double |
getLargeUniqueCount(int idnex)
The unique value count at a given index. |
int |
getMax()
The maximum of values. |
int |
getMin()
The minimum of values. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
int |
getUniqueCount(int idnex)
The unique value count at a given index. |
Object |
getUniqueValue(int index)
The unique value at a given index. |
int |
hashCode()
the hashcode for this object |
void |
isDirty()
isDirty |
void |
load(IStream pstm)
load |
int |
lookup(double value)
Looks up unique index of a given value. |
int |
lookup(int value)
Looks up unique index of a given value. |
int |
lookup(String value)
Looks up unique index of a given value. |
void |
readExternal(ObjectInput in)
|
void |
save(IStream pstm,
int fClearDirty)
save |
void |
serialize(IXMLSerializeData data)
Serializes an object to XML. |
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 UniqueValues() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic UniqueValues(Object obj) throws IOException
UniqueValues theUniqueValues = (UniqueValues) obj;
obj
to UniqueValues
.
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 int lookup(int value) throws IOException, AutomationException
lookup
in interface IUniqueValues
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int add(int value, int count) throws IOException, AutomationException
add
in interface IUniqueValues
value
- The value (in)count
- The count (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void delete(int value) throws IOException, AutomationException
delete
in interface IUniqueValues
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void empty() throws IOException, AutomationException
empty
in interface IUniqueValues
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getUniqueValue(int index) throws IOException, AutomationException
getUniqueValue
in interface IUniqueValues
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getUniqueCount(int idnex) throws IOException, AutomationException
getUniqueCount
in interface IUniqueValues
idnex
- The idnex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getCount() throws IOException, AutomationException
getCount
in interface IUniqueValues
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMin() throws IOException, AutomationException
getMin
in interface IUniqueValues
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMax() throws IOException, AutomationException
getMax
in interface IUniqueValues
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getHistogram(Object[] pUniqueValues, Object[] pCounts) throws IOException, AutomationException
getHistogram
in interface IUniqueValues
pUniqueValues
- A Variant (out: use single element array)pCounts
- A Variant (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getLargeUniqueCount(int idnex) throws IOException, AutomationException
getLargeUniqueCount
in interface IUniqueValues2
idnex
- The idnex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getLargeHistogram(Object[] pUniqueValues, Object[] pCounts) throws IOException, AutomationException
getLargeHistogram
in interface IUniqueValues2
pUniqueValues
- A Variant (out: use single element array)pCounts
- A Variant (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int lookup(String value) throws IOException, AutomationException
lookup
in interface IUniqueStringValues
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int add(String value, int count) throws IOException, AutomationException
add
in interface IUniqueStringValues
value
- The value (in)count
- The count (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void delete(String value) throws IOException, AutomationException
delete
in interface IUniqueStringValues
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int add(Object stringArray, int count) throws IOException, AutomationException
add
in interface IUniqueMutliStringValues
stringArray
- A Variant (in)count
- The count (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void delete(Object stringArray) throws IOException, AutomationException
delete
in interface IUniqueMutliStringValues
stringArray
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int lookup(double value) throws IOException, AutomationException
lookup
in interface IUniqueDoubleValues
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int add(double value, int count) throws IOException, AutomationException
add
in interface IUniqueDoubleValues
value
- The value (in)count
- The count (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void delete(double value) throws IOException, AutomationException
delete
in interface IUniqueDoubleValues
value
- The value (in)
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 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 serialize(IXMLSerializeData data) throws IOException, AutomationException
serialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deserialize(IXMLSerializeData data) throws IOException, AutomationException
deserialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (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 |