|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.carto.LasUniqueValueRenderer
public class LasUniqueValueRenderer
LAS dataset unique value renderer component.
Constructor Summary | |
---|---|
LasUniqueValueRenderer()
Constructs a LasUniqueValueRenderer using ArcGIS Engine. |
|
LasUniqueValueRenderer(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. LasUniqueValueRenderer theLasUniqueValueRenderer = (LasUniqueValueRenderer) obj; |
Method Summary | |
---|---|
void |
addReferenceValue(String value,
String refValue)
Adds a value that references another value. |
void |
addValue(String value,
String heading,
ISymbol symbol)
Adds a value and a symbol to the list of categories, for multivariate Values, value is a comma separated list of values. |
boolean |
canRender()
Indicates if renderer can draw. |
void |
copy(ITinRenderer pSource)
Copies the properties of the given renderer. |
void |
draw(int drawPhase,
IDisplay display,
ISpatialReference aSpatialReference,
ITrackCancel trackCancel)
Draws the TIN. |
boolean |
equals(Object o)
Compare this object with another |
IEnvelope |
getAreaOfInterest()
The area of interest to be rendered. |
int |
getAttribute()
The LAS attribute to be used to define drawing symbol. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
String |
getColorScheme()
Name of Color Scheme (used in UI only). |
IDataset |
getDataset()
The Dataset associated with the renderer. |
String |
getDefaultLabel()
The default label used for unspecified values. |
ISymbol |
getDefaultSymbol()
The default symbol used for unspecified values (may be NULL). |
String |
getDescription(String value)
The description for the label. |
ILasPointFilter |
getFilter()
The LAS query filter. |
String |
getHeading(String value)
The heading in which the given value is contained. |
String |
getLabel(String value)
The label used to display the given value. |
ILegendGroup |
getLegendGroup(int index)
Legend group at the specified index. |
int |
getLegendGroupCount()
Number of legend groups contained by the object. |
ILegendItem |
getLegendItem()
Optional. |
String |
getLookupStyleset()
Name of Styleset for Lookup Symbols(used in UI only). |
double |
getMinVisibleResolution()
The minimum resolution at which data are rendered. |
String |
getName()
The descriptive name of a renderer. |
String |
getReferenceValue(String value)
The reference value for the given value. |
double |
getResolution()
The resolution to be rendered. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
ISymbol |
getSymbol(String value)
The symbol associated with the given value. |
double |
getThinningFactor()
The thinning factor. |
ITin |
getTin()
The TIN associated with the renderer. |
String |
getValue(int index)
The value at the given index. |
int |
getValueCount()
The number of values used to categorize the data. |
int |
hashCode()
the hashcode for this object |
void |
isDirty()
isDirty |
boolean |
isSymbolsAreGraduated()
Indicates if symbols are graduated. |
boolean |
isUseDefaultSymbol()
Indicates if the default symbol is used for drawing unspecified values. |
boolean |
isVisible()
Indicates if the renderer is currently visible. |
void |
load(IStream pstm)
load |
void |
readExternal(ObjectInput in)
|
void |
removeAllValues()
Removes all values. |
void |
removeValue(String value)
Removes a values from the list of categories. |
void |
save(IStream pstm,
int fClearDirty)
save |
void |
setAreaOfInterest(IEnvelope ppAOI)
The area of interest to be rendered. |
void |
setAttribute(int pType)
The LAS attribute to be used to define drawing symbol. |
void |
setColorScheme(String name)
Name of Color Scheme (used in UI only). |
void |
setDatasetByRef(IDataset ppDataset)
The Dataset associated with the renderer. |
void |
setDefaultLabel(String label)
The default label used for unspecified values. |
void |
setDefaultSymbolByRef(ISymbol symbol)
The default symbol used for unspecified values (may be NULL). |
void |
setDescription(String value,
String text)
The description for the label. |
void |
setFilterByRef(ILasPointFilter ppFilter)
The LAS query filter. |
void |
setHeading(String value,
String heading)
The heading in which the given value is contained. |
void |
setLabel(String value,
String label)
The label used to display the given value. |
void |
setLookupStyleset(String name)
Name of Styleset for Lookup Symbols(used in UI only). |
void |
setMinVisibleResolution(double pResolution)
The minimum resolution at which data are rendered. |
void |
setName(String name)
The descriptive name of a renderer. |
void |
setResolution(double pResolution)
The resolution to be rendered. |
void |
setSymbol(String value,
ISymbol symbol)
The symbol associated with the given value. |
void |
setSymbolsAreGraduated(boolean symbolsAreGraduated)
Indicates if symbols are graduated. |
void |
setThinningFactor(double pFactor)
The thinning factor. |
void |
setTinByRef(ITin ppTin)
The TIN associated with the renderer. |
void |
setUseDefaultSymbol(boolean flag)
Indicates if the default symbol is used for drawing unspecified values. |
void |
setValue(int index,
String value)
The value at the given index. |
void |
setVisible(boolean visible)
Indicates if the renderer is currently visible. |
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 LasUniqueValueRenderer() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic LasUniqueValueRenderer(Object obj) throws IOException
LasUniqueValueRenderer theLasUniqueValueRenderer = (LasUniqueValueRenderer) obj;
obj
to LasUniqueValueRenderer
.
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 getDefaultSymbol() throws IOException, AutomationException
getDefaultSymbol
in interface ITinUniqueValueRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDefaultSymbolByRef(ISymbol symbol) throws IOException, AutomationException
setDefaultSymbolByRef
in interface ITinUniqueValueRenderer
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 getDefaultLabel() throws IOException, AutomationException
getDefaultLabel
in interface ITinUniqueValueRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDefaultLabel(String label) throws IOException, AutomationException
setDefaultLabel
in interface ITinUniqueValueRenderer
label
- The label (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isUseDefaultSymbol() throws IOException, AutomationException
isUseDefaultSymbol
in interface ITinUniqueValueRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUseDefaultSymbol(boolean flag) throws IOException, AutomationException
setUseDefaultSymbol
in interface ITinUniqueValueRenderer
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getValueCount() throws IOException, AutomationException
getValueCount
in interface ITinUniqueValueRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getValue(int index) throws IOException, AutomationException
getValue
in interface ITinUniqueValueRenderer
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setValue(int index, String value) throws IOException, AutomationException
setValue
in interface ITinUniqueValueRenderer
index
- The index (in)value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getReferenceValue(String value) throws IOException, AutomationException
getReferenceValue
in interface ITinUniqueValueRenderer
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addReferenceValue(String value, String refValue) throws IOException, AutomationException
addReferenceValue
in interface ITinUniqueValueRenderer
value
- The value (in)refValue
- The refValue (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISymbol getSymbol(String value) throws IOException, AutomationException
getSymbol
in interface ITinUniqueValueRenderer
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSymbol(String value, ISymbol symbol) throws IOException, AutomationException
setSymbol
in interface ITinUniqueValueRenderer
value
- The value (in)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(String value) throws IOException, AutomationException
getLabel
in interface ITinUniqueValueRenderer
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLabel(String value, String label) throws IOException, AutomationException
setLabel
in interface ITinUniqueValueRenderer
value
- The value (in)label
- The label (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getDescription(String value) throws IOException, AutomationException
getDescription
in interface ITinUniqueValueRenderer
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDescription(String value, String text) throws IOException, AutomationException
setDescription
in interface ITinUniqueValueRenderer
value
- The value (in)text
- The text (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getHeading(String value) throws IOException, AutomationException
getHeading
in interface ITinUniqueValueRenderer
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHeading(String value, String heading) throws IOException, AutomationException
setHeading
in interface ITinUniqueValueRenderer
value
- The value (in)heading
- The heading (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addValue(String value, String heading, ISymbol symbol) throws IOException, AutomationException
addValue
in interface ITinUniqueValueRenderer
value
- The value (in)heading
- The heading (in)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 void removeValue(String value) throws IOException, AutomationException
removeValue
in interface ITinUniqueValueRenderer
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeAllValues() throws IOException, AutomationException
removeAllValues
in interface ITinUniqueValueRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getColorScheme() throws IOException, AutomationException
getColorScheme
in interface ITinUniqueValueRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setColorScheme(String name) throws IOException, AutomationException
setColorScheme
in interface ITinUniqueValueRenderer
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getLookupStyleset() throws IOException, AutomationException
getLookupStyleset
in interface ITinUniqueValueRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLookupStyleset(String name) throws IOException, AutomationException
setLookupStyleset
in interface ITinUniqueValueRenderer
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void draw(int drawPhase, IDisplay display, ISpatialReference aSpatialReference, ITrackCancel trackCancel) throws IOException, AutomationException
draw
in interface ITinRenderer
drawPhase
- A com.esri.arcgis.system.esriDrawPhase constant (in)display
- A reference to a com.esri.arcgis.display.IDisplay (in)aSpatialReference
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)trackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void copy(ITinRenderer pSource) throws IOException, AutomationException
copy
in interface ITinRenderer
pSource
- A reference to a com.esri.arcgis.carto.ITinRenderer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean canRender() throws IOException, AutomationException
canRender
in interface ITinRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTinByRef(ITin ppTin) throws IOException, AutomationException
setTinByRef
in interface ITinRenderer
ppTin
- A reference to a com.esri.arcgis.geodatabase.ITin (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITin getTin() throws IOException, AutomationException
getTin
in interface ITinRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getName() throws IOException, AutomationException
getName
in interface ITinRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setName(String name) throws IOException, AutomationException
setName
in interface ITinRenderer
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isVisible() throws IOException, AutomationException
isVisible
in interface ITinRenderer
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 ITinRenderer
visible
- The visible (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDatasetByRef(IDataset ppDataset) throws IOException, AutomationException
setDatasetByRef
in interface IDatasetRenderer
ppDataset
- A reference to a com.esri.arcgis.geodatabase.IDataset (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IDataset getDataset() throws IOException, AutomationException
getDataset
in interface IDatasetRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFilterByRef(ILasPointFilter ppFilter) throws IOException, AutomationException
setFilterByRef
in interface ILasAttributeRenderer
ppFilter
- A reference to a com.esri.arcgis.geodatabaseextensions.ILasPointFilter (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILasPointFilter getFilter() throws IOException, AutomationException
Filter is an ILasPointFilter
getFilter
in interface ILasAttributeRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setThinningFactor(double pFactor) throws IOException, AutomationException
setThinningFactor
in interface ILasAttributeRenderer
pFactor
- The pFactor (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getThinningFactor() throws IOException, AutomationException
Thinning factor allows setting a point budget on the number of points to be retrieved and rendered by the layer. A thinning factor of 1.0 returns 100% of the points, a thinning factor of 0.01 returns 1% and a thinning factor of 0.001 returns 0.1% percent of the points
getThinningFactor
in interface ILasAttributeRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAttribute(int pType) throws IOException, AutomationException
setAttribute
in interface ILasAttributeRenderer
pType
- A com.esri.arcgis.geodatabaseextensions.esriLasAttributeType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getAttribute() throws IOException, AutomationException
The values of this attribute of the point records will be used to render the layer. Valid values are esriLasClassCode, esriLasReturnNumber, esriLasNumberOfReturns, esriLasScanDirectionFlag, esriLasEdgeOfFlightLine, esriLasScanAngleRank, esriLasUserData, esriLasPointSourceID. (Two additional attributes are supported in Scene: esriLasIntensity and esriLasColorRGB)
getAttribute
in interface ILasAttributeRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAreaOfInterest(IEnvelope ppAOI) throws IOException, AutomationException
setAreaOfInterest
in interface IMultiResolutionRenderer
ppAOI
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnvelope getAreaOfInterest() throws IOException, AutomationException
getAreaOfInterest
in interface IMultiResolutionRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setResolution(double pResolution) throws IOException, AutomationException
setResolution
in interface IMultiResolutionRenderer
pResolution
- The pResolution (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getResolution() throws IOException, AutomationException
getResolution
in interface IMultiResolutionRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMinVisibleResolution(double pResolution) throws IOException, AutomationException
setMinVisibleResolution
in interface IMultiResolutionRenderer
pResolution
- The pResolution (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getMinVisibleResolution() throws IOException, AutomationException
getMinVisibleResolution
in interface IMultiResolutionRenderer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getLegendGroupCount() throws IOException, AutomationException
The number of legend groups is determined by the implementation of the renderer, consequently this property is read only. For example, SimpleRenderer has one group, while a BiUniqueValueRenderer has any number of groups.
getLegendGroupCount
in interface ILegendInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILegendGroup getLegendGroup(int index) throws IOException, AutomationException
getLegendGroup
in interface ILegendInfo
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILegendItem getLegendItem() throws IOException, AutomationException
Layer or renderer legend information is further formatted for display in ArcMap legends. A renderer can override this formatting by returning a LegendItem for this property. ESRI renderers typically do not return anything for this property. With this configuration, legend formatting becomes a user or developer choice on the legend object.
getLegendItem
in interface ILegendInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isSymbolsAreGraduated() throws IOException, AutomationException
Indicates whether the symbols used for a layer or renderer's legend vary by size.
For example the proportional symbol renderer returns True for this property.
You can use this property to distinguish between a layer symbolized with graduated color or graduated symbol type layer symbology. Both of these symbolizations use a ClassBreaksRenderer, but only a graduated symbol symbolization will return True for this property.
isSymbolsAreGraduated
in interface ILegendInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSymbolsAreGraduated(boolean symbolsAreGraduated) throws IOException, AutomationException
setSymbolsAreGraduated
in interface ILegendInfo
symbolsAreGraduated
- The symbolsAreGraduated (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 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 |