svn-gvsig-desktop / tags / J2ME_compat_v1_2_Build_1209 / libraries / libFMap / src / com / iver / cit / gvsig / fmap / core / styles / ILineStyle.java @ 19509
History | View | Annotate | Download (3.55 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 13032 2007-08-13 11:37:58Z jvidal $
|
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 com.iver.cit.gvsig.fmap.core.styles; |
77 |
|
78 |
import java.awt.Stroke; |
79 |
|
80 |
|
81 |
|
82 |
/**
|
83 |
* Interface that controls the properties that define the style of a line.This
|
84 |
* properties are the width, stroke, offset and arrow decorator style( for example
|
85 |
* if the line includes markers as an arrow to specify an orientation).
|
86 |
* @author jaume dominguez faus - jaume.dominguez@iver.es
|
87 |
*/
|
88 |
public interface ILineStyle extends IStyle { |
89 |
/**
|
90 |
* Returns the width of the line
|
91 |
* @return
|
92 |
*/
|
93 |
public abstract float getLineWidth(); |
94 |
/**
|
95 |
* Establishes the width of the line
|
96 |
* @param width of the line
|
97 |
*/
|
98 |
public abstract void setLineWidth(float width); |
99 |
/**
|
100 |
* Returns the stroke of the line
|
101 |
* @return Stroke of the line
|
102 |
*/
|
103 |
public abstract Stroke getStroke(); |
104 |
/**
|
105 |
* Sets the stroke of the line
|
106 |
* @param stroke,stroke to be established
|
107 |
*/
|
108 |
public abstract void setStroke(Stroke stroke); |
109 |
/**
|
110 |
* Gets the arrow decorator style that has the line
|
111 |
* @return ArrowDecoratorStyle
|
112 |
*/
|
113 |
public abstract ArrowDecoratorStyle getArrowDecorator(); |
114 |
/**
|
115 |
* Sets the arrow decorator style of the line
|
116 |
* @param arrowDecoratorStyle, ArrowDecoratorStyle
|
117 |
*/
|
118 |
public abstract void setArrowDecorator(ArrowDecoratorStyle arrowDecoratorStyle); |
119 |
/**
|
120 |
* Returns the offset of the line
|
121 |
* @return
|
122 |
*/
|
123 |
public abstract double getOffset(); |
124 |
/**
|
125 |
* Establishes the offset of the line
|
126 |
* @param offset
|
127 |
*/
|
128 |
public abstract void setOffset(double offset); |
129 |
|
130 |
} |