All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class scrobble.ClientLetter

java.lang.Object
   |
   +----scrobble.Letter
           |
           +----scrobble.ClientLetter

public class ClientLetter
extends Letter
ClientLetter.java


Constructor Index

 o ClientLetter(char)
Creates a new Letter with the given name and the value 1 if nothing is given.
 o ClientLetter(char, int)
Creates a new Letter with the given name and the given value.

Method Index

 o getComponent()
Returns a label containing the letter (his name and his value).

Constructors

 o ClientLetter
 public ClientLetter(char name)
Creates a new Letter with the given name and the value 1 if nothing is given.

Parameters:
name - the name of the new Letter being created
 o ClientLetter
 public ClientLetter(char name,
                     int value)
Creates a new Letter with the given name and the given value.

Parameters:
name - the name of the new Letter being created
value - the value of the new letter being created

Methods

 o getComponent
 public Component getComponent()
Returns a label containing the letter (his name and his value).

Overrides:
getComponent in class Letter

All Packages  Class Hierarchy  This Package  Previous  Next  Index