|
|||||||||
| 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.INgCommandProxy
public class INgCommandProxy
Provides access to members that control the command.
A command is a procedure that generally triggers a specific treatment in response to an event from the application. A command can be applied to all object types and can be parameterized or not.
Schematics offers a full set of predefined commands, each with its own area of action, which means that it will apply to a given metatype only. If the execution of a given method or the chaining of a set of methods available from the esriSchematic library can be easily coded in your project instead of triggerring a predefined command, some predefined commands have no equivalent in the esriSchematic library. Here under is the list of all Schematics predefined commands:
CommandByPassNode, CommandCollapse, CommandCollapseTree, CommandCopy, CommandDecreaseSymbolSize, CommandDecreaseTextSize, CommandExpand, CommandExpandAll, CommandIncreaseSymbolSize, CommandIncreaseTextSize, CommandSeparateOverlappingLink, CommandTogglePropertyState, CommandPopupMenu
CommandCenterObject, CommandCloseDiagram, CommandCloseSession, CommandDigitConnectedLink, CommandDigitLink, CommandDigitNode, CommandFit, CommandFitAll, CommandLegend, CommandLoadAndDisplayElement, CommandNewView, CommandSelectFromSchematic, CommandSelectInSchematic, CommandOnLegendEntry, CommandOpenDiagram, CommandOpenDiagramForm, CommandPrint, CommandRefreshDiagram, CommandRefreshElement, CommandRepaint, CommandInitialPosition, CommandSaveDiagram, CommandSaveSession, CommandSelectElement, CommandSetDigitMode, CommandSetEditAndMoveMode, CommandSetPanMode, CommandSetPropertyState, CommandSetSelectMode, CommandSetZoomInMode, CommandSetZoomOutMode, CommandTileWindows, CommandUndisplayObject, CommandUnselectAll
CommandHorizontalAlignment, CommandRemoveLinkPoints, CommandRemoveElement, CommandRotate, CommandSelectTree, CommandSymmetry, CommandVerticalAlignment
CommandContainer, CommandDelegate, CommandDelegateSubType, CommandExecuteProcedure, CommandOnAllViews, CommandUser
INgBehavior,
Serialized Form| Field Summary |
|---|
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
|---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E |
| Constructor Summary | |
|---|---|
|
INgCommandProxy()
|
|
INgCommandProxy(Object obj)
|
protected |
INgCommandProxy(Object obj,
String iid)
|
| Method Summary | |
|---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
void |
execute()
Executes the command. |
String |
getName()
Name of the command. |
String |
getParameter()
Parameters for the command. |
String |
getStatusText()
Status bar description for the command. |
String |
getToolTipText()
Description of the command in the button-related tootip. |
boolean |
isChecked()
Indicates if the command has been executed. |
boolean |
isEnabled()
Indicates if the command is enabled. |
void |
readExternal(ObjectInput in)
|
void |
removeListener(String iidStr,
Object theListener)
|
void |
setName(String pVal)
Name of the command. |
void |
setParameter(String pVal)
Parameters for the command. |
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 INgCommandProxy()
public INgCommandProxy(Object obj)
throws IOException
IOException
protected INgCommandProxy(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
getName in interface INgCommandIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setName(String pVal)
throws IOException,
AutomationException
setName in interface INgCommandpVal - The pVal (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getParameter()
throws IOException,
AutomationException
getParameter in interface INgCommandIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setParameter(String pVal)
throws IOException,
AutomationException
setParameter in interface INgCommandpVal - The pVal (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getStatusText()
throws IOException,
AutomationException
getStatusText in interface INgCommandIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getToolTipText()
throws IOException,
AutomationException
getToolTipText in interface INgCommandIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void execute()
throws IOException,
AutomationException
execute in interface INgCommandIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isChecked()
throws IOException,
AutomationException
isChecked in interface INgCommandIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgBehavior
public boolean isEnabled()
throws IOException,
AutomationException
isEnabled in interface INgCommandIOException - 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 | ||||||||