|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.framework.CommandBar
public class CommandBar
COM Class 'CommandBar'. Generated 3/19/2015 1:20:50 PM from 'C:\ArcGIS\COM\esriFramework.olb'
Description 'CommandBar object.' 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.framework.ICommandItem |
|---|
IID, IID423b7723_b858_11d1_947b_080009eebecb, xxDummy |
| Fields inherited from interface com.esri.arcgis.framework.ICommandBar |
|---|
IID, IID32e9d003_b867_11d1_947b_080009eebecb, xxDummy |
| Fields inherited from interface com.esri.arcgis.framework.IWindowPosition |
|---|
IID, IID88c995ae_64a7_43f5_bf12_88ac179b25a6, xxDummy |
| Constructor Summary | |
|---|---|
CommandBar(java.lang.Object obj)
Construct a CommandBar using a reference to such an object returned from ArcGIS Engine or Server. |
|
| Method Summary | |
|---|---|
ICommandItem |
add(IUID cmdID,
java.lang.Object index)
Adds a new command to this commandbar. |
ICommandItem |
createMacroItem(java.lang.String name,
java.lang.Object faceID,
java.lang.String action,
java.lang.Object index)
Creates a new macro item on this commandbar at the specified position. |
ICommandBar |
createMenu(java.lang.String name,
java.lang.Object index)
Creates a new blank menu on this commandbar at the specified position. |
void |
delete()
Removes this object from the commandbar. |
void |
dock(int dockFlags,
ICommandBar referenceBar)
Docks or undocks this commandbar. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
void |
execute()
Causes the command to execute. |
ICommandItem |
find(java.lang.Object identifier,
boolean noRecurse)
Finds a command on this commandbar. |
java.lang.String |
getAction()
The name of the VBA macro this command should run when pressed. |
java.lang.String |
getCaption()
The caption of this command item. |
java.lang.String |
getCategory()
The name of the category with which this command item is associated. |
ICommand |
getCommand()
A reference to the internal command object. |
int |
getCount()
The number of items contained within this commandbar. |
java.lang.Object |
getFaceID()
The bitmap that is used as the icon on this command item. |
int |
getHeight()
The height of the window. |
int |
getHelpContextID()
The help context ID associated with this command item. |
java.lang.String |
getHelpFile()
The help file associated with this command item. |
IUID |
getID()
The unique integer ID associated with this command item. |
int |
getIndex()
The positional index of this command item within its menu or toolbar. |
ICommandItem |
getItem(int index)
The command item on this commandbar at the specified index. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
int |
getLeft()
The distance between the internal left edge of the window and screen. |
java.lang.String |
getMessage()
The status bar message for this command item. |
java.lang.String |
getName()
The name of this command item. |
ICommandBar |
getParent()
The menu or toolbar that this command item currently resides on. |
int |
getState()
The state of the window. |
int |
getStyle()
The display style of this command item. |
java.lang.String |
getTag()
The tag for this command item. |
java.lang.String |
getTooltip()
The tooltip for this command item. |
int |
getTop()
The distance between the internal top edge of the window and screen. |
int |
getType()
The type of this command item. |
int |
getWidth()
The width of the window. |
int |
hashCode()
the hashcode for this object |
boolean |
isBuiltIn()
Indicates whether this command item is built-in or if it was implemented through VBA. |
boolean |
isGroup()
Indicates if this command item begins a menu or toolbar group. |
boolean |
isVisible()
Indicates if this commandbar is visible. |
void |
move(int left,
int top,
int width,
int height)
Moves and optionally resizes the windows in a single function. |
ICommandItem |
popup(int x,
int y)
Displays this commandbar as a popup menu at the specified location. |
void |
refresh()
Causes the command to be redrawn. |
void |
release()
Release a CommandBar. |
void |
reset()
Restores this command item's properties to that of the original. |
void |
setAction(java.lang.String macro)
The name of the VBA macro this command should run when pressed. |
void |
setCaption(java.lang.String name)
The caption of this command item. |
void |
setFaceID(java.lang.Object faceID)
The bitmap that is used as the icon on this command item. |
void |
setGroup(boolean group)
Indicates if this command item begins a menu or toolbar group. |
void |
setHeight(int height)
The height of the window. |
void |
setHelpContextID(int contextID)
The help context ID associated with this command item. |
void |
setHelpFile(java.lang.String helpFile)
The help file associated with this command item. |
void |
setLeft(int left)
The distance between the internal left edge of the window and screen. |
void |
setMessage(java.lang.String message)
The status bar message for this command item. |
void |
setName(java.lang.String name)
The name of this command item. |
void |
setState(int windowState)
The state of the window. |
void |
setStyle(int style)
The display style of this command item. |
void |
setTag(java.lang.String tag)
The tag for this command item. |
void |
setTooltip(java.lang.String tooltip)
The tooltip for this command item. |
void |
setTop(int top)
The distance between the internal top edge of the window and screen. |
void |
setWidth(int width)
The width of the window. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CommandBar(java.lang.Object obj)
throws java.io.IOException
obj to CommandBar. *
CommandBar o = (CommandBar)obj; // will not work
CommandBar o = new CommandBar(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems
CommandBar theCommandBar = (CommandBar) obj;| Method Detail |
|---|
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 java.lang.String getAction()
throws java.io.IOException,
AutomationException
getAction in interface ICommandItemjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAction(java.lang.String macro)
throws java.io.IOException,
AutomationException
setAction in interface ICommandItemmacro - The macro (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isBuiltIn()
throws java.io.IOException,
AutomationException
isBuiltIn in interface ICommandItemjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getCategory()
throws java.io.IOException,
AutomationException
getCategory in interface ICommandItemjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ICommand getCommand()
throws java.io.IOException,
AutomationException
getCommand in interface ICommandItemjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void delete()
throws java.io.IOException,
AutomationException
delete in interface ICommandItemjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFaceID(java.lang.Object faceID)
throws java.io.IOException,
AutomationException
setFaceID in interface ICommandItemfaceID - A Variant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.Object getFaceID()
throws java.io.IOException,
AutomationException
getFaceID in interface ICommandItemjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setGroup(boolean group)
throws java.io.IOException,
AutomationException
setGroup in interface ICommandItemgroup - The group (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isGroup()
throws java.io.IOException,
AutomationException
isGroup in interface ICommandItemjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getHelpFile()
throws java.io.IOException,
AutomationException
getHelpFile in interface ICommandItemjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setHelpFile(java.lang.String helpFile)
throws java.io.IOException,
AutomationException
setHelpFile in interface ICommandItemhelpFile - The helpFile (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getHelpContextID()
throws java.io.IOException,
AutomationException
getHelpContextID in interface ICommandItemjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setHelpContextID(int contextID)
throws java.io.IOException,
AutomationException
setHelpContextID in interface ICommandItemcontextID - The contextID (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IUID getID()
throws java.io.IOException,
AutomationException
getID in interface ICommandItemjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getIndex()
throws java.io.IOException,
AutomationException
getIndex in interface ICommandItemjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getName()
throws java.io.IOException,
AutomationException
getName in interface ICommandItemjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setName(java.lang.String name)
throws java.io.IOException,
AutomationException
setName in interface ICommandItemname - The name (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCaption(java.lang.String name)
throws java.io.IOException,
AutomationException
setCaption in interface ICommandItemname - The name (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 ICommandItemjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ICommandBar getParent()
throws java.io.IOException,
AutomationException
getParent in interface ICommandItemjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void reset()
throws java.io.IOException,
AutomationException
reset in interface ICommandItemjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getStyle()
throws java.io.IOException,
AutomationException
getStyle in interface ICommandItemjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setStyle(int style)
throws java.io.IOException,
AutomationException
setStyle in interface ICommandItemstyle - A com.esri.arcgis.systemUI.esriCommandStyles constant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getTag()
throws java.io.IOException,
AutomationException
getTag in interface ICommandItemjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTag(java.lang.String tag)
throws java.io.IOException,
AutomationException
setTag in interface ICommandItemtag - The tag (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getTooltip()
throws java.io.IOException,
AutomationException
getTooltip in interface ICommandItemjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTooltip(java.lang.String tooltip)
throws java.io.IOException,
AutomationException
setTooltip in interface ICommandItemtooltip - The tooltip (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getType()
throws java.io.IOException,
AutomationException
getType in interface ICommandItemjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getMessage()
throws java.io.IOException,
AutomationException
getMessage in interface ICommandItemjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMessage(java.lang.String message)
throws java.io.IOException,
AutomationException
setMessage in interface ICommandItemmessage - The message (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void execute()
throws java.io.IOException,
AutomationException
execute in interface ICommandItemjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void refresh()
throws java.io.IOException,
AutomationException
refresh in interface ICommandItemjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ICommandItem add(IUID cmdID,
java.lang.Object index)
throws java.io.IOException,
AutomationException
add in interface ICommandBarcmdID - A reference to a com.esri.arcgis.system.IUID (in)index - A Variant (in, optional, pass null if not required)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ICommandBar createMenu(java.lang.String name,
java.lang.Object index)
throws java.io.IOException,
AutomationException
createMenu in interface ICommandBarname - The name (in)index - A Variant (in, optional, pass null if not required)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ICommandItem createMacroItem(java.lang.String name,
java.lang.Object faceID,
java.lang.String action,
java.lang.Object index)
throws java.io.IOException,
AutomationException
createMacroItem in interface ICommandBarname - The name (in)faceID - A Variant (in, optional, pass null if not required)action - The action (in, optional, pass null if not required)index - A Variant (in, optional, pass null if not required)
java.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 ICommandBarjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ICommandItem find(java.lang.Object identifier,
boolean noRecurse)
throws java.io.IOException,
AutomationException
find in interface ICommandBaridentifier - A Variant (in)noRecurse - The noRecurse (in, optional, pass false if not required)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ICommandItem getItem(int index)
throws java.io.IOException,
AutomationException
getItem in interface ICommandBarindex - The index (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ICommandItem popup(int x,
int y)
throws java.io.IOException,
AutomationException
popup in interface ICommandBarx - The x (in, optional, pass 0 if not required)y - The y (in, optional, pass 0 if not required)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void dock(int dockFlags,
ICommandBar referenceBar)
throws java.io.IOException,
AutomationException
dock in interface ICommandBardockFlags - A com.esri.arcgis.framework.esriDockFlags constant (in)referenceBar - A reference to a com.esri.arcgis.framework.ICommandBar (in, optional, pass null if not required)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isVisible()
throws java.io.IOException,
AutomationException
isVisible in interface ICommandBarjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLeft(int left)
throws java.io.IOException,
AutomationException
setLeft in interface IWindowPositionleft - The left (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getLeft()
throws java.io.IOException,
AutomationException
getLeft in interface IWindowPositionjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTop(int top)
throws java.io.IOException,
AutomationException
setTop in interface IWindowPositiontop - The top (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getTop()
throws java.io.IOException,
AutomationException
getTop in interface IWindowPositionjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setWidth(int width)
throws java.io.IOException,
AutomationException
setWidth in interface IWindowPositionwidth - The width (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getWidth()
throws java.io.IOException,
AutomationException
getWidth in interface IWindowPositionjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setHeight(int height)
throws java.io.IOException,
AutomationException
setHeight in interface IWindowPositionheight - The height (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getHeight()
throws java.io.IOException,
AutomationException
getHeight in interface IWindowPositionjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void move(int left,
int top,
int width,
int height)
throws java.io.IOException,
AutomationException
move in interface IWindowPositionleft - The left (in)top - The top (in)width - The width (in, optional, pass 0 if not required)height - The height (in, optional, pass 0 if not required)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setState(int windowState)
throws java.io.IOException,
AutomationException
setState in interface IWindowPositionwindowState - A com.esri.arcgis.framework.esriWindowState constant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getState()
throws java.io.IOException,
AutomationException
getState in interface IWindowPositionjava.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 | ||||||||