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 / legend / styling / IAttrInTableLabelingStrategy.java @ 44534

History | View | Annotate | Download (2.64 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.legend.styling;
25

    
26
import java.awt.Color;
27
import java.awt.Font;
28

    
29
import org.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelingStrategy;
30
import org.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport;
31

    
32
public interface IAttrInTableLabelingStrategy extends ILabelingStrategy, CartographicSupport {
33

    
34
    String NAME = "AttrInTableLabelingStrategy";
35

    
36
    public abstract String getRotationField();
37

    
38
    public abstract String getTextField();
39

    
40
    public abstract String getHeightField();
41

    
42
    public abstract String getColorField();
43

    
44
    public abstract void setTextField(String textFieldName);
45

    
46
    public abstract void setRotationField(String rotationFieldName);
47

    
48
    /**
49
     * Sets the field that contains the size of the text. The size is computed
50
     * in meters. To use any other unit, call setUnit(int) with the scale factor
51
     * from meters (for centimeters, call <b>setUnitFactor(0.01))</b>.
52
     *
53
     * @param heightFieldName
54
     */
55
    public abstract void setHeightField(String heightFieldName);
56

    
57
    public abstract void setColorField(String colorFieldName);
58

    
59
    public abstract void setUsesFixedSize(boolean b);
60

    
61
    public abstract boolean usesFixedSize();
62

    
63
    public abstract double getFixedSize();
64

    
65
    public abstract void setFixedSize(double fixedSize);
66

    
67
    public abstract void setUsesFixedColor(boolean b);
68

    
69
    public abstract boolean usesFixedColor();
70

    
71
    public abstract Color getFixedColor();
72

    
73
    public abstract void setFixedColor(Color fixedColor);
74

    
75
    public abstract Color getColorFont();
76

    
77
    public abstract void setColorFont(Color colorFont);
78

    
79
    public abstract Font getFont();
80

    
81
    public abstract void setFont(Font selFont);
82

    
83
}