|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.carto.SimpleNetworkRenderer
public class SimpleNetworkRenderer
COM Class 'SimpleNetworkRenderer'. Generated 3/19/2015 1:20:42 PM from 'C:\ArcGIS\COM\esriCarto.olb'
Description 'A simple renderer used to display network dataset junctions, edges, and turns.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
Field Summary | |
---|---|
static long |
serialVersionUID
|
Fields inherited from interface com.esri.arcgis.carto.ISimpleNetworkRenderer |
---|
IID, IIDf2574db7_7f19_4a19_b8f4_138530ff6122, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.INetworkRenderer |
---|
IID, IIDc33e3d68_ba60_4a02_856a_eec35f80d77c, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.INetworkEdgeRenderer2 |
---|
IID, IIDd2622cb5_e2ee_42a3_b0de_fede451f1762, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.INetworkEdgeRenderer |
---|
IID4bd03700_90bf_4658_8b95_1351ff49027c |
Fields inherited from interface com.esri.arcgis.system.IPersistStream |
---|
IID, IID00000109_0000_0000_c000_000000000046, xxDummy |
Fields inherited from interface com.esri.arcgis.system.IPersist |
---|
IID0000010c_0000_0000_c000_000000000046 |
Fields inherited from interface com.esri.arcgis.system.IPropertySupport |
---|
IID, IID8a11ad55_2f4f_11d3_9fa0_00c04f6bc6a5, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.INetworkSourceRenderer |
---|
IID, IIDb7d4910a_f568_4bc6_8d42_215b4f14dadc, xxDummy |
Constructor Summary | |
---|---|
SimpleNetworkRenderer()
Constructs a SimpleNetworkRenderer using ArcGIS Engine. |
|
SimpleNetworkRenderer(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. SimpleNetworkRenderer theSimpleNetworkRenderer = (SimpleNetworkRenderer) obj; |
Method Summary | |
---|---|
boolean |
applies(java.lang.Object pUnk)
Indicates if the receiver can apply the given object at any given time. |
java.lang.Object |
apply(java.lang.Object newObject)
Applies the given property to the receiver and returns the old object. |
void |
bindSources(INetworkDataset pNetworkDataset)
Caches the subset of network sources that can be drawn by this renderer. |
boolean |
canApply(java.lang.Object pUnk)
Indicates if the receiver can apply the given object at that particular moment. |
boolean |
canRender(INetworkLayer layer,
IDisplay display)
Indicates if the renderer can draw. |
void |
draw(INetworkLayer layer,
int drawPhase,
IDisplay display,
ITrackCancel trackCancel)
Draws the network dataset. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
java.lang.String |
getArrowAttributeName()
The name of the restriction attribute used to display edge traversability. |
ISymbol |
getArrowSymbol(int symbolType)
The symbol for the specified arrow symbol type. |
int |
getArrowType()
The position of the arrow used to display edge traversability. |
void |
getClassID(GUID[] pClassID)
getClassID |
static java.lang.String |
getClsid()
getClsid. |
java.lang.Object |
getCurrent(java.lang.Object pUnk)
The object currently being used. |
java.lang.String |
getDescription()
The description for the label. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
java.lang.String |
getLabel()
The descriptive symbol text. |
ILegendGroup |
getLegendGroup(int index)
Legend group at the specified index. |
int |
getLegendGroupCount()
Number of legend groups contained by the object. |
ILegendItem |
getLegendItem()
Optional. |
java.lang.String |
getName()
The descriptive name of a renderer. |
int |
getRendererType()
The type of the network renderer. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
void |
getSourceNames(IStringArray ppSourceNames)
The cached subset of network sources that can be drawn by this renderer. |
java.lang.String |
getSourceQueryExpression(java.lang.String sourceName)
The query expression used to identify the subset of source features whose elements should be rendered. |
ISymbol |
getSymbol()
The symbol used to render elements. |
int |
hashCode()
the hashcode for this object |
void |
isDirty()
isDirty |
boolean |
isRenderPhase(int drawPhase)
Indicates if renderer uses the specified draw phase. |
boolean |
isShowArrows(int symbolType)
Indicates if arrows are visible for the specified arrow symbol type. |
boolean |
isSourceVisible(java.lang.String sourceName)
Indicates if elements of the specified source should be rendered. |
boolean |
isSymbolsAreGraduated()
Indicates if symbols are graduated. |
boolean |
isTrafficElementsOnly()
Indicates if only traffic features should be included in the subset of source features whose elements should be rendered. |
void |
load(IStream pstm)
load |
void |
readExternal(java.io.ObjectInput in)
|
void |
release()
Release a SimpleNetworkRenderer. |
void |
save(IStream pstm,
int fClearDirty)
save |
void |
setArrowAttributeName(java.lang.String name)
The name of the restriction attribute used to display edge traversability. |
void |
setArrowSymbol(int symbolType,
ISymbol symbol)
The symbol for the specified arrow symbol type. |
void |
setArrowType(int type)
The position of the arrow used to display edge traversability. |
void |
setDescription(java.lang.String text)
The description for the label. |
void |
setIsSourceVisible(java.lang.String sourceName,
boolean visible)
Indicates if elements of the specified source should be rendered. |
void |
setLabel(java.lang.String label)
The descriptive symbol text. |
void |
setName(java.lang.String name)
The descriptive name of a renderer. |
void |
setRendererType(int type)
The type of the network renderer. |
void |
setShowArrows(int symbolType,
boolean show)
Indicates if arrows are visible for the specified arrow symbol type. |
void |
setSourceQueryExpression(java.lang.String sourceName,
java.lang.String expression)
The query expression used to identify the subset of source features whose elements should be rendered. |
void |
setSymbolByRef(ISymbol symbol)
The symbol used to render elements. |
void |
setSymbolsAreGraduated(boolean symbolsAreGraduated)
Indicates if symbols are graduated. |
void |
writeExternal(java.io.ObjectOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final long serialVersionUID
Constructor Detail |
---|
public SimpleNetworkRenderer() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic SimpleNetworkRenderer(java.lang.Object obj) throws java.io.IOException
SimpleNetworkRenderer theSimpleNetworkRenderer = (SimpleNetworkRenderer) obj;
obj
to SimpleNetworkRenderer
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public ISymbol getSymbol() throws java.io.IOException, AutomationException
getSymbol
in interface ISimpleNetworkRenderer
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSymbolByRef(ISymbol symbol) throws java.io.IOException, AutomationException
setSymbolByRef
in interface ISimpleNetworkRenderer
symbol
- A reference to a com.esri.arcgis.display.ISymbol (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getLabel() throws java.io.IOException, AutomationException
getLabel
in interface ISimpleNetworkRenderer
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLabel(java.lang.String label) throws java.io.IOException, AutomationException
setLabel
in interface ISimpleNetworkRenderer
label
- The label (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getDescription() throws java.io.IOException, AutomationException
getDescription
in interface ISimpleNetworkRenderer
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDescription(java.lang.String text) throws java.io.IOException, AutomationException
setDescription
in interface ISimpleNetworkRenderer
text
- The text (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void draw(INetworkLayer layer, int drawPhase, IDisplay display, ITrackCancel trackCancel) throws java.io.IOException, AutomationException
draw
in interface INetworkRenderer
layer
- A reference to a com.esri.arcgis.carto.INetworkLayer (in)drawPhase
- A com.esri.arcgis.system.esriDrawPhase constant (in)display
- A reference to a com.esri.arcgis.display.IDisplay (in)trackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean canRender(INetworkLayer layer, IDisplay display) throws java.io.IOException, AutomationException
canRender
in interface INetworkRenderer
layer
- A reference to a com.esri.arcgis.carto.INetworkLayer (in)display
- A reference to a com.esri.arcgis.display.IDisplay (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getName() throws java.io.IOException, AutomationException
getName
in interface INetworkRenderer
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setName(java.lang.String name) throws java.io.IOException, AutomationException
setName
in interface INetworkRenderer
name
- The name (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isRenderPhase(int drawPhase) throws java.io.IOException, AutomationException
isRenderPhase
in interface INetworkRenderer
drawPhase
- A com.esri.arcgis.system.esriDrawPhase constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getRendererType() throws java.io.IOException, AutomationException
getRendererType
in interface INetworkRenderer
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRendererType(int type) throws java.io.IOException, AutomationException
setRendererType
in interface INetworkRenderer
type
- A com.esri.arcgis.carto.esriNetworkRendererType constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getArrowAttributeName() throws java.io.IOException, AutomationException
getArrowAttributeName
in interface INetworkEdgeRenderer
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setArrowAttributeName(java.lang.String name) throws java.io.IOException, AutomationException
setArrowAttributeName
in interface INetworkEdgeRenderer
name
- The name (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setArrowType(int type) throws java.io.IOException, AutomationException
setArrowType
in interface INetworkEdgeRenderer
type
- A com.esri.arcgis.carto.esriNetworkArrowType constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getArrowType() throws java.io.IOException, AutomationException
getArrowType
in interface INetworkEdgeRenderer
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setArrowSymbol(int symbolType, ISymbol symbol) throws java.io.IOException, AutomationException
setArrowSymbol
in interface INetworkEdgeRenderer
symbolType
- A com.esri.arcgis.carto.esriNetworkArrowSymbolType constant (in)symbol
- A reference to a com.esri.arcgis.display.ISymbol (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISymbol getArrowSymbol(int symbolType) throws java.io.IOException, AutomationException
getArrowSymbol
in interface INetworkEdgeRenderer
symbolType
- A com.esri.arcgis.carto.esriNetworkArrowSymbolType constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setShowArrows(int symbolType, boolean show) throws java.io.IOException, AutomationException
setShowArrows
in interface INetworkEdgeRenderer2
symbolType
- A com.esri.arcgis.carto.esriNetworkArrowSymbolType constant (in)show
- The show (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isShowArrows(int symbolType) throws java.io.IOException, AutomationException
isShowArrows
in interface INetworkEdgeRenderer2
symbolType
- A com.esri.arcgis.carto.esriNetworkArrowSymbolType constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getLegendGroupCount() throws java.io.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
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILegendGroup getLegendGroup(int index) throws java.io.IOException, AutomationException
getLegendGroup
in interface ILegendInfo
index
- The index (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILegendItem getLegendItem() throws java.io.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
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isSymbolsAreGraduated() throws java.io.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
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSymbolsAreGraduated(boolean symbolsAreGraduated) throws java.io.IOException, AutomationException
setSymbolsAreGraduated
in interface ILegendInfo
symbolsAreGraduated
- The symbolsAreGraduated (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws java.io.IOException, AutomationException
isDirty
in interface IPersistStream
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void load(IStream pstm) throws java.io.IOException, AutomationException
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws java.io.IOException, AutomationException
save
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws java.io.IOException, AutomationException
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws java.io.IOException, AutomationException
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean applies(java.lang.Object pUnk) throws java.io.IOException, AutomationException
applies
in interface IPropertySupport
pUnk
- A reference to another Object (IUnknown) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean canApply(java.lang.Object pUnk) throws java.io.IOException, AutomationException
canApply
in interface IPropertySupport
pUnk
- A reference to another Object (IUnknown) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getCurrent(java.lang.Object pUnk) throws java.io.IOException, AutomationException
getCurrent
in interface IPropertySupport
pUnk
- A reference to another Object (IUnknown) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object apply(java.lang.Object newObject) throws java.io.IOException, AutomationException
apply
in interface IPropertySupport
newObject
- A reference to another Object (IUnknown) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void bindSources(INetworkDataset pNetworkDataset) throws java.io.IOException, AutomationException
bindSources
in interface INetworkSourceRenderer
pNetworkDataset
- A reference to a com.esri.arcgis.geodatabase.INetworkDataset (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getSourceNames(IStringArray ppSourceNames) throws java.io.IOException, AutomationException
getSourceNames
in interface INetworkSourceRenderer
ppSourceNames
- A reference to a com.esri.arcgis.system.IStringArray (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isSourceVisible(java.lang.String sourceName) throws java.io.IOException, AutomationException
isSourceVisible
in interface INetworkSourceRenderer
sourceName
- The sourceName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setIsSourceVisible(java.lang.String sourceName, boolean visible) throws java.io.IOException, AutomationException
setIsSourceVisible
in interface INetworkSourceRenderer
sourceName
- The sourceName (in)visible
- The visible (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getSourceQueryExpression(java.lang.String sourceName) throws java.io.IOException, AutomationException
getSourceQueryExpression
in interface INetworkSourceRenderer
sourceName
- The sourceName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSourceQueryExpression(java.lang.String sourceName, java.lang.String expression) throws java.io.IOException, AutomationException
setSourceQueryExpression
in interface INetworkSourceRenderer
sourceName
- The sourceName (in)expression
- The expression (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isTrafficElementsOnly() throws java.io.IOException, AutomationException
isTrafficElementsOnly
in interface INetworkSourceRenderer
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |