|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.schematic.NgLink
public class NgLink
Graphic link object.
| Constructor Summary | |
|---|---|
NgLink(Object obj)
Construct a NgLink using a reference to such an object returned from ArcGIS Engine or Server. |
|
| Method Summary | |
|---|---|
void |
addPatternModel(INgPatternModel patternModel)
Adds the pattern model 'patternModel' on the link. |
void |
addPoint(int numPoint,
INgPoint point)
Adds the link point 'numPoint' (that is, adds the vertex 'numpoint') at the position 'point' on the link. |
void |
center()
Centers the element in all the views where it displays while redrawing it. |
INgFlag |
createFlag(INgFlagModel flagModel,
int mode,
int poleVisibility)
Creates a flag based on the flag model 'flagModel' for the element. |
void |
deleteUserData(INgUserData userData)
Deletes the userdata value for the element. |
void |
display(boolean redraw)
Displays the element in all the views it must appear while redrawing it. |
boolean |
equals(Object o)
Compare this object with another |
String |
getAttributeValue(String attributeName)
Returns the value of the attribute named 'attributeName' for the element. |
Object |
getCurrentEffect(int effect)
Returns the current 'effValue' value for the effect 'effect' set for the link (see esriNgLinkEffect). |
INgPatternModels |
getCurrentPatternModels()
List of the pattern models currently associated with the link. |
INgDiagram |
getDiagram()
Diagram that contains the link. |
Object |
getEffect(int effect)
Returns the effect 'effect' set for the link (see esriNgLinkEffect). |
INgElementType |
getElementType()
Element type that implements the link. |
INgFlag |
getFlag(INgFlagModel flagModel)
Returns the flag based on the flag model 'flagModel' that is currently attached to the element. |
INgFlags |
getFlags()
List of the flags attached to the element. |
INgNode |
getFromNode()
Origin node of the link. |
INgPoint |
getFromPoint(INgView view)
Point position where the link connects its origin node, if a port is not specified for the connection. |
int |
getFromPort()
Sequence number of the origin node port onto which the link snaps if a port is used for the connection. |
INgPoints |
getInitialPoints()
List of the intermediate points that initially defined the link path. |
INgPoints |
getLabelBoundingBox(INgView view,
INgProperty prop)
Returns the label bounding box of the 'prop' property associated with the element in the view 'view'. |
Object |
getLabelEffect(INgProperty prop,
int effect)
Returns the value of the effect 'effect' set for the label of the 'prop' property associated with the element. |
INgPoint |
getLabelPosition(INgView view,
INgProperty prop)
Returns the point defining the position of the 'prop' property label for the element in the view 'view'. |
String |
getName()
Name of the link. |
INgNodes |
getNodesOnLink()
List of the nodes-on-link related to the link. |
int |
getNumberOfPoints()
Number of intermediate points (vertices) along the link path. |
int |
getNumSegmentAtPoint(INgView view,
INgPoint point)
Returns the sequence number of the link's segment located at the position 'point' in the view 'view'. |
INgPatternModels |
getPatternModels()
List of the pattern models directly associated with the link. |
INgPoints |
getPoints(INgView view)
List of the intermediate points (vertices) that defines the link path (in the view 'view'). |
Object |
getPropertyValue(INgProperty prop)
Returns the value of the 'prop' property for the element. |
INgLinks |
getSubLinks()
List of the sub-links related to the link. |
INgNode |
getToNode()
End node of the link. |
INgPoint |
getToPoint(INgView view)
Point position where the link connects its end node, if a port is not specified for the connection. |
int |
getToPort()
Sequence number of the end node port onto which the link snaps if a port is used for the connection. |
int |
getType()
Type of the element type. |
Object |
getUserDataValue(INgUserData userData)
Returns the value of the 'userData' userdata for the element. |
int |
hashCode()
the hashcode for this object |
boolean |
isEffectSet(int effect)
Indicates if the effect 'effect' related to the link is set (see esriNgLinkEffect). |
boolean |
isLabelEffectSet(INgProperty prop,
int effect)
Indicates if the effect 'effect' defined for the label of the 'prop' property associated with the element is set. |
boolean |
isLabelMoved(INgProperty prop)
Indicates if the label of the 'prop' property associated with the element has been moved. |
boolean |
isSelected()
Indicates if the element is selected. |
void |
moveLabel(INgProperty prop,
double x,
double y,
int mode)
Moves the label of the 'prop' property associated with the element to the (X,Y) relative or absolute position. |
void |
movePoint(int numPoint,
double x,
double y,
int moveMode)
Moves the link point 'numPoint' at the relative or absolute (x,y) position. |
void |
refresh(boolean redraw)
Updates the element in all the views where it appears, and redraws it while reflecting the modifications it may have undergone in the database. |
void |
remove(boolean redraw)
Removes graphically the element in all the views where it appears and redraws it, after the application has removed the associated object from the database. |
void |
removeAllPoints()
Removes all of the link points (that is, all vertices) on the link. |
void |
removeEffect(int effect)
Removes the effect or restores the default effect 'effect' set for the link (see esriNgLinkEffect). |
void |
removePatternModel(INgPatternModel patternModel)
Removes the pattern model 'patternModel' assigned to the link. |
void |
removePoint(int numPoint)
Removes the 'numPoint' link point (that is, removes the vertex 'numpoint') on the link. |
void |
restoreInitialPosition()
Restores the link to its initially defined position (that is, with or without its initially defined vertices). |
void |
select(boolean redraw)
Selects the element in all the views where it displays and redraws it. |
void |
setEffect(int effect,
Object effValue)
Modifies the effect 'effect' set for the link (see esriNgLinkEffect). |
void |
setFromNode(INgNode pVal)
Origin node of the link. |
void |
setFromPort(int pVal)
Sequence number of the origin node port onto which the link snaps if a port is used for the connection. |
void |
setInitialPoints(INgPoints pVal)
List of the intermediate points that initially defined the link path. |
void |
setLabelEffect(INgProperty prop,
int effect,
Object effValue)
Modifies the effect 'effect' set for the label of the 'prop' property associated with the element. |
void |
setPropertyValue(INgProperty prop,
Object propertyValue)
Modifies the value of the 'prop' property for the element. |
void |
setToNode(INgNode pVal)
End node of the link. |
void |
setToPort(int pVal)
Sequence number of the end node port onto which the link snaps if a port is used for the connection. |
void |
setUserDataValue(INgUserData userData,
Object userDataValue)
Modifies the value of the 'userData' userdata for the element. |
void |
undisplay(boolean redraw)
Removes graphically the element in all the views where it appears and redraws it. |
void |
unselect(boolean redraw)
Deselects the element in all the views where it displays and redraws it. |
void |
unsetLabelEffect(INgProperty prop,
int effect)
Unsets the effect 'effect' set for the label of the 'prop' property associated with the element. |
| 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 NgLink(Object obj)
throws IOException
obj to NgLink. *
NgLink o = (NgLink)obj; // will not work
NgLink o = new NgLink(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException - if there are interop problems
NgLink theNgLink = (NgLink) obj;| Method Detail |
|---|
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public INgElementType getElementType()
throws IOException,
AutomationException
getElementType in interface INgElementgetElementType in interface INgLinkIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getName()
throws IOException,
AutomationException
This name has been defined when the link has been created:
- Either by triggering the INgDiagram CreateLink method or INgProjectEvents NameOfDigitLink event in the project code,
- Or, when its related link element type has been defined through ArcGIS Schematics Designer.
getName in interface INgElementgetName in interface INgLinkIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INgDiagram getDiagram()
throws IOException,
AutomationException
getDiagram in interface INgElementgetDiagram in interface INgLinkIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INgNode getFromNode()
throws IOException,
AutomationException
getFromNode in interface INgLinkIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgLink.getFromPoint(com.esri.arcgis.schematic.INgView),
INgLink.getFromPort(),
INgLink.getToNode()
public void setFromNode(INgNode pVal)
throws IOException,
AutomationException
setFromNode in interface INgLinkpVal - A reference to a com.esri.arcgis.schematic.INgNode (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INgNode getToNode()
throws IOException,
AutomationException
getToNode in interface INgLinkIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgLink.getFromNode(),
INgLink.getToPort(),
INgLink.getToPoint(com.esri.arcgis.schematic.INgView)
public void setToNode(INgNode pVal)
throws IOException,
AutomationException
setToNode in interface INgLinkpVal - A reference to a com.esri.arcgis.schematic.INgNode (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getFromPort()
throws IOException,
AutomationException
getFromPort in interface INgLinkIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgLink.getFromPoint(com.esri.arcgis.schematic.INgView),
INgLink.getFromNode(),
INgLink.getToPort()
public void setFromPort(int pVal)
throws IOException,
AutomationException
setFromPort in interface INgLinkpVal - The pVal (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getToPort()
throws IOException,
AutomationException
getToPort in interface INgLinkIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgLink.getFromPort(),
INgLink.getToNode(),
INgLink.getToPoint(com.esri.arcgis.schematic.INgView)
public void setToPort(int pVal)
throws IOException,
AutomationException
setToPort in interface INgLinkpVal - The pVal (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INgPoints getPoints(INgView view)
throws IOException,
AutomationException
getPoints in interface INgLinkview - A reference to a com.esri.arcgis.schematic.INgView (in, optional, pass 0 if not required)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getNumberOfPoints()
throws IOException,
AutomationException
getNumberOfPoints in interface INgLinkIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgLink.removePoint(int),
INgLink.getInitialPoints(),
INgLink.getPoints(com.esri.arcgis.schematic.INgView),
INgLink.addPoint(int, com.esri.arcgis.schematic.INgPoint)
public INgPoint getFromPoint(INgView view)
throws IOException,
AutomationException
getFromPoint in interface INgLinkview - A reference to a com.esri.arcgis.schematic.INgView (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INgPoint getToPoint(INgView view)
throws IOException,
AutomationException
getToPoint in interface INgLinkview - A reference to a com.esri.arcgis.schematic.INgView (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addPoint(int numPoint,
INgPoint point)
throws IOException,
AutomationException
addPoint in interface INgLinknumPoint - The numPoint (in)point - A reference to a com.esri.arcgis.schematic.INgPoint (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgLink.removePoint(int),
INgLink.movePoint(int, double, double, int)
public void removePoint(int numPoint)
throws IOException,
AutomationException
removePoint in interface INgLinknumPoint - The numPoint (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgLink.removeAllPoints(),
INgLink.movePoint(int, double, double, int),
INgLink.addPoint(int, com.esri.arcgis.schematic.INgPoint)
public void removeAllPoints()
throws IOException,
AutomationException
removeAllPoints in interface INgLinkIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgLink.removePoint(int),
INgLink.movePoint(int, double, double, int),
INgLink.addPoint(int, com.esri.arcgis.schematic.INgPoint)
public Object getEffect(int effect)
throws IOException,
AutomationException
Only the effects set by calling the SetEffect method on the INgLink interface in the project code will be returned when using the GetEffect method. If the GetEffect method returns no value, the GetCurrentEffect method can return a value. The effect returned in this case can have been set either when defining the related element type effects or the properties effects related to the link.
getEffect in interface INgLinkeffect - A com.esri.arcgis.schematic.esriNgLinkEffect constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgLink.getCurrentEffect(int),
INgLink.removeEffect(int),
INgLink.setEffect(int, java.lang.Object),
INgLink.isEffectSet(int)
public void setEffect(int effect,
Object effValue)
throws IOException,
AutomationException
setEffect in interface INgLinkeffect - A com.esri.arcgis.schematic.esriNgLinkEffect constant (in)effValue - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgLink.getCurrentEffect(int),
INgLink.removeEffect(int),
INgLink.getEffect(int),
INgLink.isEffectSet(int)
public void removeEffect(int effect)
throws IOException,
AutomationException
Note that when removing an effect that is always set the link default effect value is automatically restored; and removing an effect that is not set by default, really removes the link effect.
removeEffect in interface INgLinkeffect - A com.esri.arcgis.schematic.esriNgLinkEffect constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgLink.getCurrentEffect(int),
INgLink.setEffect(int, java.lang.Object),
INgLink.getEffect(int),
INgLink.isEffectSet(int)
public boolean isEffectSet(int effect)
throws IOException,
AutomationException
By default, Schematics automatically sets default values for some link effects (see the List of the default link 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 function returns True only if the effect was set by calling the INgLink SetEffect method in the project.
Note that if the IsEffectSet method returns False for a given effect (for example, esriNgLineColor), the GetEffect method returns no value BUT the GetCurrentEffect method can return a value! Indeed, the GetCurrentEffect method can return the link effect that come either from its related element type effects definition or from its related properties effects definition.
List of the default link effect values
esriNgLinkArrowMode: esriNgNoArrow
esriNgLinkDetectability: esriNgDetectable.
esriNgLinkHighlightedState: esriNgNotHighlighted
esriNgLinkMobility: esriNgMovable.
esriNgLinkPriority: 101 or more
esriNgLinkSelectability: esriNgSelectable
esriNgLinkVisibility: esriNgVisible
For more details, see the Link Effects Constants Definition.
isEffectSet in interface INgLinkeffect - A com.esri.arcgis.schematic.esriNgLinkEffect constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgLink.getCurrentEffect(int),
INgLink.removeEffect(int),
INgLink.setEffect(int, java.lang.Object),
INgLink.getEffect(int)
public INgPoints getInitialPoints()
throws IOException,
AutomationException
getInitialPoints in interface INgLinkIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgLink.getNumberOfPoints(),
INgLink.getPoints(com.esri.arcgis.schematic.INgView)
public void setInitialPoints(INgPoints pVal)
throws IOException,
AutomationException
setInitialPoints in interface INgLinkpVal - A reference to a com.esri.arcgis.schematic.INgPoints (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void restoreInitialPosition()
throws IOException,
AutomationException
These intermediate points (if they exist) are those stored in the InitialPoints link property
restoreInitialPosition in interface INgLinkIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgDiagram.restoreInitialPosition(int, int)
public INgPatternModels getPatternModels()
throws IOException,
AutomationException
getPatternModels in interface INgLinkIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgProject.getPatternModels(),
INgElementType.getPatternModels(),
INgLink
public void addPatternModel(INgPatternModel patternModel)
throws IOException,
AutomationException
This pattern model must have already been created. Note that if you want to display each link element of a specific element type with patterns, you can directly use INgElementType AddPatternModel method on the associated link element type.
addPatternModel in interface INgLinkpatternModel - A reference to a com.esri.arcgis.schematic.INgPatternModel (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgElementType.addPatternModel(com.esri.arcgis.schematic.INgPatternModel),
INgLink.removePatternModel(com.esri.arcgis.schematic.INgPatternModel)
public void removePatternModel(INgPatternModel patternModel)
throws IOException,
AutomationException
removePatternModel in interface INgLinkpatternModel - A reference to a com.esri.arcgis.schematic.INgPatternModel (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgPatternModel.delete(),
INgLink.addPatternModel(com.esri.arcgis.schematic.INgPatternModel)
public Object getCurrentEffect(int effect)
throws IOException,
AutomationException
Current effect set for a link can come from its associated element type effects definition, its related properties effects definition, its own effects definition.
getCurrentEffect in interface INgLinkeffect - A com.esri.arcgis.schematic.esriNgLinkEffect constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgLink.removeEffect(int),
INgLink.setEffect(int, java.lang.Object),
INgLink.getEffect(int),
INgLink.isEffectSet(int)
public int getNumSegmentAtPoint(INgView view,
INgPoint point)
throws IOException,
AutomationException
At least, one segment composes a link. Links with N intermediate points are composed with (N+1) segments. Segment numbering runs from 1 to N, from the origin to the extremity of the link.
getNumSegmentAtPoint in interface INgLinkview - A reference to a com.esri.arcgis.schematic.INgView (in)point - A reference to a com.esri.arcgis.schematic.INgPoint (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INgNodes getNodesOnLink()
throws IOException,
AutomationException
getNodesOnLink in interface INgLinkIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INgLinks getSubLinks()
throws IOException,
AutomationException
getSubLinks in interface INgLinkIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void movePoint(int numPoint,
double x,
double y,
int moveMode)
throws IOException,
AutomationException
If there are schematic relations between schematics objects contained in a schematic diagram, it’s the developer responsibility to call the appropriate ISchematicRelationController or ISchematicRelationManager methods for the related objects as the containers to be automatically redrawn when he uses the INgLink:MovePoint method. Please also note that programming the relations redraw on the INgProjectEvents::OnMoveElements or ISchematicRelationControllerEvent::OnMoveElements events will be completely unuseful because these events are only triggered when schematic elements are moved using the GUI tools; that is when end-users move schematic elements using the mouse or the keyboard arrows. So when elements are moved by programming using any "Move" method, the custom code specified on these events will be not fired. In this case, you must either force the redraw at the end of the move operations sequences in your custom procedure or customize the SchematicAlgorithmEvents::AfterExecuteAlgorithm event (when the "Move" methods are called during a custom algorithm).
movePoint in interface INgLinknumPoint - The numPoint (in)x - 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.INgLink.removePoint(int),
INgLink.addPoint(int, com.esri.arcgis.schematic.INgPoint)
public INgPatternModels getCurrentPatternModels()
throws IOException,
AutomationException
getCurrentPatternModels in interface INgLinkIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getType()
throws IOException,
AutomationException
getType in interface INgElementIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INgFlags getFlags()
throws IOException,
AutomationException
getFlags in interface INgElementIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void unselect(boolean redraw)
throws IOException,
AutomationException
The 'redraw' parameter is optional; its default value is True.
unselect in interface INgElementredraw - The redraw (in, optional, pass true if not required)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgElement.isSelected(),
INgElement.select(boolean)
public void center()
throws IOException,
AutomationException
center in interface INgElementIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void select(boolean redraw)
throws IOException,
AutomationException
The Redraw parameter is optional; its default value is TRUE.
select in interface INgElementredraw - The redraw (in, optional, pass true if not required)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgElement.isSelected(),
INgElement.unselect(boolean)
public void refresh(boolean redraw)
throws IOException,
AutomationException
The 'redraw' parameter is optional; its default value is True.
refresh in interface INgElementredraw - The redraw (in, optional, pass true if not required)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgElement.display(boolean)
public void undisplay(boolean redraw)
throws IOException,
AutomationException
By default, this method also redraws the element: the default value for the optional ‘redraw’ parameter is TRUE.
undisplay in interface INgElementredraw - The redraw (in, optional, pass true if not required)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgElement.remove(boolean)
public void display(boolean redraw)
throws IOException,
AutomationException
The Redraw parameter is optional; its default value is TRUE.
display in interface INgElementredraw - The redraw (in, optional, pass true if not required)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgElement.refresh(boolean)
public void remove(boolean redraw)
throws IOException,
AutomationException
The default value for the optional redraw parameter is True.
When this method is triggered, the IsElementRemoved event is automatically fired: the graphic removal is effective only if the event-procedure returns True.
remove in interface INgElementredraw - The redraw (in, optional, pass true if not required)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgElement.undisplay(boolean)
public INgFlag createFlag(INgFlagModel flagModel,
int mode,
int poleVisibility)
throws IOException,
AutomationException
The flag created is based on the flagModel flag model and is connected to the element using the esriNgStandard or esriNgShortest mode (see esriNgFlagAttachementMode help-page). The pole connecting the flag to the element can be visible or invisible (see esriNgVisibility help-page).
The flagModel INgFlagModel interface can have been defined through ArcGIS Schematics Designer or in the project code by calling the INgProjectBuilder CreateFlagModel method.
If you want to display each element of a specific type with a flag, you can directly use INgElementType AddFlagModel method.
createFlag in interface INgElementflagModel - A reference to a com.esri.arcgis.schematic.INgFlagModel (in)mode - A com.esri.arcgis.schematic.esriNgFlagAttachementMode constant (in, optional, pass 2056 if not required)poleVisibility - A com.esri.arcgis.schematic.esriNgVisibility constant (in, optional, pass 1 if not required)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgElement.getFlag(com.esri.arcgis.schematic.INgFlagModel)
public INgFlag getFlag(INgFlagModel flagModel)
throws IOException,
AutomationException
getFlag in interface INgElementflagModel - A reference to a com.esri.arcgis.schematic.INgFlagModel (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgElement.createFlag(com.esri.arcgis.schematic.INgFlagModel, int, int)
public Object getPropertyValue(INgProperty prop)
throws IOException,
AutomationException
getPropertyValue in interface INgElementprop - A reference to a com.esri.arcgis.schematic.INgProperty (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgElement.getAttributeValue(String),
INgElement.getUserDataValue(com.esri.arcgis.schematic.INgUserData)
public void setPropertyValue(INgProperty prop,
Object propertyValue)
throws IOException,
AutomationException
setPropertyValue in interface INgElementprop - A reference to a com.esri.arcgis.schematic.INgProperty (in)propertyValue - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgElement.setUserDataValue(com.esri.arcgis.schematic.INgUserData, java.lang.Object)
public Object getUserDataValue(INgUserData userData)
throws IOException,
AutomationException
getUserDataValue in interface INgElementuserData - A reference to a com.esri.arcgis.schematic.INgUserData (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgElement.getPropertyValue(com.esri.arcgis.schematic.INgProperty),
INgElement.getAttributeValue(String)
public void setUserDataValue(INgUserData userData,
Object userDataValue)
throws IOException,
AutomationException
setUserDataValue in interface INgElementuserData - A reference to a com.esri.arcgis.schematic.INgUserData (in)userDataValue - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgElement.setPropertyValue(com.esri.arcgis.schematic.INgProperty, java.lang.Object)
public void setLabelEffect(INgProperty prop,
int effect,
Object effValue)
throws IOException,
AutomationException
setLabelEffect in interface INgElementprop - A reference to a com.esri.arcgis.schematic.INgProperty (in)effect - A com.esri.arcgis.schematic.esriNgLabelEffect constant (in)effValue - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgElement.getLabelEffect(com.esri.arcgis.schematic.INgProperty, int),
INgElement.unsetLabelEffect(com.esri.arcgis.schematic.INgProperty, int)
public Object getLabelEffect(INgProperty prop,
int effect)
throws IOException,
AutomationException
getLabelEffect in interface INgElementprop - A reference to a com.esri.arcgis.schematic.INgProperty (in)effect - A com.esri.arcgis.schematic.esriNgLabelEffect constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgElement.setLabelEffect(com.esri.arcgis.schematic.INgProperty, int, java.lang.Object),
INgElement.unsetLabelEffect(com.esri.arcgis.schematic.INgProperty, int)
public INgPoint getLabelPosition(INgView view,
INgProperty prop)
throws IOException,
AutomationException
getLabelPosition in interface INgElementview - A reference to a com.esri.arcgis.schematic.INgView (in)prop - A reference to a com.esri.arcgis.schematic.INgProperty (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgElement.moveLabel(com.esri.arcgis.schematic.INgProperty, double, double, int)
public void moveLabel(INgProperty prop,
double x,
double y,
int mode)
throws IOException,
AutomationException
Whether that move is relative or absolute depends on the value taken by the 'mode' parameter (see esriNgMoveMode help-page).
moveLabel in interface INgElementprop - A reference to a com.esri.arcgis.schematic.INgProperty (in)x - The x (in)y - The y (in)mode - A com.esri.arcgis.schematic.esriNgMoveMode constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgElement.isLabelMoved(com.esri.arcgis.schematic.INgProperty),
INgElement.getLabelPosition(com.esri.arcgis.schematic.INgView, com.esri.arcgis.schematic.INgProperty)
public boolean isSelected()
throws IOException,
AutomationException
isSelected in interface INgElementIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgElement.unselect(boolean),
INgElement.select(boolean)
public String getAttributeValue(String attributeName)
throws IOException,
AutomationException
getAttributeValue in interface INgElementattributeName - The attributeName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgElement.getPropertyValue(com.esri.arcgis.schematic.INgProperty),
INgElement.getUserDataValue(com.esri.arcgis.schematic.INgUserData)
public boolean isLabelEffectSet(INgProperty prop,
int effect)
throws IOException,
AutomationException
isLabelEffectSet in interface INgElementprop - A reference to a com.esri.arcgis.schematic.INgProperty (in)effect - A com.esri.arcgis.schematic.esriNgLabelEffect constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgElement.unsetLabelEffect(com.esri.arcgis.schematic.INgProperty, int)
public void unsetLabelEffect(INgProperty prop,
int effect)
throws IOException,
AutomationException
unsetLabelEffect in interface INgElementprop - A reference to a com.esri.arcgis.schematic.INgProperty (in)effect - A com.esri.arcgis.schematic.esriNgLabelEffect constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INgPoints getLabelBoundingBox(INgView view,
INgProperty prop)
throws IOException,
AutomationException
getLabelBoundingBox in interface INgElementview - A reference to a com.esri.arcgis.schematic.INgView (in)prop - A reference to a com.esri.arcgis.schematic.INgProperty (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deleteUserData(INgUserData userData)
throws IOException,
AutomationException
deleteUserData in interface INgElementuserData - A reference to a com.esri.arcgis.schematic.INgUserData (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isLabelMoved(INgProperty prop)
throws IOException,
AutomationException
isLabelMoved in interface INgElementprop - A reference to a com.esri.arcgis.schematic.INgProperty (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 | ||||||||