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 | 40560 | jjdelcerro | /**
|
---|---|---|---|
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 | 40435 | jjdelcerro | 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 | 44534 | omartinez | public interface IAttrInTableLabelingStrategy extends ILabelingStrategy, CartographicSupport { |
33 | 40435 | jjdelcerro | |
34 | 44534 | omartinez | String NAME = "AttrInTableLabelingStrategy"; |
35 | 40435 | jjdelcerro | |
36 | 44534 | omartinez | public abstract String getRotationField(); |
37 | 40435 | jjdelcerro | |
38 | 44534 | omartinez | public abstract String getTextField(); |
39 | 40435 | jjdelcerro | |
40 | 44534 | omartinez | public abstract String getHeightField(); |
41 | 40435 | jjdelcerro | |
42 | 44534 | omartinez | public abstract String getColorField(); |
43 | 40435 | jjdelcerro | |
44 | 44534 | omartinez | public abstract void setTextField(String textFieldName); |
45 | 40435 | jjdelcerro | |
46 | 44534 | omartinez | public abstract void setRotationField(String rotationFieldName); |
47 | 40435 | jjdelcerro | |
48 | 44534 | omartinez | /**
|
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 | 40435 | jjdelcerro | |
57 | 44534 | omartinez | public abstract void setColorField(String colorFieldName); |
58 | 40435 | jjdelcerro | |
59 | 44534 | omartinez | public abstract void setUsesFixedSize(boolean b); |
60 | 40435 | jjdelcerro | |
61 | 44534 | omartinez | public abstract boolean usesFixedSize(); |
62 | 40435 | jjdelcerro | |
63 | 44534 | omartinez | public abstract double getFixedSize(); |
64 | 40435 | jjdelcerro | |
65 | 44534 | omartinez | public abstract void setFixedSize(double fixedSize); |
66 | 40435 | jjdelcerro | |
67 | 44534 | omartinez | public abstract void setUsesFixedColor(boolean b); |
68 | 40435 | jjdelcerro | |
69 | 44534 | omartinez | public abstract boolean usesFixedColor(); |
70 | 40435 | jjdelcerro | |
71 | 44534 | omartinez | public abstract Color getFixedColor(); |
72 | 40435 | jjdelcerro | |
73 | 44534 | omartinez | public abstract void setFixedColor(Color fixedColor); |
74 | 40435 | jjdelcerro | |
75 | 44534 | omartinez | public abstract Color getColorFont(); |
76 | 40435 | jjdelcerro | |
77 | 44534 | omartinez | public abstract void setColorFont(Color colorFont); |
78 | 40435 | jjdelcerro | |
79 | 44534 | omartinez | public abstract Font getFont(); |
80 | 40435 | jjdelcerro | |
81 | 44534 | omartinez | public abstract void setFont(Font selFont); |
82 | |||
83 | } |