Statistics
| Revision:

root / branches / v2_0_0_prep / libraries / org.gvsig.symbology / org.gvsig.symbology.lib / org.gvsig.symbology.lib.api / src / main / java / org / gvsig / symbology / SymbologyManager.java @ 34294

History | View | Annotate | Download (3.68 KB)

1
/* gvSIG. Geographic Information System of the Valencian Government
2
*
3
* Copyright (C) 2007-2008 Infrastructures and Transports Department
4
* of the Valencian Government (CIT)
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 2
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
*/
22

    
23
/*
24
* AUTHORS (In addition to CIT):
25
* 2009 {}  {{Task}}
26
*/
27
package org.gvsig.symbology;
28

    
29
import java.io.IOException;
30
import java.net.URL;
31

    
32
import org.gvsig.fmap.mapcontext.rendering.legend.IInterval;
33
import org.gvsig.symbology.fmap.mapcontext.rendering.legend.styling.IAttrInTableLabelingStrategy;
34
import org.gvsig.symbology.fmap.mapcontext.rendering.symbol.IMultiShapeSymbol;
35
import org.gvsig.symbology.fmap.mapcontext.rendering.symbol.fill.IFillSymbol;
36
import org.gvsig.symbology.fmap.mapcontext.rendering.symbol.fill.IMarkerFillSymbol;
37
import org.gvsig.symbology.fmap.mapcontext.rendering.symbol.fill.IPictureFillSymbol;
38
import org.gvsig.symbology.fmap.mapcontext.rendering.symbol.fill.ISimpleFillSymbol;
39
import org.gvsig.symbology.fmap.mapcontext.rendering.symbol.line.ILineSymbol;
40
import org.gvsig.symbology.fmap.mapcontext.rendering.symbol.line.IPictureLineSymbol;
41
import org.gvsig.symbology.fmap.mapcontext.rendering.symbol.line.ISimpleLineSymbol;
42
import org.gvsig.symbology.fmap.mapcontext.rendering.symbol.marker.IPictureMarkerSymbol;
43
import org.gvsig.symbology.fmap.mapcontext.rendering.symbol.marker.ISimpleMarkerSymbol;
44
import org.gvsig.symbology.fmap.mapcontext.rendering.symbol.style.IArrowDecoratorStyle;
45
import org.gvsig.symbology.fmap.mapcontext.rendering.symbol.style.IMarkerFillPropertiesStyle;
46
import org.gvsig.symbology.fmap.mapcontext.rendering.symbol.style.IMask;
47
import org.gvsig.symbology.fmap.mapcontext.rendering.symbol.style.ISimpleLineStyle;
48
import org.gvsig.symbology.fmap.mapcontext.rendering.symbol.text.ISimpleTextSymbol;
49

    
50

    
51
/**
52
 * Basic symbology manager.
53
 * 
54
 * @author 2009- <a href="cordinyana@gvsig.org">C?sar Ordi?ana</a> - gvSIG team
55
 */
56
public interface SymbologyManager {
57

    
58
        /**
59
         * Creates a new interval with the given limit values
60
         * 
61
         * @param min
62
         *            the minimum included interval value
63
         * @param max
64
         *            the maximum included interval value
65
         * @return a new interval
66
         */
67
        IInterval createInterval(double min, double max);
68
        
69
        IArrowDecoratorStyle createArrowDecoratorStyle();
70
        
71
//        IMarkerSymbol createMarkerSymbol();
72

    
73
        ISimpleMarkerSymbol createSimpleMarkerSymbol();
74
        
75
        IMask createMask();
76

    
77
        IMultiShapeSymbol createMultiShapeSymbol();
78
        
79
        ISimpleFillSymbol createSimpleFillSymbol();
80

    
81
        ISimpleLineSymbol createSimpleLineSymbol();
82

    
83
        ISimpleLineStyle createSimpleLineStyle();
84

    
85
        ISimpleTextSymbol createSimpleTextSymbol();
86
        
87
        IMarkerFillPropertiesStyle createSimpleMarkerFillPropertiesStyle();
88
        
89
        IPictureFillSymbol createPictureFillSymbol(URL imageURL, URL selImageURL) throws IOException;
90

    
91
        IPictureLineSymbol createPictureLineSymbol(URL imageURL, URL selImageURL) throws IOException;
92

    
93
        IPictureMarkerSymbol createPictureMarkerSymbol(URL imageURL, URL selImageURL) throws IOException;
94

    
95
        IMarkerFillSymbol createMarkerFillSymbol();
96
        
97
        IAttrInTableLabelingStrategy createAttrInTableLabelingStrategy();
98
        
99
}