|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.interop.Dispatch
com.esri.arcgis.editor.IShapeConstructorProxy
public class IShapeConstructorProxy
Provides access to a Shape Constructor to be hosted by tools that build sketches.
| Field Summary | |
|---|---|
boolean |
noncastable
|
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
|---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
| Constructor Summary | |
|---|---|
|
IShapeConstructorProxy()
|
|
IShapeConstructorProxy(Object obj)
|
protected |
IShapeConstructorProxy(Object obj,
String iid)
|
| Method Summary | |
|---|---|
void |
activate()
Prepares a shape constructor to begin receiving events. |
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
void |
addPoint(IPoint point,
boolean esri_clone,
boolean allowUndo)
Adds a point to the sketch. |
void |
deactivate()
Resets a shape constructor. |
IPoint |
getAnchor()
The anchor of the sketch. |
double |
getAngleConstraint()
The sketch's angular constraint. |
int |
getConstraint()
The sketch constraint. |
int |
getCursor()
The mouse pointer for this constructor. |
double |
getDistanceConstraint()
The sketch's distance constraint. |
String |
getID()
Name string identifying this shape constructor. |
IPoint |
getLocation()
The current location of the mouse. |
void |
initialize(IEditor pEditor)
Initializes a newly constructed shape constructor. |
boolean |
isActive()
Indicates whether the constructor is currently active. |
boolean |
isEnabled()
Indicates whether the constructor is enabled. |
boolean |
isStreaming()
Indicates whether stream mode digitizing is enabled. |
boolean |
onContextMenu(int x,
int y)
Context menu event occured at the given xy location. |
void |
onKeyDown(int keyState,
int shift)
Occurs when a key on the keyboard is pressed when this constructor is active. |
void |
onKeyUp(int keyState,
int shift)
Occurs when a key on the keyboard is released when this constructor is active. |
void |
onMouseDown(int button,
int shift,
int x,
int y)
Occurs when a mouse button is pressed when this constructor is active. |
void |
onMouseMove(int button,
int shift,
int x,
int y)
Occurs when the mouse is moved when this constructor is active. |
void |
onMouseUp(int button,
int shift,
int x,
int y)
Occurs when a mouse button is released when this constructor is active. |
void |
refresh(int hdc)
Occurs when a screen display in the application is refreshed. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
setAngleConstraint(double val)
The sketch's angular constraint. |
void |
setConstraint(int constraint)
The sketch constraint. |
void |
setDistanceConstraint(double val)
The sketch's distance constraint. |
void |
setIsStreaming(boolean isStreaming)
Indicates whether stream mode digitizing is enabled. |
void |
sketchModified()
Called when Sketch is modified. |
| 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 |
|---|
public boolean noncastable
| Constructor Detail |
|---|
public IShapeConstructorProxy()
public IShapeConstructorProxy(Object obj)
throws IOException
IOException
protected IShapeConstructorProxy(Object obj,
String iid)
throws IOException
IOException| Method Detail |
|---|
public void addListener(String iidStr,
Object theListener,
Object theSource)
throws IOException
addListener in class com.esri.arcgis.interop.DispatchIOException
public void removeListener(String iidStr,
Object theListener)
throws IOException
removeListener in class com.esri.arcgis.interop.DispatchIOException
public void initialize(IEditor pEditor)
throws IOException,
AutomationException
initialize in interface IShapeConstructorpEditor - A reference to a com.esri.arcgis.editor.IEditor (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getID()
throws IOException,
AutomationException
getID in interface IShapeConstructorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isEnabled()
throws IOException,
AutomationException
isEnabled in interface IShapeConstructorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void activate()
throws IOException,
AutomationException
activate in interface IShapeConstructorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deactivate()
throws IOException,
AutomationException
deactivate in interface IShapeConstructorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isActive()
throws IOException,
AutomationException
isActive in interface IShapeConstructorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void onMouseDown(int button,
int shift,
int x,
int y)
throws IOException,
AutomationException
onMouseDown in interface IShapeConstructorbutton - The button (in)shift - The shift (in)x - The x (in)y - The y (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void onMouseMove(int button,
int shift,
int x,
int y)
throws IOException,
AutomationException
onMouseMove in interface IShapeConstructorbutton - The button (in)shift - The shift (in)x - The x (in)y - The y (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void onMouseUp(int button,
int shift,
int x,
int y)
throws IOException,
AutomationException
onMouseUp in interface IShapeConstructorbutton - The button (in)shift - The shift (in)x - The x (in)y - The y (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void onKeyDown(int keyState,
int shift)
throws IOException,
AutomationException
onKeyDown in interface IShapeConstructorkeyState - The keyState (in)shift - The shift (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void onKeyUp(int keyState,
int shift)
throws IOException,
AutomationException
onKeyUp in interface IShapeConstructorkeyState - The keyState (in)shift - The shift (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean onContextMenu(int x,
int y)
throws IOException,
AutomationException
onContextMenu in interface IShapeConstructorx - The x (in)y - The y (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void refresh(int hdc)
throws IOException,
AutomationException
refresh in interface IShapeConstructorhdc - The hdc (A COM typedef) (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getCursor()
throws IOException,
AutomationException
getCursor in interface IShapeConstructorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPoint getAnchor()
throws IOException,
AutomationException
getAnchor in interface IShapeConstructorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPoint getLocation()
throws IOException,
AutomationException
getLocation in interface IShapeConstructorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getConstraint()
throws IOException,
AutomationException
getConstraint in interface IShapeConstructorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setConstraint(int constraint)
throws IOException,
AutomationException
setConstraint in interface IShapeConstructorconstraint - A com.esri.arcgis.editor.esriSketchConstraint constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getAngleConstraint()
throws IOException,
AutomationException
getAngleConstraint in interface IShapeConstructorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAngleConstraint(double val)
throws IOException,
AutomationException
setAngleConstraint in interface IShapeConstructorval - The val (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getDistanceConstraint()
throws IOException,
AutomationException
getDistanceConstraint in interface IShapeConstructorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDistanceConstraint(double val)
throws IOException,
AutomationException
setDistanceConstraint in interface IShapeConstructorval - The val (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isStreaming()
throws IOException,
AutomationException
isStreaming in interface IShapeConstructorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setIsStreaming(boolean isStreaming)
throws IOException,
AutomationException
setIsStreaming in interface IShapeConstructorisStreaming - The isStreaming (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addPoint(IPoint point,
boolean esri_clone,
boolean allowUndo)
throws IOException,
AutomationException
addPoint in interface IShapeConstructorpoint - A reference to a com.esri.arcgis.geometry.IPoint (in)esri_clone - The esri_clone (in)allowUndo - The allowUndo (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void sketchModified()
throws IOException,
AutomationException
sketchModified in interface IShapeConstructorIOException - 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 | ||||||||