| java.lang.Object org.netbeans.test.umllib.LinkOperator
All known Subclasses: org.netbeans.test.umllib.customelements.MessageOperator,
LinkOperator | public class LinkOperator implements Actionable(Code) | | This is operator for a link beween diagram elements.
Using it you can perform various operations on link.
author: Alexei Mokeev |
Inner Class :public static class LinkByElementsChooser implements LinkChooser | |
Inner Class :public static class LinkByTypeChooser implements LinkChooser | |
Inner Class :public static class LinkComparator implements Comparator<C> | |
Method Summary | |
public void | addToSelection() | public void | center() | public void | center(boolean selectIt, boolean deselectOthers) | public boolean | equals(Object obj) | public static LinkOperator | findLink(DiagramElementOperator source, DiagramElementOperator destination, LinkChooser linkChooser, int index) find link with certain order (i.e. | public List | getBends() | public DiagramOperator | getDiagramOperator() | public IETGraphObject | getFrom() | public DiagramLabelOperator | getLabel(String text, int index, boolean exact, boolean caseSensitive) | public DiagramLabelOperator | getLabel(String text, int index) | public DiagramLabelOperator | getLabel(String text) | public ArrayList<DiagramLabelOperator> | getLabels() | public String[] | getLabelsTexts() | public String | getName() | public Point | getNearCenterPoint() | public Point | getNearCenterPointWithoutOverlayCheck() | public Point | getNearSourcePoint() | public Point | getNearSourcePoint(int edgeShift) | public Point | getNearTargetPoint() | public Point | getNearTargetPoint(int edgeShift) | public JPopupMenuOperator | getPopup() | public IETEdge | getSource() | public IETGraphObject | getTo() | public String | getType() | public boolean | hasBends() | public boolean | isSelected() | public Point | makeVisible(Point point) gets point that belongs to a link and centers on it. | public void | select() | public String | toString() | public static LinkOperator | waitForLink(DiagramElementOperator source, DiagramElementOperator destination) | public static LinkOperator | waitForLink(DiagramElementOperator source, DiagramElementOperator destination, LinkTypes linkType) | public static LinkOperator | waitForLink(DiagramElementOperator source, DiagramElementOperator destination, LinkTypes linkType, int index) | public static LinkOperator | waitForLink(DiagramElementOperator source, DiagramElementOperator destination, LinkChooser linkChooser) | public static LinkOperator | waitForLink(DiagramElementOperator source, DiagramElementOperator destination, LinkChooser linkChooser, int index) | public static LinkOperator | waitForLink(DiagramElementOperator source, DiagramElementOperator destination, LinkChooser linkChooser, int index, Waiter w) | public static LinkOperator | waitForUndirectedLink(DiagramElementOperator source, DiagramElementOperator destination, LinkTypes linkType) |
WAIT_LINK_TIMEOUT | final public static long WAIT_LINK_TIMEOUT(Code) | | |
addToSelection | public void addToSelection()(Code) | | |
center | public void center()(Code) | | |
center | public void center(boolean selectIt, boolean deselectOthers)(Code) | | Parameters: selectIt - Parameters: deselectOthers - |
equals | public boolean equals(Object obj)(Code) | | Parameters: obj - |
getLabel | public DiagramLabelOperator getLabel(String text, int index, boolean exact, boolean caseSensitive)(Code) | | Parameters: text - Parameters: index - Parameters: exact - Parameters: caseSensitive - |
getNearCenterPoint | public Point getNearCenterPoint()(Code) | | Point close to link center of close to last section center |
getNearCenterPointWithoutOverlayCheck | public Point getNearCenterPointWithoutOverlayCheck()(Code) | | Point close to link center of close to last section center |
getNearSourcePoint | public Point getNearSourcePoint()(Code) | | Point close to Source clipping point (with about 5points shift from the edge) |
getNearSourcePoint | public Point getNearSourcePoint(int edgeShift)(Code) | | Parameters: edgeShift - - shift in local point from edge Point close to Target clipping point (with about edgeShift points shift from the edge) |
getNearTargetPoint | public Point getNearTargetPoint()(Code) | | Point close to Target clipping point (with about 5points shift from the edge) |
getNearTargetPoint | public Point getNearTargetPoint(int edgeShift)(Code) | | Parameters: edgeShift - - shift in local point from edge Point close to Target clipping point (with about edgeShift points shift from the edge) |
getPopup | public JPopupMenuOperator getPopup()(Code) | | |
hasBends | public boolean hasBends()(Code) | | |
isSelected | public boolean isSelected()(Code) | | |
makeVisible | public Point makeVisible(Point point)(Code) | | gets point that belongs to a link and centers on it.
The updated device point is returned
Parameters: point - |
select | public void select()(Code) | | |
|
|