| org.netbeans.test.umllib.DrawingAreaOperator
DrawingAreaOperator | public class DrawingAreaOperator extends ComponentOperator implements Actionable(Code) | | This is operator for diagram drawing area.
(Drawing area is the area under toolbar where
diagram elements and links are located ).
This operator extends ComponentOperator
so look carefully on inherited methods
|
DrawingAreaOperator | public DrawingAreaOperator(ADGraphWindow area)(Code) | | Constructs new DrawingAreaOperator using instance of
ADGraphWindow.
Parameters: area - instance of ADGraphWindow. |
addToSelection | public void addToSelection()(Code) | | |
centerAtPoint | public Point centerAtPoint(Point point)(Code) | | centers at the device point specified and returns the new device coordinates of the point specified
Parameters: point - device point to center at the new device coordinates of the point specified |
clickMouse | public void clickMouse()(Code) | | click in empty space somewhere
|
clickMouse | public void clickMouse(int x, int y, int count, boolean movetovisible)(Code) | | Parameters: x - Parameters: y - Parameters: count - Parameters: movetovisible - |
getArea | public ADGraphWindow getArea()(Code) | | Returns underlying ADGraphWindow
underlying ADGraphWindow |
getFreePoint | public Point getFreePoint()(Code) | | Return free point. You may use such point
to place an element or invoke popup menu
free point |
getFreePoint | public Point getFreePoint(int span)(Code) | | Return free point. the nearest element would be not closer than
span points.
You may use such point to place an element or invoke popup menu
Parameters: span - Minimal distance to the nearest element free point |
getPopup | public JPopupMenuOperator getPopup()(Code) | | Invokes popup menu
popup menu operator |
getSolidEdge | public Point getSolidEdge(Point startPoint, int step_x, int step_y, Color edgeClr)(Code) | | helps to find lines/points on diagram differs from surrounding area
works only for visible area
Parameters: startPoint - Parameters: step_x - Parameters: step_y - Parameters: edgeClr - should be null for auto |
getZoomLevel | public double getZoomLevel()(Code) | | Returns underlying ADGraphWindow ZoomLevel
double |
isFreePoint | boolean isFreePoint(Point point)(Code) | | Parameters: point - |
relativeToScreenPoint | public Point relativeToScreenPoint(Point p)(Code) | | Parameters: p - |
select | public void select()(Code) | | |
|
|