Revision 44259 trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.expressionevaluator/org.gvsig.expressionevaluator.swing/org.gvsig.expressionevaluator.swing.api/src/main/java/org/gvsig/expressionevaluator/swing/Element.java
Element.java | ||
---|---|---|
5 | 5 |
import javax.swing.ImageIcon; |
6 | 6 |
import org.gvsig.expressionevaluator.Function; |
7 | 7 |
import org.gvsig.tools.swing.api.Component; |
8 |
import org.gvsig.tools.util.LabeledValue; |
|
8 | 9 |
|
9 | 10 |
/** |
10 | 11 |
* |
11 | 12 |
* @author jjdelcerro |
12 | 13 |
*/ |
13 |
public interface Element { |
|
14 |
public interface Element extends LabeledValue, Comparable {
|
|
14 | 15 |
|
15 | 16 |
public interface SimpleElement extends Element { |
16 | 17 |
|
... | ... | |
43 | 44 |
|
44 | 45 |
public interface ConstantElement extends SimpleElement { |
45 | 46 |
|
46 |
public Object getValue(); |
|
47 | 47 |
} |
48 | 48 |
|
49 | 49 |
public interface CalculatedElement extends SimpleElement { |
50 | 50 |
|
51 |
public Object getValue(); |
|
52 | 51 |
} |
53 | 52 |
|
54 |
public interface VariableElement extends SimpleElement { |
|
55 |
|
|
56 |
public String getSource(); |
|
57 |
|
|
58 |
public String getLabel(); |
|
59 |
|
|
60 |
public String getTypeName(); |
|
61 |
} |
|
62 |
|
|
63 | 53 |
public String getName(); |
64 |
|
|
54 |
|
|
55 |
public String getRenderedValue(); |
|
56 |
|
|
65 | 57 |
public String getDescription(); |
66 | 58 |
|
67 | 59 |
public String getIconName(); |
... | ... | |
73 | 65 |
public boolean isEnabled(); |
74 | 66 |
|
75 | 67 |
public void reload(); |
68 |
|
|
69 |
public void used(); |
|
70 |
|
|
71 |
public Element setConfig(ExpressionBuilderConfig config); |
|
72 |
|
|
73 |
public ExpressionBuilderConfig getConfig(); |
|
76 | 74 |
} |
Also available in: Unified diff