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 @ 40560
History | View | Annotate | Download (2.5 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 |
public abstract String getRotationField(); |
35 |
|
36 |
public abstract String getTextField(); |
37 |
|
38 |
public abstract String getHeightField(); |
39 |
|
40 |
public abstract String getColorField(); |
41 |
|
42 |
public abstract void setTextField(String textFieldName); |
43 |
|
44 |
public abstract void setRotationField(String rotationFieldName); |
45 |
|
46 |
/**
|
47 |
* Sets the field that contains the size of the text. The size is computed
|
48 |
* in meters. To use any other unit, call setUnit(int) with the scale factor from meters
|
49 |
* (for centimeters, call <b>setUnitFactor(0.01))</b>.
|
50 |
* @param heightFieldName
|
51 |
*/
|
52 |
public abstract void setHeightField(String heightFieldName); |
53 |
|
54 |
public abstract void setColorField(String colorFieldName); |
55 |
|
56 |
public abstract void setUsesFixedSize(boolean b); |
57 |
|
58 |
public abstract boolean usesFixedSize(); |
59 |
|
60 |
public abstract double getFixedSize(); |
61 |
|
62 |
public abstract void setFixedSize(double fixedSize); |
63 |
|
64 |
public abstract void setUsesFixedColor(boolean b); |
65 |
|
66 |
public abstract boolean usesFixedColor(); |
67 |
|
68 |
public abstract Color getFixedColor(); |
69 |
|
70 |
public abstract void setFixedColor(Color fixedColor); |
71 |
|
72 |
public abstract Color getColorFont(); |
73 |
|
74 |
public abstract void setColorFont(Color colorFont); |
75 |
|
76 |
public abstract Font getFont(); |
77 |
|
78 |
public abstract void setFont(Font selFont); |
79 |
|
80 |
} |