|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.arcmapui.DataGraphWindow
public class DataGraphWindow
Window in hosting and displaying data graph.
| Constructor Summary | |
|---|---|
DataGraphWindow()
Constructs a DataGraphWindow using ArcGIS Engine. |
|
DataGraphWindow(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. DataGraphWindow theDataGraphWindow = (DataGraphWindow) obj; |
|
| Method Summary | |
|---|---|
void |
activeViewChanged(IDocumentEventsActiveViewChangedEvent theEvent)
Fired when the active view changes. |
void |
addIDataWindowEventsListener(IDataWindowEvents theListener)
addIDataWindowEventsListener. |
void |
afterDraw(IActiveViewEventsAfterDrawEvent theEvent)
Fired after the specified phase is drawn. |
void |
afterItemDraw(IActiveViewEventsAfterItemDrawEvent theEvent)
Fired after an individual view item is drawn. |
boolean |
beforeCloseDocument(IDocumentEventsBeforeCloseDocumentEvent theEvent)
Fired before a document is closed. |
void |
closeDocument(IDocumentEventsCloseDocumentEvent theEvent)
Fired when a document is closed. |
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 |
dataGraphAdded(IDataGraphCollectionEventsDataGraphAddedEvent theEvent)
Fired when the graph is added to document. |
void |
dataGraphRemoved(IDataGraphCollectionEventsDataGraphRemovedEvent theEvent)
Fired when the graph is removed from document. |
void |
dataGraphReset(IDataGraphCollectionEventsDataGraphResetEvent theEvent)
Fired when document removes all graphs. |
void |
dataGraphTChanged(IDataGraphTEventsDataGraphTChangedEvent theEvent)
Fired when graph changes. |
void |
dataGraphTDataSourceEventReceived(IDataGraphTEventsDataGraphTDataSourceEventReceivedEvent theEvent)
Fired when graph receives an event from its data source. |
void |
dataGraphTLoadingStatus(IDataGraphTEventsDataGraphTLoadingStatusEvent theEvent)
Fired when graph loading status changes. |
void |
displayTimeChanged(ITimeDisplayEventsDisplayTimeChangedEvent theEvent)
Notifies clients when display time changed. |
boolean |
equals(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 String |
getClsid()
getClsid. |
IDataGraphBase |
getDataGraphBase()
The window that uses data graph. |
int |
getHWnd()
The window's handle. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
int |
hashCode()
the hashcode for this object |
void |
isDirty()
isDirty |
boolean |
isDockable()
Indicates if the window is dockable. |
boolean |
isVisible()
Indicates if the window 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 |
load(IStream pstm)
load |
void |
mapsChanged(IDocumentEventsMapsChangedEvent theEvent)
Fired when a change is made to the map collection. |
void |
newDocument(IDocumentEventsNewDocumentEvent theEvent)
Fired when a new document is created. |
void |
onContextMenu(IDocumentEventsOnContextMenuEvent theEvent)
Indicates if a context menu should be displayed at the given xy location. |
void |
openDocument(IDocumentEventsOpenDocumentEvent theEvent)
Fired when a document is opened. |
void |
putPosition(int left,
int top,
int right,
int bottom)
The window's position in screen pixels. |
void |
queryPosition(int[] left,
int[] top,
int[] right,
int[] bottom)
The window's position in screen pixels. |
void |
readExternal(ObjectInput in)
|
void |
refresh()
Cause the window to redraw. |
void |
removeIDataWindowEventsListener(IDataWindowEvents theListener)
removeIDataWindowEventsListener. |
void |
save(IStream pstm,
int fClearDirty)
save |
void |
selectionChanged(IActiveViewEventsSelectionChangedEvent theEvent)
Call this function to fire the selection changed event. |
void |
setApplicationByRef(Object rhs1)
Provides the window with a reference to the application. |
void |
setDataGraphBaseByRef(IDataGraphBase ppDataGraphBase)
The window that uses data graph. |
void |
show(boolean show)
Indicates if the window is shown. |
void |
spatialReferenceChanged(IActiveViewEventsSpatialReferenceChangedEvent theEvent)
Fired when the spatial reference is changed. |
void |
viewRefreshed(IActiveViewEventsViewRefreshedEvent theEvent)
Fired when view is refreshed before draw happens. |
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public DataGraphWindow()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public DataGraphWindow(Object obj)
throws IOException
DataGraphWindow theDataGraphWindow = (DataGraphWindow) obj;
obj to DataGraphWindow.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public void addIDataWindowEventsListener(IDataWindowEvents theListener)
throws IOException
theListener - An object that implements the com.esri.arcgis.arcmapui.IDataWindowEvents interface.
IOException - If there are communications problems.
public void removeIDataWindowEventsListener(IDataWindowEvents theListener)
throws IOException
theListener - An object that implements the com.esri.arcgis.arcmapui.IDataWindowEvents interface.
IOException - If there are communications problems.
public IDataGraphBase getDataGraphBase()
throws IOException,
AutomationException
getDataGraphBase in interface IDataGraphWindow2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDataGraphBaseByRef(IDataGraphBase ppDataGraphBase)
throws IOException,
AutomationException
setDataGraphBaseByRef in interface IDataGraphWindow2ppDataGraphBase - A reference to a com.esri.arcgis.carto.IDataGraphBase (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setApplicationByRef(Object rhs1)
throws IOException,
AutomationException
setApplicationByRef in interface IDataWindowrhs1 - A reference to another Automation Object (IDispatch) (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getHWnd()
throws IOException,
AutomationException
getHWnd in interface IDataWindowIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void queryPosition(int[] left,
int[] top,
int[] right,
int[] bottom)
throws IOException,
AutomationException
queryPosition in interface IDataWindowleft - The left (out: use single element array)top - The top (out: use single element array)right - The right (out: use single element array)bottom - The bottom (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void putPosition(int left,
int top,
int right,
int bottom)
throws IOException,
AutomationException
putPosition in interface IDataWindowleft - The left (in)top - The top (in)right - The right (in)bottom - The bottom (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isVisible()
throws IOException,
AutomationException
isVisible in interface IDataWindowIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isDockable()
throws IOException,
AutomationException
isDockable in interface IDataWindowIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void show(boolean show)
throws IOException,
AutomationException
Show specifies whether the data window should be shown or hidden. Use True to show the window and False to hide the window.
show in interface IDataWindowshow - The show (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void refresh()
throws IOException,
AutomationException
refresh in interface IDataWindowIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void activeViewChanged(IDocumentEventsActiveViewChangedEvent theEvent)
throws IOException,
AutomationException
activeViewChanged in interface IDocumentEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void mapsChanged(IDocumentEventsMapsChangedEvent theEvent)
throws IOException,
AutomationException
mapsChanged in interface IDocumentEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void onContextMenu(IDocumentEventsOnContextMenuEvent theEvent)
throws IOException,
AutomationException
onContextMenu in interface IDocumentEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void newDocument(IDocumentEventsNewDocumentEvent theEvent)
throws IOException,
AutomationException
newDocument in interface IDocumentEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void openDocument(IDocumentEventsOpenDocumentEvent theEvent)
throws IOException,
AutomationException
openDocument in interface IDocumentEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean beforeCloseDocument(IDocumentEventsBeforeCloseDocumentEvent theEvent)
throws IOException,
AutomationException
beforeCloseDocument in interface IDocumentEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void closeDocument(IDocumentEventsCloseDocumentEvent theEvent)
throws IOException,
AutomationException
closeDocument in interface IDocumentEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void contentsChanged(IActiveViewEventsContentsChangedEvent theEvent)
throws IOException,
AutomationException
The Map object fires this event when a new document is loaded. Adding a new layer to a Map does not trigger this event.
The PageLayout object fires the event when IGraphicsContainer::DeleteAllElements in called and when a new document is loaded.
contentsChanged in interface IActiveViewEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.IActiveView.contentsChanged()
public void contentsCleared(IActiveViewEventsContentsClearedEvent theEvent)
throws IOException,
AutomationException
contentsCleared in interface IActiveViewEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void itemAdded(IActiveViewEventsItemAddedEvent theEvent)
throws IOException,
AutomationException
The Map fires the event every time a new layer is added.
The PageLayout fires this event whenever a new element is added to the layout. Elements include not only graphics but data frames as well.
itemAdded in interface IActiveViewEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void itemDeleted(IActiveViewEventsItemDeletedEvent theEvent)
throws IOException,
AutomationException
The PageLayout object fires this event whenever elements are deleted from the layout.
The Map object fires this event when a layer is removed.
itemDeleted in interface IActiveViewEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void itemReordered(IActiveViewEventsItemReorderedEvent theEvent)
throws IOException,
AutomationException
The Map objects only fire this event whenever IMap::MoveLayer is called. In the ArcMap application, this occurs when you reorder layers in the table of contents. The Map will also fire this event when new layers are added.
The PageLayout object fires this event when changing the order of graphics. For example, IGraphicsContainer::BringToFront, PutElementOrder, SendToBack, SendBackward, and BringForward all fire this event. These functions are on ArcMap's Drawing menu under the Order pull right menu. Although the Map object is also a graphics container, it does not fire this event when its graphics are reordered.
itemReordered in interface IActiveViewEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void selectionChanged(IActiveViewEventsSelectionChangedEvent theEvent)
throws IOException,
AutomationException
selectionChanged in interface IActiveViewEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void viewRefreshed(IActiveViewEventsViewRefreshedEvent theEvent)
throws IOException,
AutomationException
Method that gets fired in response to IActiveView::Refresh and IActiveView::PartialRefresh.
This event is useful in the case where you're watching for something to change in the view and there aren't any specific events for that change (e.g. ContentsChanged, ItemAdded). You can always listen for this method as a last resort. Care must be taken however to be very efficient in your implementation of this event because it will be called quite often.
The event parameters directly coincide with the arguments to IActiveView::PartialRefresh. For additional information about the arguments, see the help for that method.
If the event object connects to both the layout and a map, then the view parameter tells you which object initiated the event.
In an implementation of this method you typically want to check the phase and respond to only one. Otherwise, your code will execute multiple times per drawing sequence.
viewRefreshed in interface IActiveViewEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void afterDraw(IActiveViewEventsAfterDrawEvent theEvent)
throws IOException,
AutomationException
afterDraw in interface IActiveViewEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void afterItemDraw(IActiveViewEventsAfterItemDrawEvent theEvent)
throws IOException,
AutomationException
AfterItemDraw can be used to execute after each individual item has drawn. Event firing can be an expensive operation (time consuming) when there are many layers in a map, however. As a result, the AfterItemDraw event is only fired when the IViewManger::VerboseEvents property is set to True. By default this property is False.
afterItemDraw in interface IActiveViewEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void focusMapChanged(IActiveViewEventsFocusMapChangedEvent theEvent)
throws IOException,
AutomationException
focusMapChanged in interface IActiveViewEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void spatialReferenceChanged(IActiveViewEventsSpatialReferenceChangedEvent theEvent)
throws IOException,
AutomationException
spatialReferenceChanged in interface IActiveViewEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void isDirty()
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty in interface IPersistStreamIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void load(IStream pstm)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void save(IStream pstm,
int fClearDirty)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)fClearDirty - The fClearDirty (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax in interface IPersistStreampcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getClassID(GUID[] pClassID)
throws IOException,
AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void dataGraphAdded(IDataGraphCollectionEventsDataGraphAddedEvent theEvent)
throws IOException,
AutomationException
dataGraphAdded in interface IDataGraphCollectionEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void dataGraphRemoved(IDataGraphCollectionEventsDataGraphRemovedEvent theEvent)
throws IOException,
AutomationException
dataGraphRemoved in interface IDataGraphCollectionEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void dataGraphReset(IDataGraphCollectionEventsDataGraphResetEvent theEvent)
throws IOException,
AutomationException
dataGraphReset in interface IDataGraphCollectionEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void dataGraphTChanged(IDataGraphTEventsDataGraphTChangedEvent theEvent)
throws IOException,
AutomationException
dataGraphTChanged in interface IDataGraphTEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void dataGraphTDataSourceEventReceived(IDataGraphTEventsDataGraphTDataSourceEventReceivedEvent theEvent)
throws IOException,
AutomationException
dataGraphTDataSourceEventReceived in interface IDataGraphTEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void dataGraphTLoadingStatus(IDataGraphTEventsDataGraphTLoadingStatusEvent theEvent)
throws IOException,
AutomationException
dataGraphTLoadingStatus in interface IDataGraphTEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void displayTimeChanged(ITimeDisplayEventsDisplayTimeChangedEvent theEvent)
throws IOException,
AutomationException
displayTimeChanged in interface ITimeDisplayEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||