com.xith.java3d.overlay
Class ChatManager

java.lang.Object
  |
  +--com.xith.java3d.overlay.ChatManager
All Implemented Interfaces:
java.util.EventListener, java.awt.event.KeyListener, ScrollEventListener

public class ChatManager
extends java.lang.Object
implements java.awt.event.KeyListener, ScrollEventListener

Description: Simple class to manage the keystrokes coming into an application and map them onto an array of LabelOverlays Copyright: Copyright (c) 2000,2001

Author:
Will Holcomb

Constructor Summary
ChatManager(OverlayScroller scroller)
           
 
Method Summary
static boolean isPunctuation(char c)
           
 void itemScrolled(ScrollEvent e)
           
 void keyPressed(java.awt.event.KeyEvent e)
           
 void keyReleased(java.awt.event.KeyEvent e)
           
 void keyTyped(java.awt.event.KeyEvent e)
           
 void pushLine(java.lang.String line)
           
 void scrollDown()
           
 void scrollUp()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChatManager

public ChatManager(OverlayScroller scroller)
Method Detail

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

itemScrolled

public void itemScrolled(ScrollEvent e)
Specified by:
itemScrolled in interface ScrollEventListener

scrollUp

public void scrollUp()

scrollDown

public void scrollDown()

pushLine

public void pushLine(java.lang.String line)

isPunctuation

public static boolean isPunctuation(char c)