Revision 10436 branches/simbologia/libraries/libFMap/src/com/iver/cit/gvsig/fmap/core/symbols/ISymbol.java
ISymbol.java | ||
---|---|---|
62 | 62 |
* feature when it is selected. |
63 | 63 |
* @return <b>ISymbol</b> applied to a feature when it has been selected. |
64 | 64 |
*/ |
65 |
ISymbol getSymbolForSelection(); |
|
65 |
public ISymbol getSymbolForSelection();
|
|
66 | 66 |
|
67 |
void draw(Graphics2D g, AffineTransform affineTransform, FShape shp); |
|
67 |
public void draw(Graphics2D g, AffineTransform affineTransform, FShape shp);
|
|
68 | 68 |
|
69 | 69 |
// In the future, we may need something like that, but now if |
70 | 70 |
// I put it, we should change the rendering process, and it will |
... | ... | |
84 | 84 |
// shape, se calculan los pixels. Luego se pasan esos pixels a |
85 | 85 |
// coordenadas de mundo real, y se le suman al visibleExtent para que |
86 | 86 |
// se dibujen los trozos de texto que no se pintan, etc, etc. |
87 |
int getPixExtentPlus(Graphics2D g, AffineTransform affineTransform, Shape shp); |
|
87 |
public int getPixExtentPlus(Graphics2D g, AffineTransform affineTransform, Shape shp);
|
|
88 | 88 |
/** |
89 | 89 |
* Devuelve el rgb del s?mbolo cuando se dibuja como un punto. |
90 | 90 |
* |
... | ... | |
96 | 96 |
* Use it to specify how do you want to write the symbol in .gvp project |
97 | 97 |
* @return |
98 | 98 |
*/ |
99 |
XMLEntity getXMLEntity(); |
|
99 |
public XMLEntity getXMLEntity(); |
|
100 |
|
|
101 |
/** |
|
102 |
* Called by the factory, this method will set up the symbol and after call it, the |
|
103 |
* symbol must be fully functional and ready to be used. |
|
104 |
*/ |
|
105 |
public void setXMLEntity(XMLEntity xml); |
|
100 | 106 |
|
107 |
|
|
101 | 108 |
/** |
102 | 109 |
* The description is a human-readable text used to label it when show in a symbol menu or something like that. |
103 | 110 |
* @return description of this symbol. |
104 | 111 |
* @uml.property name="description" |
105 | 112 |
*/ |
106 |
String getDescription(); |
|
113 |
public String getDescription();
|
|
107 | 114 |
|
108 | 115 |
/** |
109 | 116 |
* Tells whether the shape of the symbol will be drawn or not. |
110 | 117 |
* |
111 | 118 |
* @return <b>true</b> if Shape must be drawn. Useful if you are labelling |
112 | 119 |
*/ |
113 |
boolean isShapeVisible(); |
|
120 |
public boolean isShapeVisible();
|
|
114 | 121 |
|
115 | 122 |
/** |
116 | 123 |
* Sets the description of this symbol |
... | ... | |
118 | 125 |
* @see ISymbol.getDescription(); |
119 | 126 |
* @uml.property name="description" |
120 | 127 |
*/ |
121 |
void setDescription(String desc); |
|
128 |
public void setDescription(String desc);
|
|
122 | 129 |
|
123 | 130 |
/** |
124 | 131 |
* The use of this method -and its mechanism- is being valorated. It probably |
... | ... | |
126 | 133 |
* @return FSymbol constants. I think it is better to use isSuitableFor |
127 | 134 |
* |
128 | 135 |
*/ |
129 |
int getSymbolType(); |
|
136 |
public int getSymbolType();
|
|
130 | 137 |
|
131 | 138 |
/** |
132 | 139 |
* True if this symbol is ok for the geometry. For example, a FillSymbol will |
... | ... | |
134 | 141 |
* @param geom |
135 | 142 |
* @return |
136 | 143 |
*/ |
137 |
boolean isSuitableFor(IGeometry geom); |
|
144 |
public boolean isSuitableFor(IGeometry geom);
|
|
138 | 145 |
|
139 | 146 |
/** |
140 | 147 |
* Useful to render the symbol inside the TOC, or inside little |
... | ... | |
145 | 152 |
* @param scaleInstance |
146 | 153 |
* @param r |
147 | 154 |
*/ |
148 |
void drawInsideRectangle(Graphics2D g, AffineTransform scaleInstance, Rectangle r); |
|
155 |
public void drawInsideRectangle(Graphics2D g, AffineTransform scaleInstance, Rectangle r);
|
|
149 | 156 |
|
150 | 157 |
/** |
151 | 158 |
* |
152 | 159 |
* @param printProperties |
153 | 160 |
*/ |
154 |
void setPrintingProperties(PrintRequestAttributeSet printProperties); |
|
161 |
public void setPrintingProperties(PrintRequestAttributeSet printProperties);
|
|
155 | 162 |
} |
156 | 163 |
|
157 | 164 |
|
Also available in: Unified diff