svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.fmap.dal / org.gvsig.fmap.dal.swing / org.gvsig.fmap.dal.swing.api / src / main / java / org / gvsig / fmap / dal / swing / searchpanel / SearchConditionPanel.java @ 46505
History | View | Annotate | Download (949 Bytes)
1 | 44707 | jjdelcerro | package org.gvsig.fmap.dal.swing.searchpanel; |
---|---|---|---|
2 | |||
3 | import org.gvsig.expressionevaluator.Expression; |
||
4 | import org.gvsig.fmap.dal.feature.FeatureStore; |
||
5 | 44750 | jjdelcerro | import org.gvsig.tools.swing.api.ChangeListenerSupport; |
6 | 44730 | omartinez | import org.gvsig.tools.swing.api.Component; |
7 | 44707 | jjdelcerro | import org.gvsig.tools.util.Factory; |
8 | |||
9 | /**
|
||
10 | *
|
||
11 | * @author jjdelcerro
|
||
12 | */
|
||
13 | 44750 | jjdelcerro | public interface SearchConditionPanel extends Component, ChangeListenerSupport { |
14 | 44707 | jjdelcerro | |
15 | public interface SearchConditionPanelFactory extends Factory { |
||
16 | public boolean isApplicable(FeatureStore store); |
||
17 | |||
18 | @Override
|
||
19 | public SearchConditionPanel create(Object... os); |
||
20 | |||
21 | } |
||
22 | |||
23 | 44712 | jjdelcerro | public void clear(); |
24 | 44707 | jjdelcerro | |
25 | 44712 | jjdelcerro | public Expression get(); |
26 | 44707 | jjdelcerro | |
27 | 44712 | jjdelcerro | public boolean set(Expression filter); |
28 | 44707 | jjdelcerro | |
29 | 44712 | jjdelcerro | public void setEnabled(boolean enabled); |
30 | 44707 | jjdelcerro | |
31 | 44712 | jjdelcerro | public SearchConditionPanelFactory getFactory();
|
32 | 44764 | jjdelcerro | |
33 | public boolean isValid(StringBuilder message); |
||
34 | 44829 | omartinez | |
35 | public void put(SearchParameters params); |
||
36 | |||
37 | public SearchParameters fetch(SearchParameters params);
|
||
38 | 44707 | jjdelcerro | } |