info.joseluismartin.gui.editor
Class ControlState

java.lang.Object
  extended by info.joseluismartin.gui.editor.ControlState
All Implemented Interfaces:
EditorListener, ActionListener, KeyListener, EventListener, ChangeListener, ListSelectionListener

public class ControlState
extends Object
implements ActionListener, ChangeListener, KeyListener, ListSelectionListener, EditorListener

Author:
Jose Luis Martin - (jlm@joseluismartin.info)

Constructor Summary
ControlState()
           
 
Method Summary
 void actionPerformed(ActionEvent e)
          
 Editor<?> getEditor()
           
 void keyPressed(KeyEvent e)
          
 void keyReleased(KeyEvent e)
          
 void keyTyped(KeyEvent e)
          
 void listen(Object c)
           
 void modelChanged(EditorEvent e)
          notify that model change state
 void setEditor(Editor<?> editor)
           
 void stateChanged(ChangeEvent e)
          
 void valueChanged(ListSelectionEvent e)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ControlState

public ControlState()
Method Detail

listen

public void listen(Object c)

actionPerformed

public void actionPerformed(ActionEvent e)

Specified by:
actionPerformed in interface ActionListener

stateChanged

public void stateChanged(ChangeEvent e)

Specified by:
stateChanged in interface ChangeListener

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

valueChanged

public void valueChanged(ListSelectionEvent e)

Specified by:
valueChanged in interface ListSelectionListener

modelChanged

public void modelChanged(EditorEvent e)
notify that model change state

Specified by:
modelChanged in interface EditorListener
Parameters:
e - editor event

getEditor

public Editor<?> getEditor()
Returns:
the editor

setEditor

public void setEditor(Editor<?> editor)
Parameters:
editor - the editor to set


Copyright © 2013 JDAL. All Rights Reserved.