|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--PaP.UserProfile
The UserProfile class contains the data of the UserProfile of a user. A user profile has a username and a password, and a boolean variable indicating wether the user that this UserProfile belongs to has logged in or not. It has also some properties used by the UserWindow to show User mobility.
UserWindow, Serialized Form| Field Summary | |
java.awt.Color |
backgroundColor
The background color of the UserWindow. |
boolean |
loggedIn
Specifies wether the the user that this UserProfil belongs to is logged in or not. |
java.lang.String |
password
The password of the user this profile belongs to. |
java.lang.String |
username
The username of the user this profile belongs to. |
int |
windowHeight
The height of the UserWindow. |
java.awt.Point |
windowLocation
The point specifying the top left corner of the UserWindow. |
int |
windowWidth
The width of the UserWindow. |
| Constructor Summary | |
UserProfile()
Creates a new userprofile. |
|
| Method Summary | |
boolean |
isValid()
Returns true if none of the properties are null and the height and widht are greater or equal to 0, else it returns false. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
public java.lang.String username
public java.lang.String password
public boolean loggedIn
public java.awt.Color backgroundColor
public java.awt.Point windowLocation
public int windowHeight
public int windowWidth
| Constructor Detail |
public UserProfile()
| Method Detail |
public boolean isValid()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||