|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.systemUI.IToolPaletteProxy
public class IToolPaletteProxy
Tool palette.
Tool palettes provide a compact way to group a related set of tools. The most recently used tool appears on the toolbar alongside a small drop-down button used to access other tools in the group. Like menus, tools that appear on tool palettes can come from built-in sources, add-in sources, or a combination of both.
Use this interface to define the properties of a custom tool palette.
To create a tool palette, you need to implement the ICommand inteface and the IToolPalette interface in your class code.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Fields inherited from interface com.esri.arcgis.systemUI.IToolPalette |
---|
IID, IID5678b14a_102b_493f_badb_1a83ae8a3830, xxDummy |
Constructor Summary | |
---|---|
|
IToolPaletteProxy()
|
|
IToolPaletteProxy(Object obj)
|
protected |
IToolPaletteProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
int |
getPaletteColumns()
The Number of Columns to display |
String |
getPaletteItem(int pos)
The CLSID for the item on this menu at the specified index. |
int |
getPaletteItemCount()
The number of items in this menu. |
boolean |
isMenuStyle()
The menu style |
boolean |
isTearOff()
The tearoff style |
void |
removeListener(String iidStr,
Object theListener)
|
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, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public IToolPaletteProxy()
public IToolPaletteProxy(Object obj) throws IOException
IOException
protected IToolPaletteProxy(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.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public int getPaletteItemCount() throws IOException, AutomationException
getPaletteItemCount
in interface IToolPalette
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getPaletteItem(int pos) throws IOException, AutomationException
getPaletteItem
in interface IToolPalette
pos
- The pos (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getPaletteColumns() throws IOException, AutomationException
getPaletteColumns
in interface IToolPalette
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isMenuStyle() throws IOException, AutomationException
isMenuStyle
in interface IToolPalette
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isTearOff() throws IOException, AutomationException
isTearOff
in interface IToolPalette
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |