|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.arcgis.analyst3d.ControlsSceneSceneToolbar
A toolbar with common scene control tools.
This toolset works with the ToolbarControl and SceneControl. Its CLSID is: {18A9FFDF-7B77-413A-AF57-81F58BFCFFB3}.
| Constructor Summary | |
ControlsSceneSceneToolbar()
Constructs a ControlsSceneSceneToolbar on the local host. |
|
ControlsSceneSceneToolbar(com.linar.jintegra.AuthInfo authInfo)
|
|
ControlsSceneSceneToolbar(Object obj)
Construct a ControlsSceneSceneToolbar using a reference to such an object returned from a COM server |
|
ControlsSceneSceneToolbar(String host)
Construct a ControlsSceneSceneToolbar on specified host. |
|
ControlsSceneSceneToolbar(String host,
com.linar.jintegra.AuthInfo authInfo)
|
|
| Method Summary | |
static ControlsSceneSceneToolbar |
bindUsingMoniker(String moniker)
Bind to a running instance of this class using the supplied ObjRef moniker |
boolean |
equals(Object o)
Compare this object with another |
static ControlsSceneSceneToolbar |
getActiveObject()
Get a reference to a running instance of this class on the current machine using native code. |
IToolBarDef |
getAsIToolBarDef()
Access this class's com.esri.arcgis.systemUI.IToolBarDef interface |
String |
getCaption()
The caption of this toolbar. |
static String |
getClsid()
|
int |
getItemCount()
The number of items in this toolbar. |
void |
getItemInfo(int pos,
IItemDef itemDef)
The CLSID for the item on this toolbar at the specified index. |
String |
getName()
The name of this toolbar. |
Object |
getPropertyByName(String name)
Get the value of a property dynamically at run-time, based on its name |
Object |
getPropertyByName(String name,
Object rhs)
Get the value of a property dynamically at run-time, based on its name and a parameter |
int |
hashCode()
the hashcode for this object |
Object |
invokeMethodByName(String name,
Object[] parameters)
Invoke a method dynamically at run-time to pass primitive types (eg Integer to pass an int). |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ControlsSceneSceneToolbar()
throws IOException,
UnknownHostException
IOException - if there are problems communicating via DCOM
UnknownHostException - if the host can not be found
public ControlsSceneSceneToolbar(String host)
throws IOException,
UnknownHostException
host - the host on which the object should be created
IOException - if there are problems communicating via DCOM
UnknownHostException - if the host can not be found
public ControlsSceneSceneToolbar(com.linar.jintegra.AuthInfo authInfo)
throws IOException,
UnknownHostException
public ControlsSceneSceneToolbar(String host,
com.linar.jintegra.AuthInfo authInfo)
throws IOException,
UnknownHostException
public ControlsSceneSceneToolbar(Object obj)
throws IOException
obj - an object returned from a COM server
IOException - if there are problems communicating via DCOM| Method Detail |
public static String getClsid()
public IToolBarDef getAsIToolBarDef()
public boolean equals(Object o)
public int hashCode()
public static ControlsSceneSceneToolbar getActiveObject()
throws AutomationException,
IOException
IOException - If there are communications problems.
AutomationException - If there was an error attaching to the instance.
public static ControlsSceneSceneToolbar bindUsingMoniker(String moniker)
throws AutomationException,
IOException
IOException - If there are communications problems.
AutomationException - If there was an error attaching to the instance.
public Object getPropertyByName(String name)
throws NoSuchFieldException,
IOException,
AutomationException
NoSuchFieldException - If the property does not exit.
IOException - If there are communications problems.
AutomationException - If the remote server throws an exception.
public Object getPropertyByName(String name,
Object rhs)
throws NoSuchFieldException,
IOException,
AutomationException
NoSuchFieldException - If the property does not exit.
IOException - If there are communications problems.
AutomationException - If the remote server throws an exception.
public Object invokeMethodByName(String name,
Object[] parameters)
throws NoSuchMethodException,
IOException,
AutomationException
NoSuchMethodException - If the method does not exit.
IOException - If there are communications problems.
AutomationException - If the remote server throws an exception.
public int getItemCount()
throws IOException,
AutomationException
IToolBarDefWhen implementing IToolBarDef to create a custom toolbar, use the ItemCount property to specify how many items will be on this toolbar.
getItemCount in interface IToolBarDefIOException - If there are communications problems.
AutomationException - If the remote server throws an exception.
public void getItemInfo(int pos,
IItemDef itemDef)
throws IOException,
AutomationException
IToolBarDef
pos represents the locational index number of this item on the toolbar.
itemDef is an IItemDef object that defines the item at this position of the toolbar.
When implementing IToolBarDef to create a custom toolbar, use the GetItemInfo method to define what items are on this toolbar. To find the CLSID, ProgID, and subtype of a built-in command or menu in ArcMap or ArcCatalog, refer to the following technical documents:
ArcObjects Developer Help > Technical Documents > ArcMap: Names and IDs of commands and commandbars
ArcObjects Developer Help > Technical Documents > ArcCatalog: Names and IDs of commands and commandbars
getItemInfo in interface IToolBarDefpos - The pos (in)itemDef - An reference to a com.esri.arcgis.systemUI.IItemDef (in)
IOException - If there are communications problems.
AutomationException - If the remote server throws an exception.IItemDef
public String getName()
throws IOException,
AutomationException
IToolBarDefWhen implementing IToolBarDef to create a custom toolbar, use the Name property to set the name of this toolbar.
getName in interface IToolBarDefAutomationException - If the remote server throws an exception.
IOException - If there are communications problems.
public String getCaption()
throws IOException,
AutomationException
IToolBarDefThe Caption property of a toolbar is the string that appears as the toolbar title when the toolbar is in a floating state.
When implementing IToolBarDef to create a custom toolbar, use the Caption property to set the caption of this toolbar.
getCaption in interface IToolBarDefIOException - If there are communications problems.
AutomationException - If the remote server throws an exception.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||