apps.mtdesktop.tabletop.notepad
Class MultiUserNotepad

java.lang.Object
  extended by apps.mtdesktop.tabletop.notepad.MultiUserNotepad
All Implemented Interfaces:
TabletopContentManager.DesktopKeyboardListener

public class MultiUserNotepad
extends java.lang.Object
implements TabletopContentManager.DesktopKeyboardListener

The Class MultiUserNotepad.


Field Summary
 int fontSize
          The font size.
 int padHeight
          The pad height.
 int padWidth
          The pad width.
 
Constructor Summary
MultiUserNotepad(ContentSystem contentSystem)
          Instantiates a new multi user notepad.
 
Method Summary
 Window getWindow()
          Gets the window.
 void keyPressed(TableIdentity tableId, java.awt.event.KeyEvent evt)
          Key pressed.
 void keyReleased(TableIdentity tableId, java.awt.event.KeyEvent evt)
          Key released.
 void keyTyped(TableIdentity tableId, java.awt.event.KeyEvent evt)
          Key typed.
 void registerUser(TableIdentity tableId, java.awt.Color color)
          Register user.
 void unregisterUser(TableIdentity tableId)
          Unregister user.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fontSize

public int fontSize
The font size.


padHeight

public int padHeight
The pad height.


padWidth

public int padWidth
The pad width.

Constructor Detail

MultiUserNotepad

public MultiUserNotepad(ContentSystem contentSystem)
Instantiates a new multi user notepad.

Parameters:
contentSystem - the content system
Method Detail

getWindow

public Window getWindow()
Gets the window.

Returns:
the window

keyPressed

public void keyPressed(TableIdentity tableId,
                       java.awt.event.KeyEvent evt)
Description copied from interface: TabletopContentManager.DesktopKeyboardListener
Key pressed.

Specified by:
keyPressed in interface TabletopContentManager.DesktopKeyboardListener
Parameters:
tableId - the table id
evt - the evt

keyReleased

public void keyReleased(TableIdentity tableId,
                        java.awt.event.KeyEvent evt)
Description copied from interface: TabletopContentManager.DesktopKeyboardListener
Key released.

Specified by:
keyReleased in interface TabletopContentManager.DesktopKeyboardListener
Parameters:
tableId - the table id
evt - the evt

keyTyped

public void keyTyped(TableIdentity tableId,
                     java.awt.event.KeyEvent evt)
Description copied from interface: TabletopContentManager.DesktopKeyboardListener
Key typed.

Specified by:
keyTyped in interface TabletopContentManager.DesktopKeyboardListener
Parameters:
tableId - the table id
evt - the evt

registerUser

public void registerUser(TableIdentity tableId,
                         java.awt.Color color)
Register user.

Parameters:
tableId - the table id
color - the color

unregisterUser

public void unregisterUser(TableIdentity tableId)
Unregister user.

Parameters:
tableId - the table id