com.esri.arcgis.framework
Class ISelectionPaletteProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.framework.ISelectionPaletteProxy
All Implemented Interfaces:
ISelectionPalette, java.io.Externalizable, java.io.Serializable

public class ISelectionPaletteProxy
extends com.esri.arcgis.interop.Dispatch
implements ISelectionPalette, java.io.Serializable

Internal use class Proxy for COM Interface 'ISelectionPalette'. Generated 3/19/2015 1:21:02 PM from 'C:\ArcGIS\COM\esriFramework.olb'

Description: 'Provides access to members that define a palette of selection choices.' 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 =

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.framework.ISelectionPalette
IID, IID5fdd7101_8e9f_11d1_a1b2_080009b6f22b
 
Constructor Summary
  ISelectionPaletteProxy()
          For internal use only
  ISelectionPaletteProxy(java.lang.Object obj)
           
protected ISelectionPaletteProxy(java.lang.Object obj, java.lang.String iid)
           
  ISelectionPaletteProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected ISelectionPaletteProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 java.lang.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.
 java.lang.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.
 java.lang.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(java.lang.Object hook)
          Gives the palette a hook into the application.
 void queryItem(int index, int[] bitmap, java.lang.String[] tooltip)
          The bitmap and tooltip for the given item.
 void queryMoreButton(int index, java.lang.String[] tooltip, java.lang.String[] name)
          The tooltip and text for the given more button.
 void removeListener(java.lang.String iidStr, java.lang.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

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable
Constructor Detail

ISelectionPaletteProxy

public ISelectionPaletteProxy(java.lang.String CLSID,
                              java.lang.String host,
                              com.esri.arcgis.interop.AuthInfo authInfo)
                       throws java.net.UnknownHostException,
                              java.io.IOException
Throws:
java.net.UnknownHostException
java.io.IOException

ISelectionPaletteProxy

public ISelectionPaletteProxy()
For internal use only


ISelectionPaletteProxy

public ISelectionPaletteProxy(java.lang.Object obj)
                       throws java.io.IOException
Throws:
java.io.IOException

ISelectionPaletteProxy

protected ISelectionPaletteProxy(java.lang.Object obj,
                                 java.lang.String iid)
                          throws java.io.IOException
Throws:
java.io.IOException

ISelectionPaletteProxy

protected ISelectionPaletteProxy(java.lang.String CLSID,
                                 java.lang.String iid,
                                 java.lang.String host,
                                 com.esri.arcgis.interop.AuthInfo authInfo)
                          throws java.io.IOException
Throws:
java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

isEnabled

public boolean isEnabled()
                  throws java.io.IOException,
                         AutomationException
Indicates if the palette is enabled.

Specified by:
isEnabled in interface ISelectionPalette
Returns:
The enabled
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getName

public java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
The name of the palette. This will show in the title bar.

Specified by:
getName in interface ISelectionPalette
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getItemCount

public int getItemCount()
                 throws java.io.IOException,
                        AutomationException
The number of items in the palette.

Specified by:
getItemCount in interface ISelectionPalette
Returns:
The itemCount
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryItem

public void queryItem(int index,
                      int[] bitmap,
                      java.lang.String[] tooltip)
               throws java.io.IOException,
                      AutomationException
The bitmap and tooltip for the given item.

Specified by:
queryItem in interface ISelectionPalette
Parameters:
index - The index (in)
bitmap - The bitmap (A COM typedef) (out: use single element array)
tooltip - The tooltip (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMoreButtonCount

public int getMoreButtonCount()
                       throws java.io.IOException,
                              AutomationException
The number of more buttons in the palette.

Specified by:
getMoreButtonCount in interface ISelectionPalette
Returns:
The moreButtonCount
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryMoreButton

public void queryMoreButton(int index,
                            java.lang.String[] tooltip,
                            java.lang.String[] name)
                     throws java.io.IOException,
                            AutomationException
The tooltip and text for the given more button.

Specified by:
queryMoreButton in interface ISelectionPalette
Parameters:
index - The index (in)
tooltip - The tooltip (out: use single element array)
name - The name (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCategory

public java.lang.String getCategory()
                             throws java.io.IOException,
                                    AutomationException
The category the palette belongs to.

Specified by:
getCategory in interface ISelectionPalette
Returns:
The category
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getShortCutKey

public java.lang.String getShortCutKey()
                                throws java.io.IOException,
                                       AutomationException
The shortcut key to show this palette.

Specified by:
getShortCutKey in interface ISelectionPalette
Returns:
The shortCutText
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNumColumns

public int getNumColumns()
                  throws java.io.IOException,
                         AutomationException
The number of columns in this palette.

Specified by:
getNumColumns in interface ISelectionPalette
Returns:
The numColumns
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNumColumns

public void setNumColumns(int numColumns)
                   throws java.io.IOException,
                          AutomationException
The number of columns in this palette.

Specified by:
setNumColumns in interface ISelectionPalette
Parameters:
numColumns - The numColumns (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNumRows

public int getNumRows()
               throws java.io.IOException,
                      AutomationException
The number of rows in this palette.

Specified by:
getNumRows in interface ISelectionPalette
Returns:
The numRows
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNumRows

public void setNumRows(int numRows)
                throws java.io.IOException,
                       AutomationException
The number of rows in this palette.

Specified by:
setNumRows in interface ISelectionPalette
Parameters:
numRows - The numRows (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLastSelected

public int getLastSelected()
                    throws java.io.IOException,
                           AutomationException
The index of the item in the palette that was last selected.

Specified by:
getLastSelected in interface ISelectionPalette
Returns:
The index
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLastSelected

public void setLastSelected(int index)
                     throws java.io.IOException,
                            AutomationException
The index of the item in the palette that was last selected.

Specified by:
setLastSelected in interface ISelectionPalette
Parameters:
index - The index (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onCreate

public void onCreate(java.lang.Object hook)
              throws java.io.IOException,
                     AutomationException
Gives the palette a hook into the application.

Specified by:
onCreate in interface ISelectionPalette
Parameters:
hook - A reference to another Automation Object (IDispatch) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onClick

public void onClick(int index)
             throws java.io.IOException,
                    AutomationException
Occurs when the user selects an item the palette.

Specified by:
onClick in interface ISelectionPalette
Parameters:
index - The index (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.