com.vividsolutions.jtstest.testbuilder.AppCursors Maven / Gradle / Ivy
The newest version!
package com.vividsolutions.jtstest.testbuilder;
import java.awt.Cursor;
import java.awt.Toolkit;
import javax.swing.ImageIcon;
public class AppCursors
{
public static Cursor DRAW_GEOM = Toolkit.getDefaultToolkit().createCustomCursor(
IconLoader.icon("DrawCursor.png").getImage(), new java.awt.Point(4, 26),
"Draw");
public static Cursor EDIT_VERTEX = Toolkit.getDefaultToolkit().createCustomCursor(
IconLoader.icon("MoveVertexCursor.gif").getImage(),
new java.awt.Point(16, 16), "MoveVertex");
public static Cursor HAND = Toolkit.getDefaultToolkit().createCustomCursor(
IconLoader.icon("Hand.gif").getImage(), new java.awt.Point(7, 7), "Pan");
public static Cursor ZOOM = Toolkit.getDefaultToolkit().createCustomCursor(
IconLoader.icon("MagnifyCursor.gif").getImage(),
new java.awt.Point(16, 16), "Zoom In");
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy