|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.editor.CreateFeatureDockWin
public class CreateFeatureDockWin
Esri create features window.
Field Summary |
---|
Fields inherited from interface com.esri.arcgis.framework.IDockableWindowDef |
---|
IID, IID3d1fa10a_f154_11d3_a67e_0008c7df97b9, xxDummy |
Fields inherited from interface com.esri.arcgis.framework.IDockableWindowImageDef |
---|
IID, IID08f4fc5d_c23f_4210_b289_1350ed5632ed, xxDummy |
Fields inherited from interface com.esri.arcgis.framework.IDockableWindowInitialPlacement |
---|
IID, IID1ec80980_7a02_426d_bd2b_c6d3beb2ed54, xxDummy |
Constructor Summary | |
---|---|
CreateFeatureDockWin()
Constructs a CreateFeatureDockWin using ArcGIS Engine. |
|
CreateFeatureDockWin(Object obj)
Construct a CreateFeatureDockWin using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
void |
afterDraw(IActiveViewEventsAfterDrawEvent theEvent)
Fired after the specified phase is drawn. |
void |
afterDrawSketch(IEditEventsAfterDrawSketchEvent theEvent)
Called after the edit sketch is drawn. |
void |
afterItemDraw(IActiveViewEventsAfterItemDrawEvent theEvent)
Fired after an individual view item is drawn. |
void |
beforeStopEditing(IEditEvents2BeforeStopEditingEvent theEvent)
Fired before StopEditing happens. |
void |
beforeStopOperation(IEditEvents2BeforeStopOperationEvent theEvent)
Called before StopOperation is called. |
boolean |
checkAccelerator(int vkey)
Return true if the framework should carry out the action associated with this virtual key. |
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. |
boolean |
equals(Object o)
Compare this object with another |
void |
focusMapChanged(IActiveViewEventsFocusMapChangedEvent theEvent)
Fired when a new map is made active. |
int |
getBitmap()
Provide a bitmap for dockviews |
String |
getCaption()
The caption of the dockable window. |
int |
getChildHWND()
The hWnd of the window to be embedded in a dockable window. |
static String |
getClsid()
getClsid. |
int |
getDockPosition()
DockPosition |
int |
getHeight()
Height |
String |
getName()
The name of the dockable window. |
IUID |
getNeighbor()
Neighbor |
Object |
getUserData()
User defined data. |
int |
getWidth()
Width |
int |
hashCode()
the hashcode for this object |
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 |
onAbort(IEditEvents2OnAbortEvent theEvent)
Called when AbortOperation is called. |
void |
onChangeFeature(IEditEventsOnChangeFeatureEvent theEvent)
Called when features are modified. |
void |
onConflictsDetected(IEditEventsOnConflictsDetectedEvent theEvent)
Called when editing conflicts are detected during save. |
void |
onCreate(Object hook)
Occurs when this dockable window is created and provides access to the application. |
void |
onCreateFeature(IEditEventsOnCreateFeatureEvent theEvent)
Called when new features are created. |
void |
onCurrentLayerChanged(IEditEventsOnCurrentLayerChangedEvent theEvent)
Called when the current layer changes. |
void |
onCurrentTaskChanged(IEditEventsOnCurrentTaskChangedEvent theEvent)
Called when the current task changes. |
void |
onCurrentZChanged(IEditEvents2OnCurrentZChangedEvent theEvent)
Called when the CurrentZ changes. |
void |
onDeleteFeature(IEditEventsOnDeleteFeatureEvent theEvent)
Called when features are deleted. |
void |
onDestroy()
Occurs when the docking window is about to be destroyed. |
void |
onRedo(IEditEventsOnRedoEvent theEvent)
Called when RedoOperation is called. |
void |
onSaveEdits(IEditEvents2OnSaveEditsEvent theEvent)
Called when edits are saved. |
void |
onSelectionChanged(IEditEventsOnSelectionChangedEvent theEvent)
Called when the selection changes. |
void |
onSketchFinished(IEditEventsOnSketchFinishedEvent theEvent)
Called when the edit sketch is finished. |
void |
onSketchModified(IEditEventsOnSketchModifiedEvent theEvent)
Called when the edit sketch is modified. |
void |
onStartEditing(IEditEventsOnStartEditingEvent theEvent)
Called when editing begins. |
void |
onStartOperation(IEditEvents2OnStartOperationEvent theEvent)
Called when StartOperation is called. |
void |
onStopEditing(IEditEventsOnStopEditingEvent theEvent)
Called when editing ends. |
void |
onStopOperation(IEditEvents2OnStopOperationEvent theEvent)
Called when StopOperation is called. |
void |
onUndo(IEditEventsOnUndoEvent theEvent)
Called when UndoOperation is called. |
void |
onVertexAdded(IEditEvents2OnVertexAddedEvent theEvent)
Called after a point/vertex is added to the sketch. |
void |
onVertexDeleted(IEditEvents2OnVertexDeletedEvent theEvent)
Called after a point is deleted from the sketch. |
void |
onVertexMoved(IEditEvents2OnVertexMovedEvent theEvent)
Called after a vertex/point has been moved in the sketch. |
void |
selectionChanged(IActiveViewEventsSelectionChangedEvent theEvent)
Call this function to fire the selection changed event. |
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 |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public CreateFeatureDockWin() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic CreateFeatureDockWin(Object obj) throws IOException
obj
to CreateFeatureDockWin
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
CreateFeatureDockWin theCreateFeatureDockWin = (CreateFeatureDockWin) obj;
Method Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void onCreate(Object hook) throws IOException, AutomationException
onCreate
in interface IDockableWindowDef
hook
- A reference to another Automation Object (IDispatch) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getChildHWND() throws IOException, AutomationException
getChildHWND
in interface IDockableWindowDef
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getName() throws IOException, AutomationException
getName
in interface IDockableWindowDef
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getCaption() throws IOException, AutomationException
getCaption
in interface IDockableWindowDef
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onDestroy() throws IOException, AutomationException
onDestroy
in interface IDockableWindowDef
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getUserData() throws IOException, AutomationException
getUserData
in interface IDockableWindowDef
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getBitmap() throws IOException, AutomationException
getBitmap
in interface IDockableWindowImageDef
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getHeight() throws IOException, AutomationException
getHeight
in interface IDockableWindowInitialPlacement
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getWidth() throws IOException, AutomationException
getWidth
in interface IDockableWindowInitialPlacement
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getDockPosition() throws IOException, AutomationException
getDockPosition
in interface IDockableWindowInitialPlacement
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IUID getNeighbor() throws IOException, AutomationException
getNeighbor
in interface IDockableWindowInitialPlacement
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 IActiveViewEvents
theEvent
- 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 IActiveViewEvents
theEvent
- 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 IActiveViewEvents
theEvent
- 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 IActiveViewEvents
theEvent
- 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 IActiveViewEvents
theEvent
- 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 IActiveViewEvents
theEvent
- 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 IActiveViewEvents
theEvent
- 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 IActiveViewEvents
theEvent
- 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 IActiveViewEvents
theEvent
- 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 IActiveViewEvents
theEvent
- 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 IActiveViewEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onSelectionChanged(IEditEventsOnSelectionChangedEvent theEvent) throws IOException, AutomationException
onSelectionChanged
in interface IEditEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onCurrentLayerChanged(IEditEventsOnCurrentLayerChangedEvent theEvent) throws IOException, AutomationException
onCurrentLayerChanged
in interface IEditEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onCurrentTaskChanged(IEditEventsOnCurrentTaskChangedEvent theEvent) throws IOException, AutomationException
onCurrentTaskChanged
in interface IEditEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onSketchModified(IEditEventsOnSketchModifiedEvent theEvent) throws IOException, AutomationException
onSketchModified
in interface IEditEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onSketchFinished(IEditEventsOnSketchFinishedEvent theEvent) throws IOException, AutomationException
onSketchFinished
in interface IEditEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void afterDrawSketch(IEditEventsAfterDrawSketchEvent theEvent) throws IOException, AutomationException
afterDrawSketch
in interface IEditEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onStartEditing(IEditEventsOnStartEditingEvent theEvent) throws IOException, AutomationException
onStartEditing
in interface IEditEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onStopEditing(IEditEventsOnStopEditingEvent theEvent) throws IOException, AutomationException
onStopEditing
in interface IEditEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onConflictsDetected(IEditEventsOnConflictsDetectedEvent theEvent) throws IOException, AutomationException
onConflictsDetected
in interface IEditEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onUndo(IEditEventsOnUndoEvent theEvent) throws IOException, AutomationException
onUndo
in interface IEditEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onRedo(IEditEventsOnRedoEvent theEvent) throws IOException, AutomationException
onRedo
in interface IEditEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onCreateFeature(IEditEventsOnCreateFeatureEvent theEvent) throws IOException, AutomationException
onCreateFeature
in interface IEditEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onChangeFeature(IEditEventsOnChangeFeatureEvent theEvent) throws IOException, AutomationException
onChangeFeature
in interface IEditEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onDeleteFeature(IEditEventsOnDeleteFeatureEvent theEvent) throws IOException, AutomationException
onDeleteFeature
in interface IEditEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onCurrentZChanged(IEditEvents2OnCurrentZChangedEvent theEvent) throws IOException, AutomationException
The OnCurrentZChanged event is fired when the value for IEditor::CurrentZ is modified. IEditor::CurrentZ can be altered programmatically or through the Current Z control available under the Editor category in the Customize dialog.
onCurrentZChanged
in interface IEditEvents2
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onVertexMoved(IEditEvents2OnVertexMovedEvent theEvent) throws IOException, AutomationException
OnVertexMoved is fired when the location of a vertex in the edit sketch is modified. If the an edit sketch vertex is modified programmatically, call IEditSketch2::VertexMoved to ensure all clients listening for this event are notified.
onVertexMoved
in interface IEditEvents2
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onVertexAdded(IEditEvents2OnVertexAddedEvent theEvent) throws IOException, AutomationException
When IEditSketch2::VertexAdded is called, all clients listening to IEditEvents2::OnVertexAdded are notified. This may be used to ensure the maximum number of points in a particular sketch is not exceeded, or if vertex attributes need to be set on each vertex when it is added to the edit sketch.
onVertexAdded
in interface IEditEvents2
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onVertexDeleted(IEditEvents2OnVertexDeletedEvent theEvent) throws IOException, AutomationException
When IEditSketch2::VertexDeleted is called, all clients listening to IEditEvents2::OnVertexDeleted are notified.
onVertexDeleted
in interface IEditEvents2
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void beforeStopEditing(IEditEvents2BeforeStopEditingEvent theEvent) throws IOException, AutomationException
The BeforeStopEditing event is called before edits are committed or discarded. Use this event to perform any processing of the features before the edits are committed.
beforeStopEditing
in interface IEditEvents2
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onAbort(IEditEvents2OnAbortEvent theEvent) throws IOException, AutomationException
OnAbort is called whenever an edit operation is aborted.
onAbort
in interface IEditEvents2
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onStartOperation(IEditEvents2OnStartOperationEvent theEvent) throws IOException, AutomationException
OnStartOperation is raised when IEditor::StartOperation is called. The OnStartOperation event is not fired for SketchOperations.
onStartOperation
in interface IEditEvents2
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void beforeStopOperation(IEditEvents2BeforeStopOperationEvent theEvent) throws IOException, AutomationException
BeforeStopOperation is called before the operation is finished (when the sketch is discarded). Use this event to manipulate the sketch geometry before it is committed.
beforeStopOperation
in interface IEditEvents2
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onStopOperation(IEditEvents2OnStopOperationEvent theEvent) throws IOException, AutomationException
OnStopOperation is called when the operation is successfully completed. At this point the feature has been created but the edit sketch is still available.
onStopOperation
in interface IEditEvents2
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onSaveEdits(IEditEvents2OnSaveEditsEvent theEvent) throws IOException, AutomationException
The OnSaveEdits event is fired whenever a user issues the Save Edits command in the Editor. This event is not raised when a user stops an edit session and chooses to save edits, or if IEditor::StopEditing is called.
onSaveEdits
in interface IEditEvents2
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean checkAccelerator(int vkey) throws IOException, AutomationException
checkAccelerator
in interface IAcceleratorHook
vkey
- The vkey (in)
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 |