|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.arcmapui.TOCDisplayView
public class TOCDisplayView
COM Class 'TOCDisplayView'. Generated 3/19/2015 1:20:50 PM from 'C:\ArcGIS\COM\esriArcMapUI.olb'
Description 'Esri TOC Display View.' 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.arcmapui.IContentsView |
---|
IID, IIDfddb19ef_cb6f_11d2_9f38_00c04f6bc78e, xxDummy |
Fields inherited from interface com.esri.arcgis.systemUI.IComPropertySheetEvents |
---|
IID, IID6b7b57f8_5765_11d0_92d9_00805f7c28b0, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.IActiveViewEvents |
---|
IID, IIDe79c5940_52dd_11d0_98be_00805f7ced21, xxDummy |
Fields inherited from interface com.esri.arcgis.system.IPersist |
---|
IID, IID0000010c_0000_0000_c000_000000000046, xxDummy |
Fields inherited from interface com.esri.arcgis.arcmapui.IContentsViewSelection |
---|
IID, IID30be80a5_6158_4b49_9077_61024ce6f746, xxDummy |
Constructor Summary | |
---|---|
TOCDisplayView()
Constructs a TOCDisplayView using ArcGIS Engine. |
|
TOCDisplayView(java.lang.Object obj)
Construct a TOCDisplayView using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
void |
activate(int parentHWnd,
IMxDocument document)
Activates the contents view. |
void |
addToSelectedItems(java.lang.Object item)
Adds to the selected items. |
void |
afterDraw(IActiveViewEventsAfterDrawEvent theEvent)
Fired after the specified phase is drawn. |
void |
afterItemDraw(IActiveViewEventsAfterItemDrawEvent theEvent)
Fired after an individual view item is drawn. |
void |
contentsChanged(IActiveViewEventsContentsChangedEvent theEvent)
Fired when the contents of the view changes. |
void |
contentsCleared(IActiveViewEventsContentsClearedEvent theEvent)
Fired when the contents of the view is cleared. |
void |
deactivate()
Deactivates the contents view. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
void |
focusMapChanged(IActiveViewEventsFocusMapChangedEvent theEvent)
Fired when a new map is made active. |
void |
getClassID(GUID[] pClassID)
getClassID |
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). |
ISet |
getSelectedItems()
Selection set containing the highlighted items in contents view. |
int |
hashCode()
the hashcode for this object |
boolean |
isShowLines()
Indicates if lines are shown in the TOC tree. |
boolean |
isVisible()
Indicates if the view is visible. |
void |
itemAdded(IActiveViewEventsItemAddedEvent theEvent)
Fired when an item is added to the view. |
void |
itemDeleted(IActiveViewEventsItemDeletedEvent theEvent)
Fired when an item is deleted from the view. |
void |
itemReordered(IActiveViewEventsItemReorderedEvent theEvent)
Fired when a view item is reordered. |
void |
onApply(IComPropertySheetEventsOnApplyEvent theEvent)
Occurs when changes are applied. |
void |
refresh(java.lang.Object item)
Refreshes the contents view. |
void |
release()
Release a TOCDisplayView. |
void |
removeFromSelectedItems(java.lang.Object item)
Removes an item from the selected items. |
void |
selectionChanged(IActiveViewEventsSelectionChangedEvent theEvent)
Call this function to fire the selection changed event. |
void |
setContextItem(java.lang.Object item)
The context item (could be an enumerator). |
void |
setProcessEvents(boolean rhs1)
Indicates if the view is currently responding to events. |
void |
setSelectedItem(java.lang.Object item)
The selected item (could be an enumerator). |
void |
setSelectedItems(ISet selection)
Selection set containing the highlighted items in contents view. |
void |
setShowLines(boolean show)
Indicates if lines are shown in the TOC tree. |
void |
setVisible(boolean vis)
Indicates if the view is visible. |
void |
spatialReferenceChanged(IActiveViewEventsSpatialReferenceChangedEvent theEvent)
Fired when the spatial reference is changed. |
void |
viewRefreshed(IActiveViewEventsViewRefreshedEvent theEvent)
Fired when view is refreshed before draw happens. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TOCDisplayView() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic TOCDisplayView(java.lang.Object obj) throws java.io.IOException
obj
to TOCDisplayView
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problems
TOCDisplayView theTOCDisplayView = (TOCDisplayView) obj;
Method Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public java.lang.String getName() throws java.io.IOException, AutomationException
getName
in interface IContentsView
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 IContentsView
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void activate(int parentHWnd, IMxDocument document) throws java.io.IOException, AutomationException
activate
in interface IContentsView
parentHWnd
- The parentHWnd (A COM typedef) (in)document
- A reference to a com.esri.arcgis.arcmapui.IMxDocument (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deactivate() throws java.io.IOException, AutomationException
deactivate
in interface IContentsView
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void refresh(java.lang.Object item) throws java.io.IOException, AutomationException
refresh
in interface IContentsView
item
- A Variant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getSelectedItem() throws java.io.IOException, AutomationException
getSelectedItem
in interface IContentsView
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSelectedItem(java.lang.Object item) throws java.io.IOException, AutomationException
setSelectedItem
in interface IContentsView
item
- A Variant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addToSelectedItems(java.lang.Object item) throws java.io.IOException, AutomationException
addToSelectedItems
in interface IContentsView
item
- A Variant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeFromSelectedItems(java.lang.Object item) throws java.io.IOException, AutomationException
removeFromSelectedItems
in interface IContentsView
item
- A Variant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getContextItem() throws java.io.IOException, AutomationException
getContextItem
in interface IContentsView
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setContextItem(java.lang.Object item) throws java.io.IOException, AutomationException
setContextItem
in interface IContentsView
item
- A Variant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isShowLines() throws java.io.IOException, AutomationException
isShowLines
in interface IContentsView
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setShowLines(boolean show) throws java.io.IOException, AutomationException
setShowLines
in interface IContentsView
show
- The show (in)
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 IContentsView
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setVisible(boolean vis) throws java.io.IOException, AutomationException
setVisible
in interface IContentsView
vis
- The vis (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setProcessEvents(boolean rhs1) throws java.io.IOException, AutomationException
setProcessEvents
in interface IContentsView
rhs1
- The rhs1 (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onApply(IComPropertySheetEventsOnApplyEvent theEvent) throws java.io.IOException, AutomationException
onApply
in interface IComPropertySheetEvents
theEvent
- The event
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void contentsChanged(IActiveViewEventsContentsChangedEvent theEvent) throws java.io.IOException, AutomationException
contentsChanged
in interface IActiveViewEvents
theEvent
- The event
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void contentsCleared(IActiveViewEventsContentsClearedEvent theEvent) throws java.io.IOException, AutomationException
contentsCleared
in interface IActiveViewEvents
theEvent
- The event
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void itemAdded(IActiveViewEventsItemAddedEvent theEvent) throws java.io.IOException, AutomationException
itemAdded
in interface IActiveViewEvents
theEvent
- The event
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void itemDeleted(IActiveViewEventsItemDeletedEvent theEvent) throws java.io.IOException, AutomationException
itemDeleted
in interface IActiveViewEvents
theEvent
- The event
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void itemReordered(IActiveViewEventsItemReorderedEvent theEvent) throws java.io.IOException, AutomationException
itemReordered
in interface IActiveViewEvents
theEvent
- The event
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void selectionChanged(IActiveViewEventsSelectionChangedEvent theEvent) throws java.io.IOException, AutomationException
selectionChanged
in interface IActiveViewEvents
theEvent
- The event
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void viewRefreshed(IActiveViewEventsViewRefreshedEvent theEvent) throws java.io.IOException, AutomationException
viewRefreshed
in interface IActiveViewEvents
theEvent
- The event
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void afterDraw(IActiveViewEventsAfterDrawEvent theEvent) throws java.io.IOException, AutomationException
afterDraw
in interface IActiveViewEvents
theEvent
- The event
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void afterItemDraw(IActiveViewEventsAfterItemDrawEvent theEvent) throws java.io.IOException, AutomationException
afterItemDraw
in interface IActiveViewEvents
theEvent
- The event
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void focusMapChanged(IActiveViewEventsFocusMapChangedEvent theEvent) throws java.io.IOException, AutomationException
focusMapChanged
in interface IActiveViewEvents
theEvent
- The event
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void spatialReferenceChanged(IActiveViewEventsSpatialReferenceChangedEvent theEvent) throws java.io.IOException, AutomationException
spatialReferenceChanged
in interface IActiveViewEvents
theEvent
- The event
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 ISet getSelectedItems() throws java.io.IOException, AutomationException
getSelectedItems
in interface IContentsViewSelection
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSelectedItems(ISet selection) throws java.io.IOException, AutomationException
setSelectedItems
in interface IContentsViewSelection
selection
- A reference to a com.esri.arcgis.system.ISet (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 |