A B C F G I L M N P R S T W

A

acceptFriend(String) - Method in class stanford.facepamphlet.FPRepository
Accepts a friend request from the user with the specified id.
add(String) - Method in class FPScrollableList
Adds a new name to the bottom of the list.
addActionListener(ActionListener) - Method in class FPScrollableList
Adds an action listener to this list.
APPLICATION_HEIGHT - Static variable in interface FPConstants
The height of the application window.
APPLICATION_WIDTH - Static variable in interface FPConstants
The width of the application window.

B

BOTTOM_MARGIN - Static variable in interface FPConstants
The number of pixels in the vertical margin between the bottom of the canvas display area and the baseline of the Message display in the profile.

C

clear() - Method in class FPScrollableList
Removes all names from the list.
clear() - Method in class FPScrollableTextArea
Clears the text area.
closeConnection() - Method in class stanford.facepamphlet.FPRepository
Closes the connection to the server.
convertGImageToString(GImage) - Method in class stanford.facepamphlet.FPRepository
Converts a GImage object to a string so that it can be stored in the repository.
convertStringToGImage(String) - Method in class stanford.facepamphlet.FPRepository
Converts a string to a GImage.

F

fireActionListeners() - Method in class FPScrollableList
Fires the action listeners for this list.
FPConstants - Interface in stanford.facepamphlet
This interface declares various constants that are used in the FacePamphlet application.
FPRepository - Class in stanford.facepamphlet
This class is used to share information among users of the FacePamphlet application.
FPRepository() - Constructor for class stanford.facepamphlet.FPRepository
Creates a connection to the FacePamphlet repository.
FPRepository(String, String) - Constructor for class stanford.facepamphlet.FPRepository
Creates a connection to the FacePamphlet repository using the specified name and password.
FPRepositoryStub - Class in stanford.facepamphlet
This class exports a version of the FPRepository that simulates all operations locally without actually connecting to the network.
FPRepositoryStub(String, String) - Constructor for class stanford.facepamphlet.FPRepositoryStub
Constructs a new stub repository for the specified user, with the specified values for id and name.
FPScrollableList - Class in stanford.facepamphlet
This class implements a scrolling list interactor that can be used for displaying or choosing friends.
FPScrollableList() - Constructor for class FPScrollableList
Creates a new FPFriendList object.
FPScrollableTextArea - Class in stanford.facepamphlet
This class implements a scrollable text area.
FPScrollableTextArea() - Constructor for class FPScrollableTextArea
Creates a new scrollable text area, which is initially empty.

G

getActionCommand() - Method in class FPScrollableList
Returns the action command sent if this list is double-clicked.
getAllUsers() - Method in class stanford.facepamphlet.FPRepository
Returns an array all user ids currently in the repository.
getCurrentUserId() - Method in class stanford.facepamphlet.FPRepository
Returns the id for the current user.
getFriendRequests() - Method in class stanford.facepamphlet.FPRepository
Returns an array containing the ids of the users who have requested to be your friends.
getLastServerMessage() - Method in class stanford.facepamphlet.FPRepository
Gets the last status message returned by the server.
getMyFriends() - Method in class stanford.facepamphlet.FPRepository
Returns an array containing the ids of the users who are currently your friends.
getPreferredSize() - Method in class FPScrollableTextArea
Returns the preferred dimensions of this text area.
getProperty(String) - Method in class stanford.facepamphlet.FPRepository
Gets the value associated with key on the server.
getSelectedName() - Method in class FPScrollableList
Gets the selected name from the list.
getText() - Method in class FPScrollableTextArea
Gets the text currently shown in this text area.

I

IMAGE_HEIGHT - Static variable in interface FPConstants
The maximum height (in pixels) that profile images should be displayed.
IMAGE_KEY - Static variable in interface FPConstants
The standardized constant for the key that represents the user's image.
IMAGE_STATUS_SEP - Static variable in interface FPConstants
The number of vertical pixels in the vertical margin between the bottom of the Image and the top of the Status component in the profile.
INTERESTS_KEY - Static variable in interface FPConstants
The standardized constant for the key that represents the user's interests.
isEditable() - Method in class FPScrollableTextArea
Returns true if this text area is editable, and false if it is not.
isMyFriend(String) - Method in class stanford.facepamphlet.FPRepository
Returns true if the specified id is a friend, and false otherwise.

L

LEFT_MARGIN - Static variable in interface FPConstants
The number of pixels in the horizontal margin between the left side of the canvas display area and the Name, Image, Status, and Message components that are displayed in the profile.

M

MESSAGE_FONT - Static variable in interface FPConstants
Name of font used to display the application message at the bottom of the display canvas.

N

NAME_IMAGE_SEP - Static variable in interface FPConstants
The number of pixels in the vertical margin between the baseline of the Name component and the top of the Image displayed in the profile.
NAME_KEY - Static variable in interface FPConstants
The standardized constant for the key that represents the full name of a user.

P

PASSWORD_KEY - Static variable in interface FPConstants
The standardized constant for the key that represents the user's password.
PROFILE_IMAGE_FONT - Static variable in interface FPConstants
Name of font used to display the text "No Image" in user profiles that do not contain an actual image.
PROFILE_NAME_FONT - Static variable in interface FPConstants
Name of font used to display the name in a user's profile.
PROFILE_STATUS_FONT - Static variable in interface FPConstants
Name of font used to display the status in a user's profile.

R

rejectFriend(String) - Method in class stanford.facepamphlet.FPRepository
Rejects a friend request from the user with the specified id.
removeActionListener(ActionListener) - Method in class FPScrollableList
Removes an action listener from this list.
requestFriend(String) - Method in class stanford.facepamphlet.FPRepository
Extends a friend request to the specified person.
RIGHT_MARGIN - Static variable in interface FPConstants
The number of pixels in the horizontal margin between the right side of the canvas display area and the Name, Image, and Status components that are displayed in the profile.

S

sendMessage(String, String) - Method in class stanford.facepamphlet.FPRepository
Sends a message to the wall for the specified id.
setActionCommand(String) - Method in class FPScrollableList
Sets the action command sent if this list is double-clicked.
setEditable(boolean) - Method in class FPScrollableTextArea
Controls whether this text area is editable by the user.
setFont(String) - Method in class FPScrollableTextArea
Sets the font for this text area.
setProperty(String, String) - Method in class stanford.facepamphlet.FPRepository
Sets the value associated with key on the server.
setText(String) - Method in class FPScrollableTextArea
Sets the text for this text area to the specified string.
stanford.facepamphlet - package stanford.facepamphlet
 
STATUS_KEY - Static variable in interface FPConstants
The standardized constant for the key that represents the user's status.

T

TOP_MARGIN - Static variable in interface FPConstants
The number of pixels in the vertical margin between the top of the canvas display area and the top (NOT the baseline) of the Name component that is displayed in the profile.

W

WALL_KEY - Static variable in interface FPConstants
The standardized constant for the key that represents the user's wall.

A B C F G I L M N P R S T W