Revision 14426 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/rendering/IVectorialIntervalLegend.java
IVectorialIntervalLegend.java | ||
---|---|---|
50 | 50 |
|
51 | 51 |
|
52 | 52 |
/** |
53 |
* Interfaz que ofrece los m?todos para clasificar la Leyenda por intervalos. |
|
53 |
* Interface that allows the methods to classify the legend through intervals. |
|
54 |
* |
|
54 | 55 |
*/ |
55 | 56 |
public interface IVectorialIntervalLegend extends IClassifiedVectorLegend { |
56 | 57 |
|
... | ... | |
65 | 66 |
public ISymbol getSymbol(int recordIndex) throws ReadDriverException; |
66 | 67 |
|
67 | 68 |
/** |
68 |
* Devuelve un s?mbolo a partir de una IFeature. |
|
69 |
* OJO!! Cuando usamos un feature iterator de base de datos |
|
70 |
* el ?nico campo que vendr? rellenado es el de fieldID. |
|
71 |
* Los dem?s vendr?n a nulos para ahorra tiempo de creaci?n. |
|
69 |
* Returns a symbol starting from an IFeature. |
|
70 |
* |
|
71 |
* TAKE CARE!! When we are using a feature iterator as a database |
|
72 |
* the only field that will be filled is the fieldID. |
|
73 |
* The rest of fields will be null to reduce the time of creation |
|
72 | 74 |
* |
73 | 75 |
* @param feat IFeature. |
74 | 76 |
* |
... | ... | |
77 | 79 |
public ISymbol getSymbolByFeature(IFeature feat); |
78 | 80 |
|
79 | 81 |
/** |
80 |
* Devuelve el s?mbolo a partir del intervalo. |
|
82 |
* |
|
83 |
* Returns the symbol starting from an interval |
|
81 | 84 |
* |
82 |
* @param key intervalo.
|
|
85 |
* @param key interval. |
|
83 | 86 |
* |
84 |
* @return s?mbolo.
|
|
87 |
* @return symbol.
|
|
85 | 88 |
*/ |
86 | 89 |
public ISymbol getSymbolByInterval(IInterval key); |
87 | 90 |
|
88 | 91 |
|
89 | 92 |
/** |
90 |
* Devuelve si se utiliza o no el resto de valores para representarse.
|
|
93 |
* Returns if the rest of values are used or not to be represented.
|
|
91 | 94 |
* @deprecated 18-09-07 when moving definitely to FeatureIterators |
92 |
* @return True si se utiliza el resto de valores. |
|
95 |
* |
|
96 |
* @return True if the rest of values are used. |
|
93 | 97 |
*/ |
94 | 98 |
|
95 | 99 |
public void setDataSource(DataSource ds) throws FieldNotFoundException, ReadDriverException; |
96 | 100 |
|
97 | 101 |
/** |
98 |
* Inserta el tipo de clasificaci?n de los intervalos.
|
|
102 |
* Inserts the type of the classification of the intervals.
|
|
99 | 103 |
* |
100 |
* @param tipoClasificacion Tipo de clasificaci?n.
|
|
104 |
* @param tipoClasificacion type of the classification.
|
|
101 | 105 |
*/ |
102 | 106 |
public void setIntervalType(int tipoClasificacion); |
103 | 107 |
} |
Also available in: Unified diff