Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.barteo.emulator.device.applet
Class AppletButton  view AppletButton download AppletButton.java

java.lang.Object
  extended bycom.barteo.emulator.device.applet.AppletButton
Direct Known Subclasses:
AppletSoftButton

public class AppletButton
extends java.lang.Object


Field Summary
(package private)  char[] chars
           
(package private)  int key
           
(package private)  java.lang.String name
           
(package private)  java.awt.Rectangle rectangle
           
 
Constructor Summary
AppletButton(java.lang.String name, java.awt.Rectangle rectangle, java.lang.String keyName, char[] chars)
           
 
Method Summary
 char[] getChars()
           
 int getKey()
           
private  int getKeyCode(java.lang.String keyName)
           
 java.lang.String getName()
           
 java.awt.Rectangle getRectangle()
           
 boolean isChar(char c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

java.lang.String name

rectangle

java.awt.Rectangle rectangle

key

int key

chars

char[] chars
Constructor Detail

AppletButton

public AppletButton(java.lang.String name,
                    java.awt.Rectangle rectangle,
                    java.lang.String keyName,
                    char[] chars)
Method Detail

getKey

public int getKey()

getChars

public char[] getChars()

isChar

public boolean isChar(char c)

getName

public java.lang.String getName()

getRectangle

public java.awt.Rectangle getRectangle()

getKeyCode

private int getKeyCode(java.lang.String keyName)