Revision 44534 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
IAttrInTableLabelingStrategy.java | ||
---|---|---|
29 | 29 |
import org.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelingStrategy; |
30 | 30 |
import org.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport; |
31 | 31 |
|
32 |
public interface IAttrInTableLabelingStrategy extends ILabelingStrategy, CartographicSupport{ |
|
32 |
public interface IAttrInTableLabelingStrategy extends ILabelingStrategy, CartographicSupport {
|
|
33 | 33 |
|
34 |
public abstract String getRotationField();
|
|
34 |
String NAME = "AttrInTableLabelingStrategy";
|
|
35 | 35 |
|
36 |
public abstract String getTextField();
|
|
36 |
public abstract String getRotationField();
|
|
37 | 37 |
|
38 |
public abstract String getHeightField();
|
|
38 |
public abstract String getTextField();
|
|
39 | 39 |
|
40 |
public abstract String getColorField();
|
|
40 |
public abstract String getHeightField();
|
|
41 | 41 |
|
42 |
public abstract void setTextField(String textFieldName);
|
|
42 |
public abstract String getColorField();
|
|
43 | 43 |
|
44 |
public abstract void setRotationField(String rotationFieldName);
|
|
44 |
public abstract void setTextField(String textFieldName);
|
|
45 | 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); |
|
46 |
public abstract void setRotationField(String rotationFieldName); |
|
53 | 47 |
|
54 |
public abstract void setColorField(String colorFieldName); |
|
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); |
|
55 | 56 |
|
56 |
public abstract void setUsesFixedSize(boolean b);
|
|
57 |
public abstract void setColorField(String colorFieldName);
|
|
57 | 58 |
|
58 |
public abstract boolean usesFixedSize();
|
|
59 |
public abstract void setUsesFixedSize(boolean b);
|
|
59 | 60 |
|
60 |
public abstract double getFixedSize();
|
|
61 |
public abstract boolean usesFixedSize();
|
|
61 | 62 |
|
62 |
public abstract void setFixedSize(double fixedSize);
|
|
63 |
public abstract double getFixedSize();
|
|
63 | 64 |
|
64 |
public abstract void setUsesFixedColor(boolean b);
|
|
65 |
public abstract void setFixedSize(double fixedSize);
|
|
65 | 66 |
|
66 |
public abstract boolean usesFixedColor();
|
|
67 |
public abstract void setUsesFixedColor(boolean b);
|
|
67 | 68 |
|
68 |
public abstract Color getFixedColor();
|
|
69 |
public abstract boolean usesFixedColor();
|
|
69 | 70 |
|
70 |
public abstract void setFixedColor(Color fixedColor);
|
|
71 |
public abstract Color getFixedColor();
|
|
71 | 72 |
|
72 |
public abstract Color getColorFont();
|
|
73 |
public abstract void setFixedColor(Color fixedColor);
|
|
73 | 74 |
|
74 |
public abstract void setColorFont(Color colorFont);
|
|
75 |
public abstract Color getColorFont();
|
|
75 | 76 |
|
76 |
public abstract Font getFont();
|
|
77 |
public abstract void setColorFont(Color colorFont);
|
|
77 | 78 |
|
78 |
public abstract void setFont(Font selFont);
|
|
79 |
public abstract Font getFont();
|
|
79 | 80 |
|
80 |
} |
|
81 |
public abstract void setFont(Font selFont); |
|
82 |
|
|
83 |
} |
Also available in: Unified diff