|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FPConstants
This interface declares various constants that are used in
the FacePamphlet application. To use the constants in this
interface, all you need to do is add FPConstants
to the implements
clause for your class.
Field Summary | |
---|---|
static int |
APPLICATION_HEIGHT
The height of the application window. |
static int |
APPLICATION_WIDTH
The width of the application window. |
static double |
BOTTOM_MARGIN
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. |
static double |
IMAGE_HEIGHT
The maximum height (in pixels) that profile images should be displayed. |
static String |
IMAGE_KEY
The standardized constant for the key that represents the user's image. |
static double |
IMAGE_STATUS_SEP
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. |
static String |
INTERESTS_KEY
The standardized constant for the key that represents the user's interests. |
static double |
LEFT_MARGIN
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. |
static String |
MESSAGE_FONT
Name of font used to display the application message at the bottom of the display canvas. |
static double |
NAME_IMAGE_SEP
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. |
static String |
NAME_KEY
The standardized constant for the key that represents the full name of a user. |
static String |
PASSWORD_KEY
The standardized constant for the key that represents the user's password. |
static String |
PROFILE_IMAGE_FONT
Name of font used to display the text "No Image" in user profiles that do not contain an actual image. |
static String |
PROFILE_NAME_FONT
Name of font used to display the name in a user's profile. |
static String |
PROFILE_STATUS_FONT
Name of font used to display the status in a user's profile. |
static double |
RIGHT_MARGIN
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. |
static String |
STATUS_KEY
The standardized constant for the key that represents the user's status. |
static double |
TOP_MARGIN
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. |
static String |
WALL_KEY
The standardized constant for the key that represents the user's wall. |
Field Detail |
---|
static final int APPLICATION_WIDTH
static final int APPLICATION_HEIGHT
static final String MESSAGE_FONT
static final String PROFILE_NAME_FONT
static final String PROFILE_IMAGE_FONT
static final String PROFILE_STATUS_FONT
static final double IMAGE_HEIGHT
static final double LEFT_MARGIN
static final double RIGHT_MARGIN
static final double TOP_MARGIN
static final double NAME_IMAGE_SEP
static final double IMAGE_STATUS_SEP
static final double BOTTOM_MARGIN
static final String NAME_KEY
static final String PASSWORD_KEY
static final String IMAGE_KEY
static final String STATUS_KEY
static final String WALL_KEY
addMessageToWall
method in
the FPRepository
class.
static final String INTERESTS_KEY
|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |