org.geotools.swing.wizard
Class JWizard.Controller

Object
  extended by JWizard.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
 boolean listen
           
 
Constructor Summary
JWizard.Controller()
           
 
Method Summary
 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)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

listen

public boolean listen
Constructor Detail

JWizard.Controller

public JWizard.Controller()
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Specified by:
actionPerformed in interface ActionListener

setListen

public void setListen(boolean listen)
Set listen to false to update a field without the controller passing on a notification.

Parameters:
listen -

syncButtonsToPage

public void syncButtonsToPage()

keyPressed

public void keyPressed(KeyEvent e)
Specified by:
keyPressed in interface KeyListener

keyReleased

public void keyReleased(KeyEvent e)
Specified by:
keyReleased in interface KeyListener

keyTyped

public void keyTyped(KeyEvent e)
Specified by:
keyTyped in interface KeyListener

changedUpdate

public void changedUpdate(DocumentEvent e)
Specified by:
changedUpdate in interface DocumentListener

insertUpdate

public void insertUpdate(DocumentEvent e)
Specified by:
insertUpdate in interface DocumentListener

removeUpdate

public void removeUpdate(DocumentEvent e)
Specified by:
removeUpdate in interface DocumentListener

valueChanged

public void valueChanged(ListSelectionEvent e)
Specified by:
valueChanged in interface ListSelectionListener


Copyright © 1996-2010 Geotools. All Rights Reserved.