|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Canvas com.esri.arcgis.interop.Ocx com.esri.arcgis.controls.ToolbarControl
public class ToolbarControl
COM Class 'ToolbarControl'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriControls.olb'
Description 'Esri ToolbarControl' 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 =
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.awt.Canvas |
---|
java.awt.Canvas.AccessibleAWTCanvas |
Nested classes/interfaces inherited from class java.awt.Component |
---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary |
---|
Fields inherited from class com.esri.arcgis.interop.Ocx |
---|
rootParentContainers, rootWindows |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface com.esri.arcgis.controls.IToolbarControl |
---|
IIDb7d4358d_3cbc_11d6_aa09_00104bb6fc1c |
Fields inherited from interface com.esri.arcgis.display.IConnectionPointContainer |
---|
IID, IIDb196b284_bab4_101a_b69c_00aa00341d07, xxDummy |
Fields inherited from interface com.esri.arcgis.geodatabase.IPersistStreamInit |
---|
IID, IID7fd52380_4e07_101b_ae2d_08002b2ec713, xxDummy |
Fields inherited from interface com.esri.arcgis.system.IPersist |
---|
IID0000010c_0000_0000_c000_000000000046 |
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo |
---|
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
ToolbarControl()
Constructs a ToolbarControl using ArcGIS Engine. |
|
ToolbarControl(java.lang.Object o)
Constructs a ToolbarControl. |
Method Summary | |
---|---|
void |
aboutBox()
Displays a dialog of information about the ToolbarControl. |
int |
addItem(java.lang.Object item,
int subType,
int index,
boolean beginGroup,
int groupSpacing,
int style)
Adds an item to the ToolbarControl. |
void |
addIToolbarControlEventsListener(IToolbarControlEvents theListener)
addIToolbarControlEventsListener. |
int |
addMenuItem(java.lang.Object menu,
int index,
boolean beginGroup,
int groupSpacing)
Adds a menu item to the ToolbarControl. |
void |
addNotify()
|
int |
addToolbarDef(java.lang.Object toolbarDef,
int startIndex,
boolean group,
int groupSpacing,
int style)
Appends the contents of the toolbar definition, specified by Guid or ToolbarDef, to the toolbar control. |
void |
enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
enumConnectionPoints |
boolean |
equals(java.lang.Object o)
Compare this object with another |
boolean |
esri_isEnabled()
Indicates whether the ToolbarControl can respond to user generated events. |
void |
esri_setEnabled(boolean rhs1)
Indicates whether the ToolbarControl can respond to user generated events. |
int |
find(java.lang.Object item)
Returns the index of the first item containing the given command, menu or palette. |
void |
findConnectionPoint(GUID riid,
IConnectionPoint[] ppCP)
findConnectionPoint |
int |
getAppearance()
The appearance of the ToolbarControl. |
int |
getBackColor()
Background color of the ToolbarControl. |
int |
getBorderStyle()
The border style of the ToolbarControl. |
java.lang.Object |
getBuddy()
The object that will have its current tool managed by the toolbar. |
void |
getClassID(GUID[] pClassID)
getClassID |
static java.lang.String |
getClsid()
getClsid. |
ICommandPool |
getCommandPool()
The command pool used by the ToolbarControl to manage command objects. |
int |
getCount()
The number of items on the ToolbarControl. |
ITool |
getCurrentTool()
The current tool of the buddy. |
java.lang.Object |
getCustomProperty()
A property to associate data with a control. |
int |
getFadeColor()
Background fade color of the ToolbarControl. |
int |
getFillDirection()
The fill direction of the ToolbarControl background color. |
int |
getHWnd()
Handle to the window associated with the ToolbarControl. |
int |
getIconSize()
The size in pixels of icons displayed on the ToolbarControl. |
IToolbarItem |
getItem(int index)
Returns the item at the specified index from the ToolbarControl. |
int |
getItemAppearance()
The appearance of the items on the ToolbarControl. |
void |
getItemRect(int index,
int[] top,
int[] left,
int[] bottom,
int[] right)
Returns the dimensions of the item at the specified index. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
int |
getKeyIntercept()
A property that specifies interception of key strokes that are normally handled by the container. |
Picture |
getMouseIcon()
Custom mouse icon used if MousePointer is 99. |
int |
getMousePointer()
The mouse pointer displayed over the ToolbarControl. |
java.lang.Object |
getObject()
A property that returns the underlying control. |
IOperationStack |
getOperationStack()
The operation stack used for undo and redo functionality. |
int |
getOrientation()
Indicates if the ToolbarControl is horizontally or vertically aligned. |
java.awt.Dimension |
getPreferredSize()
|
void |
getSizeMax(_ULARGE_INTEGER[] pCbSize)
getSizeMax |
int |
getTextAlignment()
The caption placement for all items on the ToolbarControl. |
int |
getUpdateInterval()
The frequency in millisecs that update method is called on the ToolbarControl. |
int |
hitTest(int x,
int y,
boolean nearest)
Returns the index of the item at the specified x and y coordinates. |
void |
initNew()
initNew |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
boolean |
isAlignLeft()
Indicates if the ToolbarControl displays menu and palette items aligned to the left or right. |
boolean |
isCustomize()
Indicates if the ToolbarControl is in customize mode. |
void |
isDirty()
isDirty |
boolean |
isLargeIcons()
Indicates if large icons are shown on all items on the ToolbarControl. |
boolean |
isMenuTracking()
Indicates if menu tracking is enabled on the ToolbarControl. |
boolean |
isShowHiddenItems()
Indicates if the ToolbarControl has a hidden items menu containing items currently not visible. |
boolean |
isThemedDrawing()
Indicates if the ToolbarControl uses themed drawing. |
boolean |
isToolTips()
Indicates if the items tooltips are shown. |
boolean |
isTransparent()
Indicates if the ToolbarControl has a transparent background. |
void |
load(IStream pStm)
load |
void |
loadItems(IStream pStream)
Loads items into the ToolbarControl from a previously saved stream. |
void |
moveItem(int startIndex,
int finalIndex)
Moves an item from one index to another. |
void |
release()
Release a ToolbarControl. |
void |
remove(int index)
Removes the item at the specified index from the ToolbarControl. |
void |
removeAll()
Removes all items from the ToolbarControl. |
void |
removeIToolbarControlEventsListener(IToolbarControlEvents theListener)
removeIToolbarControlEventsListener. |
void |
save(IStream pStm,
int fClearDirty)
save |
void |
saveItems(IStream pStream)
Saves the ToolbarControl items into a stream. |
void |
setAlignLeft(boolean rhs1)
Indicates if the ToolbarControl displays menu and palette items aligned to the left or right. |
void |
setAppearance(int rhs1)
The appearance of the ToolbarControl. |
void |
setBackColor(int rhs1)
Background color of the ToolbarControl. |
void |
setBorderStyle(int rhs1)
The border style of the ToolbarControl. |
void |
setBuddyControl(java.lang.Object pToolbarBuddy)
Sets a control to be a buddy of the toolbar, this control must support IToolbarBuddy. |
void |
setCommandPoolByRef(ICommandPool rhs1)
The command pool used by the ToolbarControl to manage command objects. |
void |
setCurrentToolByRef(ITool rhs1)
The current tool of the buddy. |
void |
setCustomize(boolean rhs1)
Indicates if the ToolbarControl is in customize mode. |
void |
setCustomProperty(java.lang.Object rhs1)
A property to associate data with a control. |
void |
setFadeColor(int rhs1)
Background fade color of the ToolbarControl. |
void |
setFillDirection(int rhs1)
The fill direction of the ToolbarControl background color. |
void |
setIconSize(int rhs1)
The size in pixels of icons displayed on the ToolbarControl. |
void |
setItemAppearance(int rhs1)
The appearance of the items on the ToolbarControl. |
void |
setKeyIntercept(int rhs1)
A property that specifies interception of key strokes that are normally handled by the container. |
void |
setLargeIcons(boolean rhs1)
Indicates if large icons are shown on all items on the ToolbarControl. |
void |
setMenuTracking(boolean rhs1)
Indicates if menu tracking is enabled on the ToolbarControl. |
void |
setMouseIconByRef(Picture rhs1)
Custom mouse icon used if MousePointer is 99. |
void |
setMousePointer(int rhs1)
The mouse pointer displayed over the ToolbarControl. |
void |
setOperationStackByRef(IOperationStack rhs1)
The operation stack used for undo and redo functionality. |
void |
setOrientation(int rhs1)
Indicates if the ToolbarControl is horizontally or vertically aligned. |
void |
setShowHiddenItems(boolean rhs1)
Indicates if the ToolbarControl has a hidden items menu containing items currently not visible. |
void |
setTextAlignment(int rhs1)
The caption placement for all items on the ToolbarControl. |
void |
setThemedDrawing(boolean rhs1)
Indicates if the ToolbarControl uses themed drawing. |
void |
setToolTips(boolean rhs1)
Indicates if the items tooltips are shown. |
void |
setTransparent(boolean rhs1)
Indicates if the ToolbarControl has a transparent background. |
void |
setUpdateInterval(int rhs1)
The frequency in millisecs that update method is called on the ToolbarControl. |
void |
update(int index,
boolean fullUpdate)
Updates the enabled state of the specified item or all items if an index of -1 is specified. |
Methods inherited from class com.esri.arcgis.interop.Ocx |
---|
checkIfVisible, dispose, finalize, getCanvasWindowHandle, getControlWindowHandle, getMinimumSize, getObjRef, paint, removeNotify, setBounds, setBounds, setSize, setSize, zz_doQueuedSets, zz_get, zz_get, zz_get, zz_get, zz_get, zz_get, zz_get, zz_get, zz_queueSet, zz_queueSet, zz_queueSet, zz_queueSet, zz_queueSet, zz_queueSet, zz_queueSet, zz_queueSet |
Methods inherited from class java.awt.Canvas |
---|
createBufferStrategy, createBufferStrategy, getAccessibleContext, getBufferStrategy, update |
Methods inherited from class java.awt.Component |
---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAlignmentX, getAlignmentY, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeys, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusCycleRoot, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, paramString, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, processComponentEvent, processEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setFont, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, validate |
Methods inherited from class java.lang.Object |
---|
clone, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ToolbarControl()
public ToolbarControl(java.lang.Object o)
Method Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void addIToolbarControlEventsListener(IToolbarControlEvents theListener) throws java.io.IOException
theListener
- An object that implements the com.esri.arcgis.controls.IToolbarControlEvents interface.
java.io.IOException
- If there are communications problems.public void removeIToolbarControlEventsListener(IToolbarControlEvents theListener) throws java.io.IOException
theListener
- An object that implements the com.esri.arcgis.controls.IToolbarControlEvents interface.
java.io.IOException
- If there are communications problems.public void addNotify()
addNotify
in class com.esri.arcgis.interop.Ocx
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void setBorderStyle(int rhs1) throws java.io.IOException, AutomationException
setBorderStyle
in interface IToolbarControl
setBorderStyle
in interface IToolbarControlDefault
rhs1
- A com.esri.arcgis.controls.esriControlsBorderStyle constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getBorderStyle() throws java.io.IOException, AutomationException
getBorderStyle
in interface IToolbarControl
getBorderStyle
in interface IToolbarControlDefault
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void esri_setEnabled(boolean rhs1) throws java.io.IOException, AutomationException
esri_setEnabled
in interface IToolbarControl
esri_setEnabled
in interface IToolbarControlDefault
rhs1
- The rhs1 (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean esri_isEnabled() throws java.io.IOException, AutomationException
esri_isEnabled
in interface IToolbarControl
esri_isEnabled
in interface IToolbarControlDefault
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAppearance(int rhs1) throws java.io.IOException, AutomationException
setAppearance
in interface IToolbarControl
setAppearance
in interface IToolbarControlDefault
rhs1
- A com.esri.arcgis.controls.esriControlsAppearance constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getAppearance() throws java.io.IOException, AutomationException
getAppearance
in interface IToolbarControl
getAppearance
in interface IToolbarControlDefault
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMousePointer(int rhs1) throws java.io.IOException, AutomationException
setMousePointer
in interface IToolbarControl
setMousePointer
in interface IToolbarControlDefault
rhs1
- 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 getMousePointer() throws java.io.IOException, AutomationException
getMousePointer
in interface IToolbarControl
getMousePointer
in interface IToolbarControlDefault
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMouseIconByRef(Picture rhs1) throws java.io.IOException, AutomationException
setMouseIconByRef
in interface IToolbarControl
setMouseIconByRef
in interface IToolbarControlDefault
rhs1
- 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 IToolbarControl
getMouseIcon
in interface IToolbarControlDefault
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getHWnd() throws java.io.IOException, AutomationException
getHWnd
in interface IToolbarControl
getHWnd
in interface IToolbarControlDefault
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void aboutBox() throws java.io.IOException, AutomationException
aboutBox
in interface IToolbarControl
aboutBox
in interface IToolbarControlDefault
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, boolean beginGroup, int groupSpacing, int style) throws java.io.IOException, AutomationException
addItem
in interface IToolbarControl
addItem
in interface IToolbarControlDefault
item
- A Variant (in)subType
- The subType (in, optional, pass 0 if not required)index
- The index (in, optional, pass -1 if not required)beginGroup
- The beginGroup (in, optional, pass false if not required)groupSpacing
- The groupSpacing (in, optional, pass 0 if not required)style
- A com.esri.arcgis.systemUI.esriCommandStyles constant (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 IToolbarControl
remove
in interface IToolbarControlDefault
index
- 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 IToolbarControl
removeAll
in interface IToolbarControlDefault
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 IToolbarControl
getItem
in interface IToolbarControlDefault
index
- The index (in)
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 IToolbarControl
getCount
in interface IToolbarControlDefault
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void update(int index, boolean fullUpdate) throws java.io.IOException, AutomationException
update
in interface IToolbarControl
update
in interface IToolbarControlDefault
index
- The index (in, optional, pass -1 if not required)fullUpdate
- The fullUpdate (in, optional, pass false if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getBuddy() throws java.io.IOException, AutomationException
getBuddy
in interface IToolbarControl
getBuddy
in interface IToolbarControlDefault
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITool getCurrentTool() throws java.io.IOException, AutomationException
getCurrentTool
in interface IToolbarControl
getCurrentTool
in interface IToolbarControlDefault
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCurrentToolByRef(ITool rhs1) throws java.io.IOException, AutomationException
setCurrentToolByRef
in interface IToolbarControl
setCurrentToolByRef
in interface IToolbarControlDefault
rhs1
- A reference to a com.esri.arcgis.systemUI.ITool (in)
java.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 IToolbarControl
isToolTips
in interface IToolbarControlDefault
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setToolTips(boolean rhs1) throws java.io.IOException, AutomationException
setToolTips
in interface IToolbarControl
setToolTips
in interface IToolbarControlDefault
rhs1
- The rhs1 (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getItemAppearance() throws java.io.IOException, AutomationException
getItemAppearance
in interface IToolbarControl
getItemAppearance
in interface IToolbarControlDefault
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setItemAppearance(int rhs1) throws java.io.IOException, AutomationException
setItemAppearance
in interface IToolbarControl
setItemAppearance
in interface IToolbarControlDefault
rhs1
- A com.esri.arcgis.controls.esriControlsAppearance constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getUpdateInterval() throws java.io.IOException, AutomationException
getUpdateInterval
in interface IToolbarControl
getUpdateInterval
in interface IToolbarControlDefault
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUpdateInterval(int rhs1) throws java.io.IOException, AutomationException
setUpdateInterval
in interface IToolbarControl
setUpdateInterval
in interface IToolbarControlDefault
rhs1
- The rhs1 (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 IToolbarControl
find
in interface IToolbarControlDefault
item
- A Variant (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 IToolbarControl
getCommandPool
in interface IToolbarControlDefault
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCommandPoolByRef(ICommandPool rhs1) throws java.io.IOException, AutomationException
setCommandPoolByRef
in interface IToolbarControl
setCommandPoolByRef
in interface IToolbarControlDefault
rhs1
- 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 int addToolbarDef(java.lang.Object toolbarDef, int startIndex, boolean group, int groupSpacing, int style) throws java.io.IOException, AutomationException
addToolbarDef
in interface IToolbarControl
addToolbarDef
in interface IToolbarControlDefault
toolbarDef
- A Variant (in)startIndex
- The startIndex (in, optional, pass -1 if not required)group
- The group (in, optional, pass false if not required)groupSpacing
- The groupSpacing (in, optional, pass 4 if not required)style
- A com.esri.arcgis.systemUI.esriCommandStyles constant (in, optional, pass 1 if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getTextAlignment() throws java.io.IOException, AutomationException
getTextAlignment
in interface IToolbarControl
getTextAlignment
in interface IToolbarControlDefault
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTextAlignment(int rhs1) throws java.io.IOException, AutomationException
setTextAlignment
in interface IToolbarControl
setTextAlignment
in interface IToolbarControlDefault
rhs1
- A com.esri.arcgis.controls.esriToolbarTextAlignment constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isLargeIcons() throws java.io.IOException, AutomationException
isLargeIcons
in interface IToolbarControl
isLargeIcons
in interface IToolbarControlDefault
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLargeIcons(boolean rhs1) throws java.io.IOException, AutomationException
setLargeIcons
in interface IToolbarControl
setLargeIcons
in interface IToolbarControlDefault
rhs1
- The rhs1 (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 IToolbarControl
isCustomize
in interface IToolbarControlDefault
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCustomize(boolean rhs1) throws java.io.IOException, AutomationException
setCustomize
in interface IToolbarControl
setCustomize
in interface IToolbarControlDefault
rhs1
- The rhs1 (in)
java.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 IToolbarControl
moveItem
in interface IToolbarControlDefault
startIndex
- The startIndex (in)finalIndex
- The finalIndex (in, optional, pass -1 if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int hitTest(int x, int y, boolean nearest) throws java.io.IOException, AutomationException
hitTest
in interface IToolbarControl
hitTest
in interface IToolbarControlDefault
x
- The x (in)y
- The y (in)nearest
- The nearest (in, optional, pass false if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getItemRect(int index, int[] top, int[] left, int[] bottom, int[] right) throws java.io.IOException, AutomationException
getItemRect
in interface IToolbarControl
getItemRect
in interface IToolbarControlDefault
index
- The index (in)top
- The top (in/out: use single element array)left
- The left (in/out: use single element array)bottom
- The bottom (in/out: use single element array)right
- The right (in/out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IOperationStack getOperationStack() throws java.io.IOException, AutomationException
getOperationStack
in interface IToolbarControl
getOperationStack
in interface IToolbarControlDefault
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOperationStackByRef(IOperationStack rhs1) throws java.io.IOException, AutomationException
setOperationStackByRef
in interface IToolbarControl
setOperationStackByRef
in interface IToolbarControlDefault
rhs1
- A reference to a com.esri.arcgis.systemUI.IOperationStack (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getCustomProperty() throws java.io.IOException, AutomationException
getCustomProperty
in interface IToolbarControl
getCustomProperty
in interface IToolbarControlDefault
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCustomProperty(java.lang.Object rhs1) throws java.io.IOException, AutomationException
setCustomProperty
in interface IToolbarControl
setCustomProperty
in interface IToolbarControlDefault
rhs1
- A Variant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBuddyControl(java.lang.Object pToolbarBuddy) throws java.io.IOException, AutomationException
setBuddyControl
in interface IToolbarControl
setBuddyControl
in interface IToolbarControlDefault
pToolbarBuddy
- 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 boolean isMenuTracking() throws java.io.IOException, AutomationException
isMenuTracking
in interface IToolbarControl
isMenuTracking
in interface IToolbarControlDefault
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMenuTracking(boolean rhs1) throws java.io.IOException, AutomationException
setMenuTracking
in interface IToolbarControl
setMenuTracking
in interface IToolbarControlDefault
rhs1
- The rhs1 (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int addMenuItem(java.lang.Object menu, int index, boolean beginGroup, int groupSpacing) throws java.io.IOException, AutomationException
addMenuItem
in interface IToolbarControl
addMenuItem
in interface IToolbarControlDefault
menu
- A Variant (in)index
- The index (in, optional, pass -1 if not required)beginGroup
- The beginGroup (in, optional, pass false if not required)groupSpacing
- The groupSpacing (in, optional, pass 4 if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getObject() throws java.io.IOException, AutomationException
getObject
in interface IToolbarControl
getObject
in interface IToolbarControlDefault
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getKeyIntercept() throws java.io.IOException, AutomationException
getKeyIntercept
in interface IToolbarControl
getKeyIntercept
in interface IToolbarControlDefault
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setKeyIntercept(int rhs1) throws java.io.IOException, AutomationException
setKeyIntercept
in interface IToolbarControl
setKeyIntercept
in interface IToolbarControlDefault
rhs1
- The rhs1 (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBackColor(int rhs1) throws java.io.IOException, AutomationException
setBackColor
in interface IToolbarControl2
setBackColor
in interface IToolbarControlDefault
rhs1
- The rhs1 (A COM typedef) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getBackColor() throws java.io.IOException, AutomationException
getBackColor
in interface IToolbarControl2
getBackColor
in interface IToolbarControlDefault
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getOrientation() throws java.io.IOException, AutomationException
getOrientation
in interface IToolbarControl2
getOrientation
in interface IToolbarControlDefault
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOrientation(int rhs1) throws java.io.IOException, AutomationException
setOrientation
in interface IToolbarControl2
setOrientation
in interface IToolbarControlDefault
rhs1
- A com.esri.arcgis.controls.esriToolbarOrientation constant (in)
java.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 IToolbarControl2
isThemedDrawing
in interface IToolbarControlDefault
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setThemedDrawing(boolean rhs1) throws java.io.IOException, AutomationException
setThemedDrawing
in interface IToolbarControl2
setThemedDrawing
in interface IToolbarControlDefault
rhs1
- The rhs1 (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getFadeColor() throws java.io.IOException, AutomationException
getFadeColor
in interface IToolbarControl2
getFadeColor
in interface IToolbarControlDefault
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFadeColor(int rhs1) throws java.io.IOException, AutomationException
setFadeColor
in interface IToolbarControl2
setFadeColor
in interface IToolbarControlDefault
rhs1
- The rhs1 (A COM typedef) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getFillDirection() throws java.io.IOException, AutomationException
getFillDirection
in interface IToolbarControl2
getFillDirection
in interface IToolbarControlDefault
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFillDirection(int rhs1) throws java.io.IOException, AutomationException
setFillDirection
in interface IToolbarControl2
setFillDirection
in interface IToolbarControlDefault
rhs1
- A com.esri.arcgis.controls.esriToolbarFillDirection constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isTransparent() throws java.io.IOException, AutomationException
isTransparent
in interface IToolbarControl2
isTransparent
in interface IToolbarControlDefault
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTransparent(boolean rhs1) throws java.io.IOException, AutomationException
setTransparent
in interface IToolbarControl2
setTransparent
in interface IToolbarControlDefault
rhs1
- The rhs1 (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isShowHiddenItems() throws java.io.IOException, AutomationException
isShowHiddenItems
in interface IToolbarControl2
isShowHiddenItems
in interface IToolbarControlDefault
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setShowHiddenItems(boolean rhs1) throws java.io.IOException, AutomationException
setShowHiddenItems
in interface IToolbarControl2
setShowHiddenItems
in interface IToolbarControlDefault
rhs1
- The rhs1 (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 IToolbarControl2
getIconSize
in interface IToolbarControlDefault
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setIconSize(int rhs1) throws java.io.IOException, AutomationException
setIconSize
in interface IToolbarControl2
setIconSize
in interface IToolbarControlDefault
rhs1
- The rhs1 (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 IToolbarControl2
isAlignLeft
in interface IToolbarControlDefault
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAlignLeft(boolean rhs1) throws java.io.IOException, AutomationException
setAlignLeft
in interface IToolbarControl2
setAlignLeft
in interface IToolbarControlDefault
rhs1
- The rhs1 (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void loadItems(IStream pStream) throws java.io.IOException, AutomationException
loadItems
in interface IToolbarControl2
loadItems
in interface IToolbarControlDefault
pStream
- A reference to a com.esri.arcgis.system.IStream (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void saveItems(IStream pStream) throws java.io.IOException, AutomationException
saveItems
in interface IToolbarControl2
saveItems
in interface IToolbarControlDefault
pStream
- A reference to a com.esri.arcgis.system.IStream (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void enumConnectionPoints(IEnumConnectionPoints[] ppEnum) throws java.io.IOException, AutomationException
enumConnectionPoints
in interface IConnectionPointContainer
ppEnum
- A reference to a com.esri.arcgis.display.IEnumConnectionPoints (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void findConnectionPoint(GUID riid, IConnectionPoint[] ppCP) throws java.io.IOException, AutomationException
findConnectionPoint
in interface IConnectionPointContainer
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)ppCP
- A reference to a com.esri.arcgis.display.IConnectionPoint (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws java.io.IOException, AutomationException
isDirty
in interface IPersistStreamInit
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void load(IStream pStm) throws java.io.IOException, AutomationException
load
in interface IPersistStreamInit
pStm
- A reference to a com.esri.arcgis.system.IStream (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void save(IStream pStm, int fClearDirty) throws java.io.IOException, AutomationException
save
in interface IPersistStreamInit
pStm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pCbSize) throws java.io.IOException, AutomationException
getSizeMax
in interface IPersistStreamInit
pCbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void initNew() throws java.io.IOException, AutomationException
initNew
in interface IPersistStreamInit
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws java.io.IOException, AutomationException
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
java.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 ISupportErrorInfo
riid
- 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.public java.awt.Dimension getPreferredSize()
getPreferredSize
in class com.esri.arcgis.interop.Ocx
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |