org.geotools.swing.wizard
Class JWizard.Controller

java.lang.Object
  extended by org.geotools.swing.wizard.JWizard.Controller
All Implemented Interfaces:
java.awt.event.ActionListener, java.awt.event.KeyListener, java.util.EventListener, javax.swing.event.DocumentListener, javax.swing.event.ListSelectionListener
Enclosing class:
JWizard

public class JWizard.Controller
extends java.lang.Object
implements java.awt.event.ActionListener, java.awt.event.KeyListener, javax.swing.event.DocumentListener, javax.swing.event.ListSelectionListener

The controller listens to everything and updates the buttons


Field Summary
 boolean listen
           
 
Constructor Summary
JWizard.Controller()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void changedUpdate(javax.swing.event.DocumentEvent e)
           
 void insertUpdate(javax.swing.event.DocumentEvent e)
           
 void keyPressed(java.awt.event.KeyEvent e)
           
 void keyReleased(java.awt.event.KeyEvent e)
           
 void keyTyped(java.awt.event.KeyEvent e)
           
 void removeUpdate(javax.swing.event.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(javax.swing.event.ListSelectionEvent e)
           
 
Methods inherited from class java.lang.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(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.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(java.awt.event.KeyEvent e)
Specified by:
keyPressed in interface java.awt.event.KeyListener

keyReleased

public void keyReleased(java.awt.event.KeyEvent e)
Specified by:
keyReleased in interface java.awt.event.KeyListener

keyTyped

public void keyTyped(java.awt.event.KeyEvent e)
Specified by:
keyTyped in interface java.awt.event.KeyListener

changedUpdate

public void changedUpdate(javax.swing.event.DocumentEvent e)
Specified by:
changedUpdate in interface javax.swing.event.DocumentListener

insertUpdate

public void insertUpdate(javax.swing.event.DocumentEvent e)
Specified by:
insertUpdate in interface javax.swing.event.DocumentListener

removeUpdate

public void removeUpdate(javax.swing.event.DocumentEvent e)
Specified by:
removeUpdate in interface javax.swing.event.DocumentListener

valueChanged

public void valueChanged(javax.swing.event.ListSelectionEvent e)
Specified by:
valueChanged in interface javax.swing.event.ListSelectionListener


Copyright © 1996-2010 Geotools. All Rights Reserved.