01: /* uDig - User Friendly Desktop Internet GIS client
02: * http://udig.refractions.net
03: * (C) 2004, Refractions Research Inc.
04: *
05: * This library is free software; you can redistribute it and/or
06: * modify it under the terms of the GNU Lesser General Public
07: * License as published by the Free Software Foundation;
08: * version 2.1 of the License.
09: *
10: * This library is distributed in the hope that it will be useful,
11: * but WITHOUT ANY WARRANTY; without even the implied warranty of
12: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13: * Lesser General Public License for more details.
14: */
15: package net.refractions.udig.style.sld.simple;
16:
17: /**
18: * Captures the current *mode* of the style configurator making use
19: * of a StyleViewer.
20: * <p>
21: * This is used to let the viewers get modey, and disable fill content
22: * when working with linestrings for example.
23: * </p>
24: *
25: * @author Jody Garnett
26: * @since 1.0.0
27: */
28: public enum Mode {
29: /** <code>POINT</code> Mode - editing a Point or MultiPoint. */
30: POINT,
31: /** <code>LINE</code> Mode - editing a Linestring or MultiLineString. */
32: LINE,
33: /** <code>POLYGON</code> Mode - editing a Polygone or MultiPolygon. */
34: POLYGON,
35: /** <code>ALL</code> Mode - editing a Geometry. */
36: ALL,
37: /** <code>NONE</code> Mode - content cannot be styled by SLD (like scalebar) */
38: NONE
39: }
|