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 booleanlisten
-
Constructor Summary
Constructors Constructor Description Controller()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactionPerformed(ActionEvent e)voidchangedUpdate(DocumentEvent e)voidinsertUpdate(DocumentEvent e)voidkeyPressed(KeyEvent e)voidkeyReleased(KeyEvent e)voidkeyTyped(KeyEvent e)voidremoveUpdate(DocumentEvent e)voidsetListen(boolean listen)Set listen to false to update a field without the controller passing on a notification.voidsyncButtonsToPage()voidvalueChanged(ListSelectionEvent e)
-
-
-
Method Detail
-
actionPerformed
public void actionPerformed(ActionEvent e)
- Specified by:
actionPerformedin 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:
keyPressedin interfaceKeyListener
-
keyReleased
public void keyReleased(KeyEvent e)
- Specified by:
keyReleasedin interfaceKeyListener
-
keyTyped
public void keyTyped(KeyEvent e)
- Specified by:
keyTypedin interfaceKeyListener
-
changedUpdate
public void changedUpdate(DocumentEvent e)
- Specified by:
changedUpdatein interfaceDocumentListener
-
insertUpdate
public void insertUpdate(DocumentEvent e)
- Specified by:
insertUpdatein interfaceDocumentListener
-
removeUpdate
public void removeUpdate(DocumentEvent e)
- Specified by:
removeUpdatein interfaceDocumentListener
-
valueChanged
public void valueChanged(ListSelectionEvent e)
- Specified by:
valueChangedin interfaceListSelectionListener
-
-