|
|||||||||
| 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.INgDiagramTypeProxy
public class INgDiagramTypeProxy
Provides access to members that control the graphic diagram type.
A diagram type behaves as the template for the display properties of a network and is assigned to one project. Schematics elements are associated with diagram types and displayed in diagrams. More than one diagram type can be defined for a project. Typically, one diagram type is defined for a specific view of the network. For example, a diagram type is defined for a schematic of the electric network of primaries and switches, and a second diagram type is defined for a schematic of the internal schema (inside plant) of the devices.
Diagram types support parent–child relationships, allowing child diagram types to inherit the parameters set on the parent diagram type.
If you want to create a diagram type, you can use the ArcGIS Schematics Designer or call the esriSchematic CreateDiagramType method in your code.
You can complete your diagram definition by defining: the query returning all the diagrams of this type, the fields used to build up each diagram identifier for this diagram type, one or more attributes associated with this diagram type.
All these characteristics can be defined through the ArcGIS Schematics Designer, or program using the INgObjectType interface associated with your INgDiagramType.
INgDiagram,
Serialized Form| Field Summary |
|---|
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
|---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E |
| Constructor Summary | |
|---|---|
|
INgDiagramTypeProxy()
|
|
INgDiagramTypeProxy(Object obj)
|
protected |
INgDiagramTypeProxy(Object obj,
String iid)
|
| Method Summary | |
|---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
void |
associateElementType(INgElementType elementType)
Associates the 'ElementType' element type with the diagram type. |
void |
delete(boolean deleteDescendants)
Deletes the diagram type. |
void |
dissociateElementType(INgElementType elementType)
Dissociates the 'ElementType' element type with the diagram type. |
INgDiagramTypes |
getAncestors()
List of the ancestor diagram types for the diagram type. |
INgElementTypes |
getAssociatedElementTypes()
List of the element types associated with the diagram type. |
INgDiagramTypes |
getChildren()
List of the child diagram types for the diagram type. |
INgDiagramTypes |
getDescendants()
List of the descendant diagram types for the diagram type. |
INgDiagram |
getDiagram(String diagramName)
Returns the diagram named 'diagramName' implemented by the diagram type. |
INgNames |
getDiagramNames()
List of the names of the diagrams implemented by the diagram type. |
INgDiagrams |
getDiagrams()
List of diagrams implemented by the diagram type. |
String |
getName()
Name of the diagram type. |
INgDiagramType |
getParent()
Parent diagram type of the diagram type. |
boolean |
isElementTypeAssociated(INgElementType elementType)
Indicates if the 'ElementType' element type is associated with the diagram type. |
INgDiagram |
openDiagram(String diagramName,
boolean restore)
Opens the diagram named 'diagramName' implemented by the diagram type. |
void |
readExternal(ObjectInput in)
|
void |
removeListener(String iidStr,
Object theListener)
|
void |
setName(String pVal)
Name of the diagram type. |
void |
setParent(INgDiagramType pVal)
Parent diagram type of the diagram type. |
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 INgDiagramTypeProxy()
public INgDiagramTypeProxy(Object obj)
throws IOException
IOException
protected INgDiagramTypeProxy(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 diagram type is created:
- either by calling the INgProjectBuilder CreateDiagramType method in the code,
- or when the diagram type is created through ArcGIS Schematics Designer.
getName in interface INgDiagramTypeIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setName(String pVal)
throws IOException,
AutomationException
setName in interface INgDiagramTypepVal - The pVal (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INgElementTypes getAssociatedElementTypes()
throws IOException,
AutomationException
getAssociatedElementTypes in interface INgDiagramTypeIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgDiagramType.associateElementType(com.esri.arcgis.schematic.INgElementType)
public INgDiagrams getDiagrams()
throws IOException,
AutomationException
getDiagrams in interface INgDiagramTypeIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INgDiagram getDiagram(String diagramName)
throws IOException,
AutomationException
getDiagram in interface INgDiagramTypediagramName - The diagramName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INgDiagram openDiagram(String diagramName,
boolean restore)
throws IOException,
AutomationException
Note that the diagramName parameter must be consistent with the diagram name identifier definition for its associated diagram type.
Several Schematic event procedures are automatically chained during a diagram opening. For more details on these events' chaining, please see the Remarks section available from the INgDiagram Open method help-page.
openDiagram in interface INgDiagramTypediagramName - The diagramName (in)restore - The restore (in, optional, pass true if not required)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgProjectEvents.beforeOpenDiagram(com.esri.arcgis.schematic.INgProjectEventsBeforeOpenDiagramEvent),
INgProject.openDiagram(com.esri.arcgis.schematic.INgDiagramType, String, boolean),
INgDiagram.open()
public INgDiagramType getParent()
throws IOException,
AutomationException
getParent in interface INgDiagramTypeIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgDiagramType.getDescendants(),
INgDiagramType.getChildren(),
INgDiagramType.getAncestors()
public void setParent(INgDiagramType pVal)
throws IOException,
AutomationException
setParent in interface INgDiagramTypepVal - A reference to a com.esri.arcgis.schematic.INgDiagramType (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INgDiagramTypes getAncestors()
throws IOException,
AutomationException
Note that the diagram type ancestors list is returned in ascending hierarchy order; that is from the parent to the most distant ancestor.
getAncestors in interface INgDiagramTypeIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgDiagramType.getDescendants(),
INgDiagramType.getParent(),
INgDiagramType.getChildren()
public INgDiagramTypes getChildren()
throws IOException,
AutomationException
getChildren in interface INgDiagramTypeIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgDiagramType.getDescendants(),
INgDiagramType.getParent(),
INgDiagramType.getAncestors()
public INgDiagramTypes getDescendants()
throws IOException,
AutomationException
getDescendants in interface INgDiagramTypeIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgDiagramType.getParent(),
INgDiagramType.getChildren(),
INgDiagramType.getAncestors()
public void delete(boolean deleteDescendants)
throws IOException,
AutomationException
Note that the TRUE value is the default value for the deleteDescendants parameter.
delete in interface INgDiagramTypedeleteDescendants - The deleteDescendants (in, optional, pass true if not required)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INgNames getDiagramNames()
throws IOException,
AutomationException
getDiagramNames in interface INgDiagramTypeIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void associateElementType(INgElementType elementType)
throws IOException,
AutomationException
associateElementType in interface INgDiagramTypeelementType - A reference to a com.esri.arcgis.schematic.INgElementType (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgDiagramType.getAssociatedElementTypes()
public void dissociateElementType(INgElementType elementType)
throws IOException,
AutomationException
dissociateElementType in interface INgDiagramTypeelementType - A reference to a com.esri.arcgis.schematic.INgElementType (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgDiagramType.associateElementType(com.esri.arcgis.schematic.INgElementType)
public boolean isElementTypeAssociated(INgElementType elementType)
throws IOException,
AutomationException
isElementTypeAssociated in interface INgDiagramTypeelementType - A reference to a com.esri.arcgis.schematic.INgElementType (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 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 | ||||||||