public class SearchConditionPanelSimplified extends AbstractSearchConditionPanel implements SearchConditionPanel
SearchConditionPanel.SearchConditionPanelFactory
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PANEL_NAME |
Constructor and Description |
---|
SearchConditionPanelSimplified(SearchParameters parameters,
FeatureStore store,
javax.swing.JPanel panel,
javax.swing.JButton btnAddToAccumulatedFilter,
javax.swing.JButton btnRemoveAccumulatedFilter,
javax.swing.JButton btnViewAccumulatedFilter) |
Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(javax.swing.event.ChangeListener listener) |
void |
addToAccumulatedFilter(java.lang.String filter) |
javax.swing.JComponent |
asJComponent()
Returns this component as a swing
JComponent . |
void |
clear() |
void |
clearAccumulatedFilter() |
SearchParameters |
fetch(SearchParameters params) |
void |
fromJson(JsonObject json) |
Expression |
get() |
java.lang.String |
getAccumulatedFilter() |
javax.swing.event.ChangeListener[] |
getChangeListeners() |
java.lang.String |
getCurrentFilter() |
SearchConditionPanel.SearchConditionPanelFactory |
getFactory() |
java.lang.String |
getWarnings() |
boolean |
hasChangeListeners() |
boolean |
isValid(java.lang.StringBuilder message) |
void |
put(SearchParameters params) |
void |
removeAllChangeListener() |
void |
removeChangeListener(javax.swing.event.ChangeListener listener) |
boolean |
set(Expression filter) |
void |
setEnabled(boolean enabled) |
void |
showAccumulatedFilter() |
JsonObject |
toJson() |
public static final java.lang.String PANEL_NAME
public SearchConditionPanelSimplified(SearchParameters parameters, FeatureStore store, javax.swing.JPanel panel, javax.swing.JButton btnAddToAccumulatedFilter, javax.swing.JButton btnRemoveAccumulatedFilter, javax.swing.JButton btnViewAccumulatedFilter)
public javax.swing.JComponent asJComponent()
Component
JComponent
.asJComponent
in interface Component
JComponent
public void put(SearchParameters params)
put
in interface SearchConditionPanel
public SearchParameters fetch(SearchParameters params)
fetch
in interface SearchConditionPanel
public SearchConditionPanel.SearchConditionPanelFactory getFactory()
getFactory
in interface SearchConditionPanel
public boolean isValid(java.lang.StringBuilder message)
isValid
in interface SearchConditionPanel
public java.lang.String getWarnings()
getWarnings
in interface SearchConditionPanel
getWarnings
in class AbstractSearchConditionPanel
public void addToAccumulatedFilter(java.lang.String filter)
public void clearAccumulatedFilter()
public void showAccumulatedFilter()
public void setEnabled(boolean enabled)
setEnabled
in interface SearchConditionPanel
public void clear()
clear
in interface SearchConditionPanel
public Expression get()
get
in interface SearchConditionPanel
public java.lang.String getAccumulatedFilter()
public java.lang.String getCurrentFilter()
public JsonObject toJson()
public void fromJson(JsonObject json)
public boolean set(Expression filter)
set
in interface SearchConditionPanel
set
in class AbstractSearchConditionPanel
public void addChangeListener(javax.swing.event.ChangeListener listener)
addChangeListener
in interface ChangeListenerSupport
public javax.swing.event.ChangeListener[] getChangeListeners()
getChangeListeners
in interface ChangeListenerSupport
public void removeChangeListener(javax.swing.event.ChangeListener listener)
removeChangeListener
in interface ChangeListenerSupport
public void removeAllChangeListener()
removeAllChangeListener
in interface ChangeListenerSupport
public boolean hasChangeListeners()
hasChangeListeners
in interface ChangeListenerSupport