com.sas.visuals.adapters
Class BaseKeyAdapter
com.sas.visuals.adapters.BaseKeyAdapter
All Implemented Interfaces: java.awt.event.ContainerListener , java.awt.event.KeyListener , java.util.EventListener
public class BaseKeyAdapter implements java.awt.event.KeyListener , java.awt.event.ContainerListener
BaseKeyAdaptor is an abstract helper class which listens for key events
on a component/container and any child components. Subclasses may override the
KeyListener methods and provide custom functionality.
container
protected java.awt.Container container
BaseKeyAdapter
public BaseKeyAdapter (java.awt.Container container)
addListeners
protected void addListeners (java.awt.Container container)
removeListeners
protected void removeListeners (java.awt.Container container)
keyTyped
public void keyTyped (java.awt.event.KeyEvent event)
Specified by: keyTyped
in interface java.awt.event.KeyListener
keyPressed
public void keyPressed (java.awt.event.KeyEvent event)
Specified by: keyPressed
in interface java.awt.event.KeyListener
keyReleased
public void keyReleased (java.awt.event.KeyEvent event)
Specified by: keyReleased
in interface java.awt.event.KeyListener
componentAdded
public void componentAdded (java.awt.event.ContainerEvent event)
Specified by: componentAdded
in interface java.awt.event.ContainerListener
componentRemoved
public void componentRemoved (java.awt.event.ContainerEvent event)
Specified by: componentRemoved
in interface java.awt.event.ContainerListener
Copyright © 2009 SAS Institute Inc. All Rights Reserved.