|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectCommandListener
public class CommandListener
The main ActionListener
and ItemListener
of Ubench's GUI.
For file choosers, it provides some file filters and stores the
last chosen path.
Nested Class Summary | |
---|---|
class |
CommandListener.PDFFilter
A FileFilter that
accepts files with *.pdf-extension. |
class |
CommandListener.PDFView
A FileView that shows
PDF-Files. |
class |
CommandListener.XMLFilter
A FileFilter that
accepts files with *.xml-extension. |
Constructor Summary | |
---|---|
CommandListener()
Creates a new Instance of CommandListener . |
Method Summary | |
---|---|
void |
actionPerformed(ActionEvent e)
Overwrites the actionPerformed method of
ActionListener . |
void |
itemStateChanged(ItemEvent e)
Overwrites the itemStateChanged method of
ItemListener . |
void |
registerEventSource(Object source,
String desc)
TODO comment me! |
void |
stateChanged(ConnectionManager.State newState)
|
Methods inherited from class Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CommandListener()
CommandListener
.
Method Detail |
---|
public void actionPerformed(ActionEvent e)
actionPerformed
method of
ActionListener
.
actionPerformed
in interface ActionListener
public void itemStateChanged(ItemEvent e)
itemStateChanged
method of
ItemListener
.
This handles the events occuring when one of the
preference checkboxes is (de-)selected.
itemStateChanged
in interface ItemListener
public void registerEventSource(Object source, String desc)
source
- desc
- public void stateChanged(ConnectionManager.State newState)
stateChanged
in interface ConnectionManager.StateChangeListener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |