|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.swtlayeredgraph.SmallCrossCursor
public class SmallCrossCursor
| Constructor Summary | |
|---|---|
SmallCrossCursor()
Default constructor |
|
SmallCrossCursor(java.lang.Double width,
java.lang.Double height,
int color,
int lineWidth,
CoordinateType type)
Builds a new graph cursor object in the shape of a cross. |
|
| Method Summary | |
|---|---|
void |
draw(GCTransformer transformer,
GraphPoint centerPoint)
Draws the cursor on the canvas with the specified center point. |
java.lang.Boolean |
isVisible()
Checks to see if cursor is visible. |
void |
setVisible(java.lang.Boolean visible)
Sets the visibility status of the cursor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SmallCrossCursor()
public SmallCrossCursor(java.lang.Double width,
java.lang.Double height,
int color,
int lineWidth,
CoordinateType type)
width - Width of cursor linesheight - Height of cursor linescolor - Color of cursor lineslineWidth - Width in pixels of the linestype - Coordinate system of width and height
java.lang.IllegalArgumentException - If width, height or type is null. If color < 0.| Method Detail |
|---|
public void draw(GCTransformer transformer,
GraphPoint centerPoint)
IGraphCursor
draw in interface IGraphCursortransformer - Transformer used to draw withcenterPoint - Center point of the cursorpublic java.lang.Boolean isVisible()
IGraphCursor
isVisible in interface IGraphCursorpublic void setVisible(java.lang.Boolean visible)
IGraphCursor
setVisible in interface IGraphCursorvisible - Flag to indicate if cursor is visible
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||