|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.carto.TinBreaklineRenderer
public class TinBreaklineRenderer
TIN breakline renderer component.
This is the TIN Edge Type renderer, which is added by default when loading a TIN dataset into ArcMap or ArcScene for the first time. There're an enumeration of four different TIN edges: Regular Edge, Soft Edge, Hard Edge, and Outside Edge. Their unique edge values are 0, 1, 2, 3 respectively. Developers can use the ITinUniqueValueRenderer interface that this coclass implements to work with the different edge type rendering customizations.
Constructor Summary | |
---|---|
TinBreaklineRenderer()
Constructs a TinBreaklineRenderer using ArcGIS Engine. |
|
TinBreaklineRenderer(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. TinBreaklineRenderer theTinBreaklineRenderer = (TinBreaklineRenderer) 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 |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
String |
getColorScheme()
Name of Color Scheme (used in UI only). |
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. |
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). |
String |
getName()
The descriptive name of a renderer. |
String |
getReferenceValue(String value)
The reference value for the given value. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
ISymbol |
getSymbol(String value)
The symbol associated with the given value. |
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 |
setColorScheme(String name)
Name of Color Scheme (used in UI only). |
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 |
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 |
setName(String name)
The descriptive name of a renderer. |
void |
setSymbol(String value,
ISymbol symbol)
The symbol associated with the given value. |
void |
setSymbolsAreGraduated(boolean symbolsAreGraduated)
Indicates if symbols are graduated. |
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 TinBreaklineRenderer() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic TinBreaklineRenderer(Object obj) throws IOException
TinBreaklineRenderer theTinBreaklineRenderer = (TinBreaklineRenderer) obj;
obj
to TinBreaklineRenderer
.
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 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 |