Package org.geotools.swing.wizard
Class JWizard.Controller
- Object
-
- Controller
-
- All Implemented Interfaces:
ActionListener
,KeyListener
,EventListener
,DocumentListener
,ListSelectionListener
- Enclosing class:
- JWizard
public class JWizard.Controller extends Object implements ActionListener, KeyListener, DocumentListener, ListSelectionListener
The controller listens to everything and updates the buttons
-
-
Field Summary
Fields Modifier and Type Field Description boolean
listen
-
Constructor Summary
Constructors Constructor Description Controller()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(ActionEvent e)
void
changedUpdate(DocumentEvent e)
void
insertUpdate(DocumentEvent e)
void
keyPressed(KeyEvent e)
void
keyReleased(KeyEvent e)
void
keyTyped(KeyEvent e)
void
removeUpdate(DocumentEvent e)
void
setListen(boolean listen)
Set listen to false to update a field without the controller passing on a notification.void
syncButtonsToPage()
void
valueChanged(ListSelectionEvent e)
-
-
-
Method Detail
-
actionPerformed
public void actionPerformed(ActionEvent e)
- Specified by:
actionPerformed
in interfaceActionListener
-
setListen
public void setListen(boolean listen)
Set listen to false to update a field without the controller passing on a notification.
-
syncButtonsToPage
public void syncButtonsToPage()
-
keyPressed
public void keyPressed(KeyEvent e)
- Specified by:
keyPressed
in interfaceKeyListener
-
keyReleased
public void keyReleased(KeyEvent e)
- Specified by:
keyReleased
in interfaceKeyListener
-
keyTyped
public void keyTyped(KeyEvent e)
- Specified by:
keyTyped
in interfaceKeyListener
-
changedUpdate
public void changedUpdate(DocumentEvent e)
- Specified by:
changedUpdate
in interfaceDocumentListener
-
insertUpdate
public void insertUpdate(DocumentEvent e)
- Specified by:
insertUpdate
in interfaceDocumentListener
-
removeUpdate
public void removeUpdate(DocumentEvent e)
- Specified by:
removeUpdate
in interfaceDocumentListener
-
valueChanged
public void valueChanged(ListSelectionEvent e)
- Specified by:
valueChanged
in interfaceListSelectionListener
-
-