Statistics
| Revision:

root / branches / v2_0_0_prep / libFMap_mapcontext / src / org / gvsig / fmap / mapcontext / rendering / symbols / styles / ILineStyle.java @ 21200

History | View | Annotate | Download (3.57 KB)

1
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
2
 *
3
 * Copyright (C) 2005 IVER T.I. and Generalitat Valenciana.
4
 *
5
 * This program is free software; you can redistribute it and/or
6
 * modify it under the terms of the GNU General Public License
7
 * as published by the Free Software Foundation; either version 2
8
 * of the License, or (at your option) any later version.
9
 *
10
 * This program 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
13
 * GNU General Public License for more details.
14
 *
15
 * You should have received a copy of the GNU General Public License
16
 * along with this program; if not, write to the Free Software
17
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
18
 *
19
 * For more information, contact:
20
 *
21
 *  Generalitat Valenciana
22
 *   Conselleria d'Infraestructures i Transport
23
 *   Av. Blasco Ib??ez, 50
24
 *   46010 VALENCIA
25
 *   SPAIN
26
 *
27
 *      +34 963862235
28
 *   gvsig@gva.es
29
 *      www.gvsig.gva.es
30
 *
31
 *    or
32
 *
33
 *   IVER T.I. S.A
34
 *   Salamanca 50
35
 *   46005 Valencia
36
 *   Spain
37
 *
38
 *   +34 963163400
39
 *   dac@iver.es
40
 */
41

    
42
/* CVS MESSAGES:
43
 *
44
 * $Id: ILineStyle.java 20989 2008-05-28 11:05:57Z jmvivo $
45
 * $Log$
46
 * Revision 1.7  2007-08-13 11:36:30  jvidal
47
 * javadoc
48
 *
49
 * Revision 1.6  2007/07/26 12:36:52  jaume
50
 * character encoding mispell
51
 *
52
 * Revision 1.5  2007/07/23 06:53:56  jaume
53
 * Added support for arrow line decorator (start commiting)
54
 *
55
 * Revision 1.4  2007/05/09 16:07:26  jaume
56
 * *** empty log message ***
57
 *
58
 * Revision 1.3  2007/05/08 08:47:39  jaume
59
 * *** empty log message ***
60
 *
61
 * Revision 1.2  2007/03/09 11:20:56  jaume
62
 * Advanced symbology (start committing)
63
 *
64
 * Revision 1.1.2.3  2007/02/15 16:23:44  jaume
65
 * *** empty log message ***
66
 *
67
 * Revision 1.1.2.2  2007/02/12 15:15:20  jaume
68
 * refactored interval legend and added graduated symbol legend
69
 *
70
 * Revision 1.1.2.1  2007/02/09 07:47:04  jaume
71
 * Isymbol moved
72
 *
73
 *
74
 */
75

    
76
package org.gvsig.fmap.mapcontext.rendering.symbols.styles;
77

    
78
import java.awt.Stroke;
79

    
80

    
81

    
82

    
83
/**
84
 * Interface that controls the properties that define the style of a line.This
85
 * properties are the width, stroke, offset and arrow decorator style( for example
86
 * if the line includes markers as an arrow to specify an orientation).
87
 * @author   jaume dominguez faus - jaume.dominguez@iver.es
88
 */
89
public interface ILineStyle extends IStyle {
90
        /**
91
         * Returns the width of the line
92
         * @return
93
         */
94
        public abstract float getLineWidth();
95
        /**
96
         * Establishes the width of the line
97
         * @param width of the line
98
         */
99
        public abstract void setLineWidth(float width);
100
        /**
101
         * Returns the stroke of the line
102
         * @return Stroke of the line
103
         */
104
        public abstract Stroke getStroke();
105
        /**
106
         * Sets the stroke of the line
107
         * @param stroke,stroke to be established
108
         */
109
        public abstract void setStroke(Stroke stroke);
110
        /**
111
         * Gets the arrow decorator style that has the line
112
         * @return ArrowDecoratorStyle
113
         */
114
        public abstract ArrowDecoratorStyle getArrowDecorator();
115
        /**
116
         * Sets the arrow decorator style of the line
117
         * @param arrowDecoratorStyle, ArrowDecoratorStyle
118
         */
119
        public abstract void setArrowDecorator(ArrowDecoratorStyle arrowDecoratorStyle);
120
        /**
121
         * Returns the offset of the line
122
         * @return
123
         */
124
        public abstract double getOffset();
125
        /**
126
         * Establishes the offset of the line
127
         * @param offset
128
         */
129
        public abstract void setOffset(double offset);
130

    
131
}