svn-gvsig-desktop / 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 / CalculatorController.java @ 44408
History | View | Annotate | Download (876 Bytes)
1 |
package org.gvsig.expressionevaluator.swing; |
---|---|
2 |
|
3 |
import org.gvsig.expressionevaluator.MutableSymbolTable; |
4 |
import org.gvsig.expressionevaluator.SymbolTable; |
5 |
import org.gvsig.tools.swing.api.ChangeListenerSupport; |
6 |
|
7 |
/**
|
8 |
*
|
9 |
* @author jjdelcerro
|
10 |
*/
|
11 |
public interface CalculatorController<T> extends ChangeListenerSupport { |
12 |
|
13 |
public void addSymbolTable(SymbolTable symbolTable); |
14 |
|
15 |
public MutableSymbolTable getSymbolTable();
|
16 |
|
17 |
public T get();
|
18 |
|
19 |
public T get(T defaultValue);
|
20 |
|
21 |
public void set(T value); |
22 |
|
23 |
public void coerceAndSet(Object value); |
24 |
|
25 |
public boolean isEnabled(); |
26 |
|
27 |
public void setEnabled(boolean enabled); |
28 |
|
29 |
public void setEditable(boolean editable); |
30 |
|
31 |
public boolean isEditable(); |
32 |
|
33 |
public void setWarning(boolean warning); |
34 |
|
35 |
public void setWarning(boolean warning, String description); |
36 |
|
37 |
public boolean getWarning(); |
38 |
} |