|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.controls.ToolbarPalette
public class ToolbarPalette
COM Class 'ToolbarPalette'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriControls.olb'
Description 'A palette containing commands that can be used from a ToolbarControl or as a popup palette.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
| Field Summary |
|---|
| Fields inherited from interface com.esri.arcgis.controls.IToolbarPalette |
|---|
IID, IID3a7ec31f_ea85_4b2b_9a29_f9505c0265a4, xxDummy |
| Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo |
|---|
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy |
| Constructor Summary | |
|---|---|
ToolbarPalette()
Constructs a ToolbarPalette using ArcGIS Engine. |
|
ToolbarPalette(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. ToolbarPalette theToolbarPalette = (ToolbarPalette) obj; |
|
| Method Summary | |
|---|---|
int |
addItem(java.lang.Object item,
int subType,
int index)
Adds an item to the ToolbarPalette. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
int |
find(java.lang.Object item)
Returns the index of the first item containing the given command. |
IToolbarItem |
getActiveItem()
The palette item currently displayed on the ToolbarControl. |
java.lang.String |
getCaption()
The caption used by the ToolbarPalette. |
static java.lang.String |
getClsid()
getClsid. |
ICommandPool |
getCommandPool()
The CommandPool used by the ToolbarPalette. |
int |
getCount()
The number of items on the ToolbarPalette. |
java.lang.Object |
getHook()
The object that is passed as a hook to the OnCreate event of each item's command. |
int |
getIconSize()
Indicates the size in pixels of icons displayed on the ToolbarPalette. |
IToolbarItem |
getItem(int index)
Returns the item at the specified index from the ToolbarPalette. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
Picture |
getMouseIcon()
Custom mouse icon used if MousePointer is 99. |
int |
getMousePointer()
The mouse pointer displayed over the ToolbarPalette. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
boolean |
isAlignLeft()
Indicates if the ToolbarPalette displays aligned to the left or right. |
boolean |
isCustomize()
Indicates if the ToolbarPalette is in customize mode. |
boolean |
isThemedDrawing()
Indicates if the ToolbarPalette uses themed drawing. |
boolean |
isToolTips()
Indicates if the items tooltips are shown. |
void |
moveItem(int startIndex,
int finalIndex)
Moves an item from one index to another. |
void |
popupPalette(int x,
int y,
int hWndParent)
Pops up the ToolbarPalette at the position specified. |
void |
release()
Release a ToolbarPalette. |
void |
remove(int index)
Removes the item at the specified index from the ToolbarPalette. |
void |
removeAll()
Removes all items from the ToolbarPalette. |
void |
setAlignLeft(boolean pVal)
Indicates if the ToolbarPalette displays aligned to the left or right. |
void |
setCaption(java.lang.String pVal)
The caption used by the ToolbarPalette. |
void |
setCommandPoolByRef(ICommandPool ppCommandPool)
The CommandPool used by the ToolbarPalette. |
void |
setCustomize(boolean newVal)
Indicates if the ToolbarPalette is in customize mode. |
void |
setHook(java.lang.Object hook)
Sets the object that is passed as a hook to the OnCreate event of each item's command. |
void |
setIconSize(int pVal)
Indicates the size in pixels of icons displayed on the ToolbarPalette. |
void |
setMouseIconByRef(Picture ppMouseIcon)
Custom mouse icon used if MousePointer is 99. |
void |
setMousePointer(int pVal)
The mouse pointer displayed over the ToolbarPalette. |
void |
setThemedDrawing(boolean pVal)
Indicates if the ToolbarPalette uses themed drawing. |
void |
setToolTips(boolean pVal)
Indicates if the items tooltips are shown. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ToolbarPalette()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems
public ToolbarPalette(java.lang.Object obj)
throws java.io.IOException
ToolbarPalette theToolbarPalette = (ToolbarPalette) obj;
obj to ToolbarPalette.
obj - an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems| Method Detail |
|---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRef
public void setCommandPoolByRef(ICommandPool ppCommandPool)
throws java.io.IOException,
AutomationException
setCommandPoolByRef in interface IToolbarPaletteppCommandPool - A reference to a com.esri.arcgis.controls.ICommandPool (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ICommandPool getCommandPool()
throws java.io.IOException,
AutomationException
getCommandPool in interface IToolbarPalettejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void popupPalette(int x,
int y,
int hWndParent)
throws java.io.IOException,
AutomationException
popupPalette in interface IToolbarPalettex - The x (in)y - The y (in)hWndParent - The hWndParent (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setHook(java.lang.Object hook)
throws java.io.IOException,
AutomationException
setHook in interface IToolbarPalettehook - A reference to another Automation Object (IDispatch) (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.Object getHook()
throws java.io.IOException,
AutomationException
getHook in interface IToolbarPalettejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void moveItem(int startIndex,
int finalIndex)
throws java.io.IOException,
AutomationException
moveItem in interface IToolbarPalettestartIndex - The startIndex (in)finalIndex - The finalIndex (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int addItem(java.lang.Object item,
int subType,
int index)
throws java.io.IOException,
AutomationException
addItem in interface IToolbarPaletteitem - A Variant (in)subType - The subType (in, optional, pass 0 if not required)index - The index (in, optional, pass -1 if not required)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void remove(int index)
throws java.io.IOException,
AutomationException
remove in interface IToolbarPaletteindex - The index (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void removeAll()
throws java.io.IOException,
AutomationException
removeAll in interface IToolbarPalettejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCaption(java.lang.String pVal)
throws java.io.IOException,
AutomationException
setCaption in interface IToolbarPalettepVal - The pVal (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getCaption()
throws java.io.IOException,
AutomationException
getCaption in interface IToolbarPalettejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getCount()
throws java.io.IOException,
AutomationException
getCount in interface IToolbarPalettejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IToolbarItem getActiveItem()
throws java.io.IOException,
AutomationException
getActiveItem in interface IToolbarPalettejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isToolTips()
throws java.io.IOException,
AutomationException
isToolTips in interface IToolbarPalettejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setToolTips(boolean pVal)
throws java.io.IOException,
AutomationException
setToolTips in interface IToolbarPalettepVal - The pVal (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IToolbarItem getItem(int index)
throws java.io.IOException,
AutomationException
getItem in interface IToolbarPaletteindex - The index (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int find(java.lang.Object item)
throws java.io.IOException,
AutomationException
find in interface IToolbarPaletteitem - A Variant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCustomize(boolean newVal)
throws java.io.IOException,
AutomationException
setCustomize in interface IToolbarPalettenewVal - The newVal (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isCustomize()
throws java.io.IOException,
AutomationException
isCustomize in interface IToolbarPalettejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isThemedDrawing()
throws java.io.IOException,
AutomationException
isThemedDrawing in interface IToolbarPalettejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setThemedDrawing(boolean pVal)
throws java.io.IOException,
AutomationException
setThemedDrawing in interface IToolbarPalettepVal - The pVal (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getMousePointer()
throws java.io.IOException,
AutomationException
getMousePointer in interface IToolbarPalettejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMousePointer(int pVal)
throws java.io.IOException,
AutomationException
setMousePointer in interface IToolbarPalettepVal - A com.esri.arcgis.controls.esriControlsMousePointer constant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getIconSize()
throws java.io.IOException,
AutomationException
getIconSize in interface IToolbarPalettejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setIconSize(int pVal)
throws java.io.IOException,
AutomationException
setIconSize in interface IToolbarPalettepVal - The pVal (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isAlignLeft()
throws java.io.IOException,
AutomationException
isAlignLeft in interface IToolbarPalettejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAlignLeft(boolean pVal)
throws java.io.IOException,
AutomationException
setAlignLeft in interface IToolbarPalettepVal - The pVal (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMouseIconByRef(Picture ppMouseIcon)
throws java.io.IOException,
AutomationException
setMouseIconByRef in interface IToolbarPaletteppMouseIcon - A reference to a com.esri.arcgis.support.ms.stdole.Picture (A com.esri.arcgis.support.ms.stdole.Picture COM typedef) (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Picture getMouseIcon()
throws java.io.IOException,
AutomationException
getMouseIcon in interface IToolbarPalettejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void interfaceSupportsErrorInfo(GUID riid)
throws java.io.IOException,
AutomationException
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
java.io.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 | ||||||||