com.esri.arcgis.arcscene
Class TOCSxLegendSelectionView

java.lang.Object
  extended by com.esri.arcgis.arcscene.TOCSxLegendSelectionView
All Implemented Interfaces:
ISxContentsView, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class TOCSxLegendSelectionView
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, ISxContentsView

COM Class 'TOCSxLegendSelectionView'. Generated 3/19/2015 1:20:50 PM from 'C:\ArcGIS\COM\esriArcScene.olb'

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
 
Fields inherited from interface com.esri.arcgis.arcscene.ISxContentsView
IID, IID59c8304b_e57b_11d3_9f74_00c04f6bc619, xxDummy
 
Constructor Summary
TOCSxLegendSelectionView()
          Constructs a TOCSxLegendSelectionView using ArcGIS Engine.
TOCSxLegendSelectionView(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
TOCSxLegendSelectionView theTOCSxLegendSelectionView = (TOCSxLegendSelectionView) obj;
 
Method Summary
 void activate(int parentHWnd, ISxDocument document)
          Activates the contents view.
 void addToSelectedItems(java.lang.Object item)
          Adds to the selected items.
 void deactivate()
          Deactivates the contents view.
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 java.lang.Object getContextItem()
          The context item (could be an enumerator).
 int getHWnd()
          The HWND of the contents view.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getName()
          The name of the contents view.
 java.lang.Object getSelectedItem()
          The selected item (could be an enumerator).
 int hashCode()
          the hashcode for this object
 boolean isShowLines()
          Indicates whether to show lines in the TOC tree.
 boolean isVisible()
          Indicates if the view is visible.
 void refresh(java.lang.Object item)
          Refreshes the contents view.
 void release()
          Release a TOCSxLegendSelectionView.
 void removeFromSelectedItems(java.lang.Object item)
          Removes an item from the selected items.
 void setContextItem(java.lang.Object item)
          The context item (could be an enumerator).
 void setProcessEvents(boolean rhs1)
          Indicates whether the view is currently responding to events.
 void setSelectedItem(java.lang.Object item)
          The selected item (could be an enumerator).
 void setShowLines(boolean show)
          Indicates whether to show lines in the TOC tree.
 void setVisible(boolean vis)
          Indicates if the view is visible.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TOCSxLegendSelectionView

public TOCSxLegendSelectionView()
                         throws java.io.IOException,
                                java.net.UnknownHostException
Constructs a TOCSxLegendSelectionView using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

TOCSxLegendSelectionView

public TOCSxLegendSelectionView(java.lang.Object obj)
                         throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
TOCSxLegendSelectionView theTOCSxLegendSelectionView = (TOCSxLegendSelectionView) obj;

Construct a TOCSxLegendSelectionView using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to TOCSxLegendSelectionView.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a TOCSxLegendSelectionView.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getName

public java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
The name of the contents view.

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

getHWnd

public int getHWnd()
            throws java.io.IOException,
                   AutomationException
The HWND of the contents view.

Specified by:
getHWnd in interface ISxContentsView
Returns:
The hWnd (A COM typedef)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

activate

public void activate(int parentHWnd,
                     ISxDocument document)
              throws java.io.IOException,
                     AutomationException
Activates the contents view.

Specified by:
activate in interface ISxContentsView
Parameters:
parentHWnd - The parentHWnd (A COM typedef) (in)
document - A reference to a com.esri.arcgis.arcscene.ISxDocument (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deactivate

public void deactivate()
                throws java.io.IOException,
                       AutomationException
Deactivates the contents view.

Specified by:
deactivate in interface ISxContentsView
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

refresh

public void refresh(java.lang.Object item)
             throws java.io.IOException,
                    AutomationException
Refreshes the contents view. If a non-null item is specified, it refreshes only that item and its children.

Specified by:
refresh in interface ISxContentsView
Parameters:
item - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSelectedItem

public java.lang.Object getSelectedItem()
                                 throws java.io.IOException,
                                        AutomationException
The selected item (could be an enumerator).

Specified by:
getSelectedItem in interface ISxContentsView
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSelectedItem

public void setSelectedItem(java.lang.Object item)
                     throws java.io.IOException,
                            AutomationException
The selected item (could be an enumerator).

Specified by:
setSelectedItem in interface ISxContentsView
Parameters:
item - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addToSelectedItems

public void addToSelectedItems(java.lang.Object item)
                        throws java.io.IOException,
                               AutomationException
Adds to the selected items.

Specified by:
addToSelectedItems in interface ISxContentsView
Parameters:
item - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeFromSelectedItems

public void removeFromSelectedItems(java.lang.Object item)
                             throws java.io.IOException,
                                    AutomationException
Removes an item from the selected items.

Specified by:
removeFromSelectedItems in interface ISxContentsView
Parameters:
item - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getContextItem

public java.lang.Object getContextItem()
                                throws java.io.IOException,
                                       AutomationException
The context item (could be an enumerator).

Specified by:
getContextItem in interface ISxContentsView
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setContextItem

public void setContextItem(java.lang.Object item)
                    throws java.io.IOException,
                           AutomationException
The context item (could be an enumerator).

Specified by:
setContextItem in interface ISxContentsView
Parameters:
item - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isShowLines

public boolean isShowLines()
                    throws java.io.IOException,
                           AutomationException
Indicates whether to show lines in the TOC tree.

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

setShowLines

public void setShowLines(boolean show)
                  throws java.io.IOException,
                         AutomationException
Indicates whether to show lines in the TOC tree.

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

isVisible

public boolean isVisible()
                  throws java.io.IOException,
                         AutomationException
Indicates if the view is visible.

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

setVisible

public void setVisible(boolean vis)
                throws java.io.IOException,
                       AutomationException
Indicates if the view is visible.

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

setProcessEvents

public void setProcessEvents(boolean rhs1)
                      throws java.io.IOException,
                             AutomationException
Indicates whether the view is currently responding to events.

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