|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ISelectionPalette
Provides access to members that define a palette of selection choices.
| Method Summary | |
|---|---|
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 |
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. |
| Method Detail |
|---|
boolean isEnabled()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
String getName()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
int getItemCount()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void queryItem(int index,
int[] bitmap,
String[] tooltip)
throws IOException,
AutomationException
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.
int getMoreButtonCount()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void queryMoreButton(int index,
String[] tooltip,
String[] name)
throws IOException,
AutomationException
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.
String getCategory()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
String getShortCutKey()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
int getNumColumns()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setNumColumns(int numColumns)
throws IOException,
AutomationException
numColumns - The numColumns (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
int getNumRows()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setNumRows(int numRows)
throws IOException,
AutomationException
numRows - The numRows (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
int getLastSelected()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setLastSelected(int index)
throws IOException,
AutomationException
index - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void onCreate(Object hook)
throws IOException,
AutomationException
hook - A reference to another Automation Object (IDispatch) (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void onClick(int index)
throws IOException,
AutomationException
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 | ||||||||