|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.editor.PointConstructor
public class PointConstructor
COM Class 'PointConstructor'. Generated 3/19/2015 1:20:50 PM from 'C:\ArcGIS\COM\esriEditor.olb'
Description 'Constructor for adding a point to a point/multipoint sketch geometry.' 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.editor.IShapeConstructor |
|---|
IID, IID14a69cae_fea8_4b8d_a5b4_03ecbedd11b6, xxDummy |
| Constructor Summary | |
|---|---|
PointConstructor()
Constructs a PointConstructor using ArcGIS Engine. |
|
PointConstructor(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. PointConstructor thePointConstructor = (PointConstructor) obj; |
|
| Method Summary | |
|---|---|
void |
activate()
Prepares a shape constructor to begin receiving events. |
void |
addPoint(IPoint point,
boolean esri_clone,
boolean allowUndo)
Adds a point to the sketch. |
void |
deactivate()
Resets a shape constructor. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
IPoint |
getAnchor()
The anchor of the sketch. |
double |
getAngleConstraint()
The sketch's angular constraint. |
static java.lang.String |
getClsid()
getClsid. |
int |
getConstraint()
The sketch constraint. |
int |
getCursor()
The mouse pointer for this constructor. |
double |
getDistanceConstraint()
The sketch's distance constraint. |
java.lang.String |
getID()
Name string identifying this shape constructor. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
IPoint |
getLocation()
The current location of the mouse. |
int |
hashCode()
the hashcode for this object |
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 |
release()
Release a PointConstructor. |
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 java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PointConstructor()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems
public PointConstructor(java.lang.Object obj)
throws java.io.IOException
PointConstructor thePointConstructor = (PointConstructor) obj;
obj to PointConstructor.
obj - an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems| Method Detail |
|---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRef
public void initialize(IEditor pEditor)
throws java.io.IOException,
AutomationException
initialize in interface IShapeConstructorpEditor - A reference to a com.esri.arcgis.editor.IEditor (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getID()
throws java.io.IOException,
AutomationException
getID in interface IShapeConstructorjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isEnabled()
throws java.io.IOException,
AutomationException
isEnabled in interface IShapeConstructorjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void activate()
throws java.io.IOException,
AutomationException
activate in interface IShapeConstructorjava.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 IShapeConstructorjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isActive()
throws java.io.IOException,
AutomationException
isActive in interface IShapeConstructorjava.io.IOException - 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 java.io.IOException,
AutomationException
onMouseDown in interface IShapeConstructorbutton - The button (in)shift - The shift (in)x - The x (in)y - The y (in)
java.io.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 java.io.IOException,
AutomationException
onMouseMove in interface IShapeConstructorbutton - The button (in)shift - The shift (in)x - The x (in)y - The y (in)
java.io.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 java.io.IOException,
AutomationException
onMouseUp in interface IShapeConstructorbutton - The button (in)shift - The shift (in)x - The x (in)y - The y (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void onKeyDown(int keyState,
int shift)
throws java.io.IOException,
AutomationException
onKeyDown in interface IShapeConstructorkeyState - The keyState (in)shift - The shift (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void onKeyUp(int keyState,
int shift)
throws java.io.IOException,
AutomationException
onKeyUp in interface IShapeConstructorkeyState - The keyState (in)shift - The shift (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean onContextMenu(int x,
int y)
throws java.io.IOException,
AutomationException
onContextMenu in interface IShapeConstructorx - The x (in)y - The y (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void refresh(int hdc)
throws java.io.IOException,
AutomationException
refresh in interface IShapeConstructorhdc - The hdc (A COM typedef) (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getCursor()
throws java.io.IOException,
AutomationException
getCursor in interface IShapeConstructorjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPoint getAnchor()
throws java.io.IOException,
AutomationException
getAnchor in interface IShapeConstructorjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPoint getLocation()
throws java.io.IOException,
AutomationException
getLocation in interface IShapeConstructorjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getConstraint()
throws java.io.IOException,
AutomationException
getConstraint in interface IShapeConstructorjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setConstraint(int constraint)
throws java.io.IOException,
AutomationException
setConstraint in interface IShapeConstructorconstraint - A com.esri.arcgis.editor.esriSketchConstraint constant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getAngleConstraint()
throws java.io.IOException,
AutomationException
getAngleConstraint in interface IShapeConstructorjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAngleConstraint(double val)
throws java.io.IOException,
AutomationException
setAngleConstraint in interface IShapeConstructorval - The val (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getDistanceConstraint()
throws java.io.IOException,
AutomationException
getDistanceConstraint in interface IShapeConstructorjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDistanceConstraint(double val)
throws java.io.IOException,
AutomationException
setDistanceConstraint in interface IShapeConstructorval - The val (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isStreaming()
throws java.io.IOException,
AutomationException
isStreaming in interface IShapeConstructorjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setIsStreaming(boolean isStreaming)
throws java.io.IOException,
AutomationException
setIsStreaming in interface IShapeConstructorisStreaming - The isStreaming (in)
java.io.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 java.io.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)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void sketchModified()
throws java.io.IOException,
AutomationException
sketchModified in interface IShapeConstructorjava.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 | ||||||||