|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
org.vizzini.ui.ai.logic.FilterChooser
public class FilterChooser
Provides a filter chooser user interface for the logic system.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JPanel |
---|
JPanel.AccessibleJPanel |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
---|---|
static String |
FILTER_LIST_PROPERTY
Filter list property name. |
static String |
FILTER_PROPERTY
Filter property name. |
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
FilterChooser(String appName,
List propertyNames)
Construct this object with the given parameters. |
|
FilterChooser(String appName,
List propertyNames,
boolean isEditFiltersButtonUsed)
Construct this object with the given parameters. |
Method Summary | |
---|---|
void |
addFilterListPropertyListener(PropertyChangeListener listener)
Add the given filter list property change listener. |
void |
addFilterPropertyListener(PropertyChangeListener listener)
Add the given filter property change listener. |
void |
editFiltersActionPerformed(ActionEvent event)
Callback for the edit filters action. |
protected String |
getAppName()
|
Action |
getEditFiltersAction()
|
protected IFilter |
getFilter()
|
List |
getFilterList()
|
IFilter |
getSelectedFilter()
|
protected void |
init(List propertyNames,
boolean isEditFiltersButtonUsed)
Initialize. |
void |
removeFilterListPropertyListener(PropertyChangeListener listener)
Remove the given filter list property change listener. |
void |
removeFilterPropertyListener(PropertyChangeListener listener)
Remove the given filter property change listener. |
protected void |
setAppName(String appName)
|
void |
setFilterList(List filterList)
|
void |
setSelectedFilter(IFilter selectedFilter)
|
Methods inherited from class javax.swing.JPanel |
---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String FILTER_PROPERTY
public static final String FILTER_LIST_PROPERTY
Constructor Detail |
---|
public FilterChooser(String appName, List propertyNames)
appName
- The name of the application.propertyNames
- Property names.public FilterChooser(String appName, List propertyNames, boolean isEditFiltersButtonUsed)
appName
- The name of the application.propertyNames
- Property names.isEditFiltersButtonUsed
- Flag indicating whether to use the edit
filters button.Method Detail |
---|
public void addFilterListPropertyListener(PropertyChangeListener listener)
listener
- Listener.public void addFilterPropertyListener(PropertyChangeListener listener)
listener
- Listener.public void editFiltersActionPerformed(ActionEvent event)
event
- Action event.public Action getEditFiltersAction()
public List getFilterList()
public IFilter getSelectedFilter()
public void removeFilterListPropertyListener(PropertyChangeListener listener)
listener
- Listener.public void removeFilterPropertyListener(PropertyChangeListener listener)
listener
- Listener.public void setFilterList(List filterList)
filterList
- to set.public void setSelectedFilter(IFilter selectedFilter)
selectedFilter
- The selectedFilter to set.protected String getAppName()
protected IFilter getFilter()
protected void init(List propertyNames, boolean isEditFiltersButtonUsed)
propertyNames
- Property names.protected void setAppName(String appName)
appName
- The appName to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2007 Vizzini.org. All Rights Reserved. | 2007.12.25.03.00.02 |