|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.schematic.NgNodeOnLink
public class NgNodeOnLink
Graphic node-on-link object.
| Constructor Summary | |
|---|---|
NgNodeOnLink(Object obj)
Construct a NgNodeOnLink using a reference to such an object returned from ArcGIS Engine or Server. |
|
| Method Summary | |
|---|---|
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 node effect 'effect' (see esriNgNodeEffect). |
INgDiagram |
getDiagram()
Diagram that contains the node. |
Object |
getEffect(int effect)
Returns the effect 'effect' set for the node (see esriNgNodeEffect). |
INgElementType |
getElementType()
Element type that implements the node. |
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. |
INgLinks |
getIncidentLinks(int endPointType)
Returns the list of the node's incident links. |
double |
getInitialPosition()
Initial position of the node-on-link related to its reference link. |
double |
getInitialRotation()
Initial rotation angle of the node. |
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 node. |
boolean |
getPortPosition(INgView view,
int numPort,
int type,
INgPoint[] point)
Returns the position 'point' of the port 'numPort', of type 'type' (see esriNgPortType) associated with the node in the view 'view'. |
int |
getPositioningMode()
Positioning mode of the node-on-link. |
double |
getPositionOnLink()
Current position of the node-on-link related to its reference link. |
Object |
getPropertyValue(INgProperty prop)
Returns the value of the 'prop' property for the element. |
INgLink |
getReferenceLink()
The link the 'node-on-link' node-on-link is related to. |
int |
getType()
Type of the element type. |
Object |
getUserDataValue(INgUserData userData)
Returns the value of the 'userData' userdata for the element. |
double |
getX()
X Cartesian coordinate of the node. |
double |
getY()
Y Cartesian coordinate of the node. |
int |
hashCode()
the hashcode for this object |
INgPoint |
INgNode_getInitialPosition()
Initial position of the node. |
boolean |
isEffectSet(int effect)
Indicates if the effect 'effect' related to the node is set (see esriNgNodeEffect). |
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 |
move(double x,
double y,
int computeMode,
int moveMode)
Moves the node to the (X,Y) relative or absolute position. |
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 |
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 |
removeEffect(int effect)
Removes the effect or restores the default effect 'effect' set for the node (see esriNgNodeEffect). |
void |
removeSubSymbolEffect(String subName,
int effect)
Removes the effect 'effect' set for the sub-symbol named 'subName' that composes the symbol used to represent the node (see esriNgSubSymbolEffect). |
void |
restoreInitialPosition(int modeIfNotSet,
int modeIfSet)
Restores the node to its initially defined position. |
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 node (see esriNgNodeEffect). |
void |
setInitialPosition(double pVal)
Initial position of the node-on-link related to its reference link. |
void |
setInitialPosition(INgPoint pVal)
Initial position of the node. |
void |
setInitialRotation(double pVal)
Initial rotation angle of the node. |
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 |
setPositionOnLink(double pVal)
Current position of the node-on-link related to its reference link. |
void |
setPropertyValue(INgProperty prop,
Object propertyValue)
Modifies the value of the 'prop' property for the element. |
void |
setSubSymbolEffect(String subName,
int effect,
Object effValue)
Sets the effect 'effect' for the sub-symbol named 'subName' that composes the symbol used to represent the node (see esriNgSubSymbolEffect). |
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 NgNodeOnLink(Object obj)
throws IOException
obj to NgNodeOnLink. *
NgNodeOnLink o = (NgNodeOnLink)obj; // will not work
NgNodeOnLink o = new NgNodeOnLink(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException - if there are interop problems
NgNodeOnLink theNgNodeOnLink = (NgNodeOnLink) obj;| Method Detail |
|---|
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public INgLink getReferenceLink()
throws IOException,
AutomationException
getReferenceLink in interface INgNodeOnLinkIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getPositioningMode()
throws IOException,
AutomationException
getPositioningMode in interface INgNodeOnLinkIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgNodeOnLink.getPositionOnLink()
public double getPositionOnLink()
throws IOException,
AutomationException
getPositionOnLink in interface INgNodeOnLinkIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgNodeOnLink.getInitialPosition(),
INgNodeOnLink.getPositioningMode()
public void setPositionOnLink(double pVal)
throws IOException,
AutomationException
setPositionOnLink in interface INgNodeOnLinkpVal - The pVal (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getInitialPosition()
throws IOException,
AutomationException
getInitialPosition in interface INgNodeOnLinkIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgNodeOnLink.getPositionOnLink()
public void setInitialPosition(double pVal)
throws IOException,
AutomationException
setInitialPosition in interface INgNodeOnLinkpVal - The pVal (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INgElementType getElementType()
throws IOException,
AutomationException
getElementType in interface INgElementgetElementType in interface INgNodeIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getName()
throws IOException,
AutomationException
This name is defined when the node is created:
- either by triggering the INgDiagram CreateNode method or INgProjectEvents NameOfDigitNode event in the code,
- or when the node element type is created through ArcGIS Schematics Designer.
getName in interface INgElementgetName in interface INgNodeIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getX()
throws IOException,
AutomationException
getX in interface INgNodeIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getY()
throws IOException,
AutomationException
getY in interface INgNodeIOException - 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 INgNodeIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void move(double x,
double y,
int computeMode,
int moveMode)
throws IOException,
AutomationException
The values taken by the moveMode parameter are detailed in esriNgMoveMode
The default value for moveMode is esriNgAbsoluteMove, which means that, by default, the node is moved to the (X,Y) absolute position.
Moving the node causes the connected links to be recomputed. The computeMode parameter tells Schematics how these links are to be redrawn (see esriNgComputeLinkPointMode list).
By default, link points are kept, which means that the default computeMode parameter is esriNgKeepLinkPoints
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 INgNode:Move 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).
move in interface INgNodex - The x (in)y - The y (in)computeMode - A com.esri.arcgis.schematic.esriNgComputeLinkPointMode constant (in, optional, pass 2059 if not required)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.INgProjectEvents.onMoveElements(com.esri.arcgis.schematic.INgProjectEventsOnMoveElementsEvent)
public INgLinks getIncidentLinks(int endPointType)
throws IOException,
AutomationException
The endPointType parameter is used to specify whether you want to obtain:
- A list of the links having that node as origin node only (endPointType = esriNgOriginNode),
- A list of the links having that node as end node only (endPointType=esriNgExtremityNode),
- A list of all the links that are incident to the node (endPointType=esriNgOriginAndExtremityNode).
getIncidentLinks in interface INgNodeendPointType - A com.esri.arcgis.schematic.esriNgEndPoint constant (in, optional, pass -1 if not required)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgDiagram
public Object getEffect(int effect)
throws IOException,
AutomationException
Only the effects set by calling the SetEffect method on the INgNode 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 element type effects or the properties effects related to the link.
getEffect in interface INgNodeeffect - A com.esri.arcgis.schematic.esriNgNodeEffect constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgNode.setEffect(int, java.lang.Object),
INgNode.getCurrentEffect(int),
INgNode.isEffectSet(int),
INgNode.removeEffect(int)
public void setEffect(int effect,
Object effValue)
throws IOException,
AutomationException
setEffect in interface INgNodeeffect - A com.esri.arcgis.schematic.esriNgNodeEffect constant (in)effValue - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgNode.getEffect(int),
INgNode.getCurrentEffect(int),
INgNode.isEffectSet(int),
INgNode.removeEffect(int)
public void removeEffect(int effect)
throws IOException,
AutomationException
Note that when removing an effect that is always set, the node default effect value is automatically restored; and removing an effect that is not set by default, really removes the node effect.
removeEffect in interface INgNodeeffect - A com.esri.arcgis.schematic.esriNgNodeEffect constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgNode.setEffect(int, java.lang.Object),
INgNode.getEffect(int),
INgNode.getCurrentEffect(int),
INgNode.isEffectSet(int)
public boolean isEffectSet(int effect)
throws IOException,
AutomationException
By default, Schematics automatically sets default values for some node effects (see the List of default node effects, 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 INgNode SetEffect method in the project.
Note that even if the IsEffectSet method returns False for a given effect (for example, esriNgNodeXScaling), the GetCurrentEffect method can returns a value! GetCurrentEffect returns the current effect positioned for the node. This effect cans have been set:
- Either when the associated element type effects have been defined,
- Or when the graphic effects for its related properties have been defined.
List of the default node effect values
esriNgNodeDetectability: esriNgDetectable.
esriNgNodeHighlightedState: esriNgNotHighlighted
esriNgNodeMobility: esriNgMovable.
esriNgNodePriority: 201 or more
esriNgNodeResizability: esriNgResizable
esriNgNodeSelectability: esriNgSelectable
esriNgNodeVisibility: esriNgVisible
For more details, see Node Effects Constants Definition.
isEffectSet in interface INgNodeeffect - A com.esri.arcgis.schematic.esriNgNodeEffect constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgNode.setEffect(int, java.lang.Object),
INgNode.getEffect(int),
INgNode.getCurrentEffect(int),
INgNode.removeEffect(int)
public void setSubSymbolEffect(String subName,
int effect,
Object effValue)
throws IOException,
AutomationException
setSubSymbolEffect in interface INgNodesubName - The subName (in)effect - A com.esri.arcgis.schematic.esriNgSubSymbolEffect constant (in)effValue - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgNode,
INgNode.removeSubSymbolEffect(String, int)
public void removeSubSymbolEffect(String subName,
int effect)
throws IOException,
AutomationException
removeSubSymbolEffect in interface INgNodesubName - The subName (in)effect - A com.esri.arcgis.schematic.esriNgSubSymbolEffect constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgNode,
INgNode.setSubSymbolEffect(String, int, java.lang.Object)
public boolean getPortPosition(INgView view,
int numPort,
int type,
INgPoint[] point)
throws IOException,
AutomationException
getPortPosition in interface INgNodeview - A reference to a com.esri.arcgis.schematic.INgView (in)numPort - The numPort (in)type - A com.esri.arcgis.schematic.esriNgPortType constant (in)point - A reference to a com.esri.arcgis.schematic.INgPoint (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INgPoint INgNode_getInitialPosition()
throws IOException,
AutomationException
INgNode_getInitialPosition in interface INgNodeIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setInitialPosition(INgPoint pVal)
throws IOException,
AutomationException
setInitialPosition in interface INgNodepVal - 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 double getInitialRotation()
throws IOException,
AutomationException
getInitialRotation in interface INgNodeIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setInitialRotation(double pVal)
throws IOException,
AutomationException
setInitialRotation in interface INgNodepVal - The pVal (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void restoreInitialPosition(int modeIfNotSet,
int modeIfSet)
throws IOException,
AutomationException
If the node was positioned using its database coordinates, the modelfSet parameter must be specified so that its position is modified and the modelfNotSet parameter can be ignored.
If the node was positioned without using its database coordinates, then the modelfNotSet parameter must be specified and the modelfSet parameter can be ignored.
At all events,
- The esriNgDB parameter value causes the node to be repositioned based on its database coordinate values (if modeIfSet is used) or to be placed on the 0, 0 coordinate value position (if modeIfNotSet is used).
- The esriNgCenter parameter value causes the node to be relocated on a position averaging the current position of the neighboring elements (modeIfSet case or modeIfNotSet case)
- The esriNgNothing parameter value does not cause the node to be relocated (modeIfSet case or modeIfNotSet case). The node retains its current position.
restoreInitialPosition in interface INgNodemodeIfNotSet - A com.esri.arcgis.schematic.esriNgInitialPositionMode constant (in, optional, pass 0 if not required)modeIfSet - A com.esri.arcgis.schematic.esriNgInitialPositionMode constant (in, optional, pass 0 if not required)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgDiagram.restoreInitialPosition(int, int),
INgNode.setInitialPosition(com.esri.arcgis.schematic.INgPoint)
public Object getCurrentEffect(int effect)
throws IOException,
AutomationException
Current effect set for a node can come from its associated element type effects definition, its related properties effects definition, its own effects definition.
getCurrentEffect in interface INgNodeeffect - A com.esri.arcgis.schematic.esriNgNodeEffect constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.INgNode.setEffect(int, java.lang.Object),
INgNode.getEffect(int),
INgNode.isEffectSet(int),
INgNode.removeEffect(int)
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 | ||||||||