org.thdl.tib.input
Class JskadKeyboardManager

java.lang.Object
  |
  +--org.thdl.tib.input.JskadKeyboardManager

public class JskadKeyboardManager
extends Object

A JskadKeyboardManager maintains a list of JskadKeyboards.

Author:
David Chandler

Constructor Summary
JskadKeyboardManager()
          Creates a manager without any keyboards in it, even the built-in extended Wylie keyboard.
JskadKeyboardManager(org.thdl.tib.input.JskadKeyboard[] keyboards)
          Creates a manager with the specified keyboards in it.
 
Method Summary
 void addKeyboard(org.thdl.tib.input.JskadKeyboard keybd)
          Adds a JskadKeyboard to this manager.
 org.thdl.tib.input.JskadKeyboard elementAt(int index)
          Returns the JskadKeyboard at the zero-based index.
 String[] getIdentifyingStrings()
          Returns an array of the identifying strings associated with all managed keyboards.
 int size()
          Returns the number of JskadKeyboards being managed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JskadKeyboardManager

public JskadKeyboardManager()
Creates a manager without any keyboards in it, even the built-in extended Wylie keyboard.


JskadKeyboardManager

public JskadKeyboardManager(org.thdl.tib.input.JskadKeyboard[] keyboards)
                     throws NullPointerException
Creates a manager with the specified keyboards in it. The keyboard at index 0 will be the most prominent in the user's eyes.

Method Detail

addKeyboard

public void addKeyboard(org.thdl.tib.input.JskadKeyboard keybd)
                 throws NullPointerException
Adds a JskadKeyboard to this manager. It will be the least prominent in the user's eyes of any yet added.

NullPointerException

elementAt

public org.thdl.tib.input.JskadKeyboard elementAt(int index)
                                           throws ArrayIndexOutOfBoundsException
Returns the JskadKeyboard at the zero-based index.

ArrayIndexOutOfBoundsException

size

public int size()
Returns the number of JskadKeyboards being managed.


getIdentifyingStrings

public String[] getIdentifyingStrings()
Returns an array of the identifying strings associated with all managed keyboards.



These API docs were created 02/02/2003 08:19 PM.
Copyright © 2001-2002 Tibetan and Himalayan Digital Library. All Rights Reserved.
Hosted by SourceForge_Logo