|
|||||||||
| 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.INgProjectBuilderProxy
public class INgProjectBuilderProxy
Provides access to members that control the graphic project builder.
The project builder interface's members let you define your schematic application components (diagram types, element types, behaviors...).
INgProject,
Serialized Form| Field Summary |
|---|
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
|---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E |
| Constructor Summary | |
|---|---|
|
INgProjectBuilderProxy()
|
|
INgProjectBuilderProxy(Object obj)
|
protected |
INgProjectBuilderProxy(Object obj,
String iid)
|
| Method Summary | |
|---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
INgBehavior |
createBehavior(String evtName,
int metaType,
String objectType)
Creates the behavior to respond to the event 'evtName' on the metatype 'metaType' for the object type named 'objectType'. |
INgDiagramType |
createDiagramType(String diagTypeName,
INgDiagramType parent)
Creates a new diagram type named 'diagTypeName'. |
INgElementType |
createElementType(String eltTypeName,
int type,
INgElementType parent,
boolean createGroup)
Creates a new element type named 'eltTypeName' whose type is 'Type'. |
INgFlagModel |
createFlagModel(String flagModelName)
Creates a new flag mode named 'flagModelName' for the project. |
INgPatternModel |
createPatternModel(String patternModelName,
int type,
String text)
Creates a new pattern model named 'patternModelName' for the project. |
void |
deleteAttributeSets()
Deletes all the attribute sets associated with the project. |
void |
deleteDataSources()
Deletes all the data sources associated with the project. |
void |
deleteProcedureSets()
Deletes all the procedure sets associated with the project. |
INgBehaviors |
getBehaviors()
List of the behaviors defined for the project. |
INgBehaviors |
getBehaviors2(int metaType,
String objTypeName)
Returns the list of the behaviors defined for the metatype 'metaType'. |
void |
getColorIndex(short red,
short green,
short blue,
int[] colorIndex)
Returns the color index corresponding to the specified RGB values in the project. |
void |
getFontIndex(String fontName,
int[] fontIndex)
Returns the font index corresponding to font named 'fontName' in the project. |
void |
readExternal(ObjectInput in)
|
void |
reloadSymbol(String symbolName)
Reloads the symbol named 'symbolName' in the project. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
replaceDataSource(INgDataSource oldDataSource,
INgDataSource newDataSource)
Changes the specified old datasource by the specified new datasource in the project. |
void |
save(String projectFilePath,
String projectFileName)
Saves all the parameters that define the project. |
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 INgProjectBuilderProxy()
public INgProjectBuilderProxy(Object obj)
throws IOException
IOException
protected INgProjectBuilderProxy(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 INgBehaviors getBehaviors()
throws IOException,
AutomationException
getBehaviors in interface INgProjectBuilderIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgProjectBuilder.getBehaviors()
public INgFlagModel createFlagModel(String flagModelName)
throws IOException,
AutomationException
createFlagModel in interface INgProjectBuilderflagModelName - The flagModelName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgProject.getFlagModels()
public INgPatternModel createPatternModel(String patternModelName,
int type,
String text)
throws IOException,
AutomationException
createPatternModel in interface INgProjectBuilderpatternModelName - The patternModelName (in)type - A com.esri.arcgis.schematic.esriNgPatternType constant (in)text - The text (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgProject.getPatternModels()
public INgElementType createElementType(String eltTypeName,
int type,
INgElementType parent,
boolean createGroup)
throws IOException,
AutomationException
This element type can inherit the ‘parent’ element type (optional parameter). The createGroup parameter specifies if the associated element group must be created or not. The default value for the createGroup parameter is True; that is by default, all newly created element type is directly related to its own graphic group.
createElementType in interface INgProjectBuildereltTypeName - The eltTypeName (in)type - A com.esri.arcgis.schematic.esriNgElementTypeEnum constant (in)parent - A reference to a com.esri.arcgis.schematic.INgElementType (in, optional, pass 0 if not required)createGroup - The createGroup (in, optional, pass true if not required)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgProject.getElementTypes()
public INgDiagramType createDiagramType(String diagTypeName,
INgDiagramType parent)
throws IOException,
AutomationException
createDiagramType in interface INgProjectBuilderdiagTypeName - The diagTypeName (in)parent - A reference to a com.esri.arcgis.schematic.INgDiagramType (in, optional, pass 0 if not required)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgProject.getDiagramTypes()
public INgBehavior createBehavior(String evtName,
int metaType,
String objectType)
throws IOException,
AutomationException
createBehavior in interface INgProjectBuilderevtName - The evtName (in)metaType - A com.esri.arcgis.schematic.esriNgMetaType constant (in)objectType - The objectType (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgProjectBuilder.getBehaviors()
public void save(String projectFilePath,
String projectFileName)
throws IOException,
AutomationException
The parameters projectFilePath and projectFileName are optional. By default if they are not specified, Schematics overwrites the current session's parameters file.
Note that the specified projectFilePath must already exist because Schematics does not create nonexistent folders.
save in interface INgProjectBuilderprojectFilePath - The projectFilePath (in, optional, pass if not required)projectFileName - The projectFileName (in, optional, pass if not required)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INgBehaviors getBehaviors2(int metaType,
String objTypeName)
throws IOException,
AutomationException
getBehaviors2 in interface INgProjectBuildermetaType - A com.esri.arcgis.schematic.esriNgMetaType constant (in)objTypeName - The objTypeName (in, optional, pass if not required)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deleteDataSources()
throws IOException,
AutomationException
deleteDataSources in interface INgProjectBuilderIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgProjectBuilder.replaceDataSource(com.esri.arcgis.schematic.INgDataSource, com.esri.arcgis.schematic.INgDataSource),
INgProject.addDataSource(com.esri.arcgis.schematic.INgDataSource)
public void deleteAttributeSets()
throws IOException,
AutomationException
deleteAttributeSets in interface INgProjectBuilderIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgProject.addUserAttributes(java.lang.Object, String)
public void deleteProcedureSets()
throws IOException,
AutomationException
deleteProcedureSets in interface INgProjectBuilderIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgProject.addUserProcedures(java.lang.Object, String)
public void replaceDataSource(INgDataSource oldDataSource,
INgDataSource newDataSource)
throws IOException,
AutomationException
replaceDataSource in interface INgProjectBuilderoldDataSource - A reference to a com.esri.arcgis.schematic.INgDataSource (in)newDataSource - A reference to a com.esri.arcgis.schematic.INgDataSource (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgProjectBuilder.deleteDataSources(),
INgProject.addDataSource(com.esri.arcgis.schematic.INgDataSource)
public void getColorIndex(short red,
short green,
short blue,
int[] colorIndex)
throws IOException,
AutomationException
getColorIndex in interface INgProjectBuilderred - The red (in)green - The green (in)blue - The blue (in)colorIndex - The colorIndex (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getFontIndex(String fontName,
int[] fontIndex)
throws IOException,
AutomationException
getFontIndex in interface INgProjectBuilderfontName - The fontName (in)fontIndex - The fontIndex (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void reloadSymbol(String symbolName)
throws IOException,
AutomationException
reloadSymbol in interface INgProjectBuildersymbolName - The symbolName (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 | ||||||||