|
||||||||||
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
cz.cuni.jagrlib.reg.SelectFilter
public abstract class SelectFilter
Filter for viewing modules.
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.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
---|---|
protected boolean |
showGroup
|
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 | |
---|---|
SelectFilter()
|
Method Summary | |
---|---|
void |
addActionListener(ActionListener l)
Adds the specified action listener to receive action events from this filter. |
void |
doActionPerformed(ActionEvent e)
Invoked in case of potential filter-change. |
abstract boolean |
filter(InfoModule im)
Test if module passes the associated filter. |
ActionListener[] |
getActionListeners()
Returns an array of all the action listeners registered on this filter. |
boolean |
getShowGroup()
Able to select groups? |
protected void |
processActionEvent(ActionEvent e)
Processes action events occurring on this filter by dispatching them to any registered ActionListener objects. |
void |
removeActionListener(ActionListener l)
Removes the specified action listener so that it no longer receives action events from this filter. |
void |
setParam(Object par)
Sets filtering parameters from provided object. |
void |
setShowGroup(boolean b)
Sets ability of groups-selecting. |
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 |
---|
protected boolean showGroup
Constructor Detail |
---|
public SelectFilter()
Method Detail |
---|
public void setParam(Object par)
public boolean getShowGroup()
public void setShowGroup(boolean b)
public abstract boolean filter(InfoModule im)
public void doActionPerformed(ActionEvent e)
public void addActionListener(ActionListener l)
l
- the action listenerremoveActionListener(java.awt.event.ActionListener)
,
getActionListeners()
,
ActionListener
public void removeActionListener(ActionListener l)
l
- the action listeneraddActionListener(java.awt.event.ActionListener)
,
getActionListeners()
,
ActionListener
public ActionListener[] getActionListeners()
addActionListener(java.awt.event.ActionListener)
,
removeActionListener(java.awt.event.ActionListener)
,
ActionListener
protected void processActionEvent(ActionEvent e)
This method is not called unless action events are enabled for this filter. Action events are enabled when one of the following occurs:
Note that if the event parameter is null the behavior is unspecified and may result in an exception.
e
- the action eventActionListener
,
Component.enableEvents(long)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |