|
|||||||||
| 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.schematic.INgVectorImageProxy
public class INgVectorImageProxy
Provides access to members that control the vector image.
A vector image is a DXF format image placed in a view background.
INgRasterImage,
INgView.createVectorImage(String, String),
Serialized Form| Field Summary |
|---|
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
|---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E |
| Constructor Summary | |
|---|---|
|
INgVectorImageProxy()
|
|
INgVectorImageProxy(Object obj)
|
protected |
INgVectorImageProxy(Object obj,
String iid)
|
| Method Summary | |
|---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
void |
delete()
Removes the vector image. |
Object |
getEffect(int effect)
Returns the effect 'effect' set for the vector image (see esriNgVectorImageEffect). |
String |
getName()
Name of the vector image. |
INgView |
getView()
View the vector image is associated with. |
boolean |
isEffectSet(int effect)
Indicates if the effect 'effect' related to the vector image is set (see esriNgVectorImageEffect). |
void |
move(double x,
double y,
int moveMode)
Moves the vector image to the (x,y) relative or absolute position. |
void |
readExternal(ObjectInput in)
|
void |
removeEffect(int effect)
Restores the default effect 'effect' set for the vector image. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
setEffect(int effect,
Object effValue)
Modifies the effect 'effect' set for the vector image (see esriNgVectorImageEffect). |
void |
writeExternal(ObjectOutput out)
|
| 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, queryInterface, release, setNativeMode, setPropertyByName, toString, vtblInvoke |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public INgVectorImageProxy()
public INgVectorImageProxy(Object obj)
throws IOException
IOException
protected INgVectorImageProxy(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 INgView getView()
throws IOException,
AutomationException
This view is set when the vector image is created using the INgView CreateVectorImage method in the project code or when the predefined ViewVectorImages attribute for the diagram type related to this view has been defined.
getView in interface INgVectorImageIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgView.createVectorImage(String, String)
public String getName()
throws IOException,
AutomationException
It is the name given to the vector image when it is created.
getName in interface INgVectorImageIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object getEffect(int effect)
throws IOException,
AutomationException
getEffect in interface INgVectorImageeffect - A com.esri.arcgis.schematic.esriNgVectorImageEffect constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgVectorImage.isEffectSet(int),
INgVectorImage.removeEffect(int),
INgVectorImage.setEffect(int, java.lang.Object)
public void setEffect(int effect,
Object effValue)
throws IOException,
AutomationException
setEffect in interface INgVectorImageeffect - A com.esri.arcgis.schematic.esriNgVectorImageEffect constant (in)effValue - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgVectorImage.isEffectSet(int),
INgVectorImage.removeEffect(int),
INgVectorImage.getEffect(int)
public void removeEffect(int effect)
throws IOException,
AutomationException
Note that when removing an effect that is always set, the vector image default effect value is automatically restored; and removing an effect that is not set by default, really removes the vector image effect.
removeEffect in interface INgVectorImageeffect - A com.esri.arcgis.schematic.esriNgVectorImageEffect constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgVectorImage.isEffectSet(int),
INgVectorImage.setEffect(int, java.lang.Object),
INgVectorImage.getEffect(int)
public void delete()
throws IOException,
AutomationException
delete in interface INgVectorImageIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgVectorImage.move(double, double, int),
INgView.createVectorImage(String, String)
public void move(double x,
double y,
int moveMode)
throws IOException,
AutomationException
The values taken by the moveMode parameter are detailed in the esriNgMoveMode list.
The default value for moveMode is esriNgAbsoluteMove, which means that, by default, the background vector image is moved to the (X,Y) absolute position.
move in interface INgVectorImagex - The x (in)y - The y (in)moveMode - A com.esri.arcgis.schematic.esriNgMoveMode constant (in, optional, pass 2085 if not required)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgView.createVectorImage(String, String),
INgVectorImage.delete()
public boolean isEffectSet(int effect)
throws IOException,
AutomationException
By default, Schematics automatically sets default values for some vector image effects (see the List of the INgVectorImage default effects values, below). For all these effects, the IsEffectSet method returns True.
For the others effects (those that are not automatically set by default), the IsEffectSet method returns True only if the effect has been set by calling the SetEffect method in the project.
List of the INgVectorImage effect default values
esriNgVectorImageVisibility: esriNgVisible
esriNgVectorImagePriority: 0
For more details, see Vector Image Effects Definitions.
isEffectSet in interface INgVectorImageeffect - A com.esri.arcgis.schematic.esriNgVectorImageEffect constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgVectorImage.removeEffect(int),
INgVectorImage.setEffect(int, java.lang.Object),
INgVectorImage.getEffect(int)
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizablewriteExternal in class com.esri.arcgis.interop.DispatchIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class com.esri.arcgis.interop.DispatchIOException
ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||