|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.interop.Dispatch
com.esri.arcgis.schematic.INgDiscretePropertyProxy
public class INgDiscretePropertyProxy
Provides access to members that control the discrete property.
A discrete property lets you specify the graphic effects matching a final list of values for the property.
To associate graphic effects with a discrete property, the possible finite set of numbers or alphanumeric code of the property must be specified; that is, you will have to define the discrete filters of the property (AddFilter method).
INgDirectProperty,
INgTextualProperty,
INgBoundedProperty,
INgProperty,
INgElementType.createProperty(String, int, int, int),
Serialized Form| Field Summary |
|---|
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
|---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E |
| Constructor Summary | |
|---|---|
|
INgDiscretePropertyProxy()
|
|
INgDiscretePropertyProxy(Object obj)
|
protected |
INgDiscretePropertyProxy(Object obj,
String iid)
|
| Method Summary | |
|---|---|
INgDiscreteFilter |
addFilter(int filterNum,
String name,
Object value)
Creates the filter 'filterNum' named 'name' for the property value 'value'. |
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
void |
deleteFilter(int filterNum)
Deletes the discrete filter 'filterNum'. |
INgElements |
getElementsByFilter(INgDiagram diagram,
int filterNum,
int mode)
Returns all the elements contained in the diagram 'Diagram' that match the 'filternum' discrete filter (mode=esriNgFilterEqual) or that do not match the 'filterNum' discrete filter (mode = esriNgFilterDifferent) (see esriNgFilterSelectionMode). |
INgElementType |
getElementType()
Element type the discrete property applies to. |
INgDiscreteFilters |
getFilters()
Collection of the discrete filters defined for the discrete property. |
String |
getName()
Name of the discrete property. |
void |
readExternal(ObjectInput in)
|
void |
removeListener(String iidStr,
Object theListener)
|
void |
setName(String pVal)
Name of the discrete property. |
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class com.esri.arcgis.interop.Dispatch |
|---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, queryInterface, release, setNativeMode, setPropertyByName, toString, vtblInvoke |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public INgDiscretePropertyProxy()
public INgDiscretePropertyProxy(Object obj)
throws IOException
IOException
protected INgDiscretePropertyProxy(Object obj,
String iid)
throws IOException
IOException| Method Detail |
|---|
public void addListener(String iidStr,
Object theListener,
Object theSource)
throws IOException
addListener in class com.esri.arcgis.interop.DispatchIOException
public void removeListener(String iidStr,
Object theListener)
throws IOException
removeListener in class com.esri.arcgis.interop.DispatchIOException
public String getName()
throws IOException,
AutomationException
This name is defined when the discrete property is created:
- either by calling the INgElementType CreateProperty method in the program code,
- or through ArcGIS Schematics Designer, when the discrete property has been created.
getName in interface INgDiscretePropertyIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setName(String pVal)
throws IOException,
AutomationException
setName in interface INgDiscretePropertypVal - The pVal (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INgDiscreteFilters getFilters()
throws IOException,
AutomationException
getFilters in interface INgDiscretePropertyIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgDiscreteProperty.addFilter(int, String, java.lang.Object)
public INgElements getElementsByFilter(INgDiagram diagram,
int filterNum,
int mode)
throws IOException,
AutomationException
getElementsByFilter in interface INgDiscretePropertydiagram - A reference to a com.esri.arcgis.schematic.INgDiagram (in)filterNum - The filterNum (in)mode - A com.esri.arcgis.schematic.esriNgFilterSelectionMode constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INgDiscreteFilter addFilter(int filterNum,
String name,
Object value)
throws IOException,
AutomationException
addFilter in interface INgDiscretePropertyfilterNum - The filterNum (in)name - The name (in)value - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgDiscreteProperty.getFilters(),
INgDiscreteProperty.deleteFilter(int)
public void deleteFilter(int filterNum)
throws IOException,
AutomationException
deleteFilter in interface INgDiscretePropertyfilterNum - The filterNum (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgDiscreteProperty.addFilter(int, String, java.lang.Object)
public INgElementType getElementType()
throws IOException,
AutomationException
getElementType in interface INgDiscretePropertyIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizablewriteExternal in class com.esri.arcgis.interop.DispatchIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class com.esri.arcgis.interop.DispatchIOException
ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||