|
|||||||||
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.framework.ISelectionPaletteProxy
public class ISelectionPaletteProxy
Provides access to members that define a palette of selection choices.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
ISelectionPaletteProxy()
|
|
ISelectionPaletteProxy(Object obj)
|
protected |
ISelectionPaletteProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
String |
getCategory()
The category the palette belongs to. |
int |
getItemCount()
The number of items in the palette. |
int |
getLastSelected()
The index of the item in the palette that was last selected. |
int |
getMoreButtonCount()
The number of more buttons in the palette. |
String |
getName()
The name of the palette. |
int |
getNumColumns()
The number of columns in this palette. |
int |
getNumRows()
The number of rows in this palette. |
String |
getShortCutKey()
The shortcut key to show this palette. |
boolean |
isEnabled()
Indicates if the palette is enabled. |
void |
onClick(int index)
Occurs when the user selects an item the palette. |
void |
onCreate(Object hook)
Gives the palette a hook into the application. |
void |
queryItem(int index,
int[] bitmap,
String[] tooltip)
The bitmap and tooltip for the given item. |
void |
queryMoreButton(int index,
String[] tooltip,
String[] name)
The tooltip and text for the given more button. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
setLastSelected(int index)
The index of the item in the palette that was last selected. |
void |
setNumColumns(int numColumns)
The number of columns in this palette. |
void |
setNumRows(int numRows)
The number of rows in this palette. |
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 ISelectionPaletteProxy()
public ISelectionPaletteProxy(Object obj) throws IOException
IOException
protected ISelectionPaletteProxy(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 boolean isEnabled() throws IOException, AutomationException
isEnabled
in interface ISelectionPalette
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getName() throws IOException, AutomationException
getName
in interface ISelectionPalette
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getItemCount() throws IOException, AutomationException
getItemCount
in interface ISelectionPalette
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryItem(int index, int[] bitmap, String[] tooltip) throws IOException, AutomationException
queryItem
in interface ISelectionPalette
index
- The index (in)bitmap
- The bitmap (A COM typedef) (out: use single element array)tooltip
- The tooltip (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMoreButtonCount() throws IOException, AutomationException
getMoreButtonCount
in interface ISelectionPalette
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryMoreButton(int index, String[] tooltip, String[] name) throws IOException, AutomationException
queryMoreButton
in interface ISelectionPalette
index
- The index (in)tooltip
- The tooltip (out: use single element array)name
- The name (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getCategory() throws IOException, AutomationException
getCategory
in interface ISelectionPalette
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getShortCutKey() throws IOException, AutomationException
getShortCutKey
in interface ISelectionPalette
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getNumColumns() throws IOException, AutomationException
getNumColumns
in interface ISelectionPalette
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setNumColumns(int numColumns) throws IOException, AutomationException
setNumColumns
in interface ISelectionPalette
numColumns
- The numColumns (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getNumRows() throws IOException, AutomationException
getNumRows
in interface ISelectionPalette
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setNumRows(int numRows) throws IOException, AutomationException
setNumRows
in interface ISelectionPalette
numRows
- The numRows (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getLastSelected() throws IOException, AutomationException
getLastSelected
in interface ISelectionPalette
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLastSelected(int index) throws IOException, AutomationException
setLastSelected
in interface ISelectionPalette
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onCreate(Object hook) throws IOException, AutomationException
onCreate
in interface ISelectionPalette
hook
- A reference to another Automation Object (IDispatch) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onClick(int index) throws IOException, AutomationException
onClick
in interface ISelectionPalette
index
- The index (in)
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 |