public abstract class AbstractFilterEditorPanel extends Object
| Modifier and Type | Class and Description |
|---|---|
protected class |
AbstractFilterEditorPanel.StateHolder
Just a holder for 2 variables.
|
| Constructor and Description |
|---|
AbstractFilterEditorPanel() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
determineShowHideEnabledState(AbstractFilterEditorPanel.StateHolder stateHolder,
List<String> selectedObjects)
This determines the state of the show hide buttons.
|
void |
enableAppropriately() |
JComponent |
getComponent() |
protected List<String> |
getSelectedValues() |
protected abstract void |
hideSelected(List<String> selection) |
protected abstract boolean |
isAllowed(String item)
Implement this to determine if this item is filtered or not.
|
void |
populate(List<String> items) |
protected abstract void |
showSelected(List<String> selection) |
public JComponent getComponent()
protected abstract boolean isAllowed(String item)
item - the item in questionpublic void enableAppropriately()
protected void determineShowHideEnabledState(AbstractFilterEditorPanel.StateHolder stateHolder, List<String> selectedObjects)
stateHolder - where we store our state.selectedObjects - the objects to search.Copyright © 2013. All rights reserved