001    package echopoint.model;
002    
003    /**
004     * Enumeration of the standard CSS2 cursors.  Note that the {@link #toString}
005     * method should be used in component sync peers to ensure that the proper
006     * cursor style values are used.
007     *
008     * @author Rakesh Vidyadharan 2009-12-18
009     * @version $Id: Cursor.java 262 2009-12-18 21:29:16Z sptrakesh $
010     */
011    @SuppressWarnings( { "ClassWithTooManyFields" } )
012    public enum Cursor
013    {
014      /** The preferred cursor type for the browser. */
015      auto,
016    
017      /** The cross-hair cursor. */
018      crosshair,
019    
020      /** The right pointing arrow cursor. */
021      east { public String toString() { return "e-resize"; } },
022    
023      /** The hand cursor. */
024      hand,
025    
026      /** The question mark cursor */
027      help,
028    
029      /** The move cursor */
030      move,
031    
032      /** The north pointing cursor */
033      north { public String toString() { return "n-resize"; } },
034    
035      /** The north-east pointing cursor */
036      northEast { public String toString() { return "ne-resize"; } },
037    
038      /** The north-west pointing cursor */
039      northWest { public String toString() { return "nw-resize"; } },
040    
041      /** The south pointing cursor */
042      south { public String toString() { return "s-resize"; } },
043    
044      /** The south-east pointing cursor */
045      southEast { public String toString() { return "se-resize"; } },
046    
047      /** The south-west pointing cursor */
048      southWest { public String toString() { return "sw-resize"; } },
049    
050      /** The text (I-beam) cursor */
051      text,
052    
053      /** The west pointing cursor */
054      west { public String toString() { return "w-resize"; } },
055    
056      /** The wait (hour-glass) cursor */
057      wait
058    }