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
-
ClientLetter(char)
- Creates a new Letter with the given name
and the value 1 if nothing is given.
-
ClientLetter(char, int)
- Creates a new Letter with the given name
and the given value.
-
getComponent()
- Returns a label containing the letter (his name and his value).
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
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
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