Statistics
| Revision:

svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.library / org.gvsig.symbology / org.gvsig.symbology.lib / org.gvsig.symbology.lib.api / src / main / java / org / gvsig / symbology / fmap / mapcontext / rendering / symbol / marker / ISimpleMarkerSymbol.java @ 40560

History | View | Annotate | Download (2.7 KB)

1
/**
2
 * gvSIG. Desktop Geographic Information System.
3
 *
4
 * Copyright (C) 2007-2013 gvSIG Association.
5
 *
6
 * This program is free software; you can redistribute it and/or
7
 * modify it under the terms of the GNU General Public License
8
 * as published by the Free Software Foundation; either version 3
9
 * of the License, or (at your option) any later version.
10
 *
11
 * This program is distributed in the hope that it will be useful,
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 * GNU General Public License for more details.
15
 *
16
 * You should have received a copy of the GNU General Public License
17
 * along with this program; if not, write to the Free Software
18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19
 * MA  02110-1301, USA.
20
 *
21
 * For any additional information, do not hesitate to contact us
22
 * at info AT gvsig.com, or visit our website www.gvsig.com.
23
 */
24
package org.gvsig.symbology.fmap.mapcontext.rendering.symbol.marker;
25

    
26
import java.awt.Color;
27

    
28
import org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol;
29

    
30
public interface ISimpleMarkerSymbol extends IMarkerSymbol{
31

    
32
        /**
33
         * Returns true or false depending if the simple marker symbol has an outline or not.
34
         * @return Returns the outline.
35
         */
36
        public abstract boolean hasOutline();
37

    
38
        /**
39
         * Establishes the outline for the simple marker symbol.
40
         * @param outline  The outline to set.
41
         */
42
        public abstract void setOutlined(boolean outlined);
43

    
44
        /**
45
         * Returns the outline color for the symple marker symbol
46
         *
47
         * @return Color,outlineColor.
48
         */
49
        public abstract Color getOutlineColor();
50

    
51
        /**
52
         * Sets the outline color for the simple marker symbol
53
         * @param outlineColor, Color
54
         */
55
        public abstract void setOutlineColor(Color outlineColor);
56

    
57
        /**
58
         * Gets the size of the outline for the simple marker symbol
59
         * @return  Returns the outlineSize.
60
         */
61
        public abstract double getOutlineSize();
62

    
63
        /**
64
         * Establishes the size for the outline of the simple marker symbol
65
         * @param outlineSize  The outlineSize to set.
66
         */
67
        public abstract void setOutlineSize(double outlineSize);
68

    
69
        /**
70
         * @return  Returns the selectionSymbol.
71
         */
72
        public abstract ISymbol getSelectionSymbol();
73

    
74
        /**
75
         * @param selectionSymbol  The selectionSymbol to set.
76
         */
77
        public abstract void setSelectionSymbol(ISymbol selectionSymbol);
78

    
79
        /**
80
         * Sets the style for the simple marker symbol
81
         * @param style
82
         */
83
        public abstract void setStyle(int style);
84

    
85
        /**
86
         * Obtains the style for the simple marker symbol
87
         * @return markerStyle,int
88
         */
89
        public abstract int getStyle();
90

    
91
        /**
92
         * Returns if the marker symbol should be drawn outlined.
93
         * @return if it is outlined
94
         */
95
        public abstract boolean isOutlined();
96

    
97
}