|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.swtlayeredgraph.GraphCursorFactory
public class GraphCursorFactory
This class is a factory that is used to create various cursor objects.
| Constructor Summary | |
|---|---|
GraphCursorFactory()
|
|
| Method Summary | |
|---|---|
IGraphCursor |
getLargeCrossCursor()
Builds a default cross cursor |
IGraphCursor |
getLargeCrossCursor(int color,
int lineWidth)
Builds a cross cursor with the following parameters. |
IGraphCursor |
getSmallCrossCursor()
Builds a default small cross cursor. |
IGraphCursor |
getSmallCrossCursor(java.lang.Double width,
java.lang.Double height,
int color,
int lineWidth,
CoordinateType type)
Builds a small cross cursor with the following parameters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GraphCursorFactory()
| Method Detail |
|---|
public IGraphCursor getSmallCrossCursor()
public IGraphCursor getSmallCrossCursor(java.lang.Double width,
java.lang.Double height,
int color,
int lineWidth,
CoordinateType type)
width - Width of cursor in units of type.height - Height of cursor in units of type.color - Color of the lines in the cursor.lineWidth - Width (in pixels) of the lines of the cursortype - Type of coordinate system for width and height.
public IGraphCursor getLargeCrossCursor()
public IGraphCursor getLargeCrossCursor(int color,
int lineWidth)
color - Color of the lines in the cursor.lineWidth - Width (in pixels) of the lines of the cursor.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||