|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.lyra.Interface.Constants
public final class Constants
Constants exists exclusively to provide a consistent set of values between classes. This in return makes it easier to maintain a consistent look and feel.
Field Summary | |
---|---|
private static int |
ART_SIZE
|
private static int |
DEF_VOLUME
|
static java.util.Map<java.lang.String,java.lang.String> |
fileHelp
Map that contains filenames for various help documents that may be accessed at any time. |
static java.util.Map<java.lang.String,java.lang.String> |
fileIcons
Map that contains a list of all known icons for cleaner interfacing. |
private static int |
INDENT_SPACE
|
private static int |
LABEL_SPACE
|
private static int |
LABEL_WIDTH
|
private static int |
NORMAL_SPACE
|
private static int |
RATING_MAX
|
private static int |
ROW_SPACE
|
private static int |
SCREEN_BUFFER
|
private static int |
SEARCH_BUFFER
|
private static int |
SECT_SPACE
|
private static int |
SMALL_SPACE
|
private static int |
TIP_DISMISS
|
private static int |
TIP_INITIAL
|
private static int |
TIP_RESHOW
|
private static int |
WIDGET_HEIGHT
|
private static int |
WIDGET_WIDTH
|
Constructor Summary | |
---|---|
Constants()
|
Method Summary | |
---|---|
static int |
getArtSize()
Returns the single dimension used to display album art. |
static int |
getDefaultVolume()
Returns the default volume level when missing information. |
static int |
getIndentGap()
Space necessary to create an indentation gap. |
static int |
getLabelSpacer()
Label width is used in the generation of table like structures as a way to enforce the space between a label and the associated interface element. |
static int |
getLabelWidth()
Label width is used in the generation of table like structures as a way to enforce the width of labels for a consistent look and feel. |
static int |
getMaxRating()
Returns the maximum number of stars a rating can have. |
static int |
getNormalGap()
In certain circumstances we need additional spacers even if they are not directly attached to the above. |
static int |
getPaddingHeight()
When generating table-like elements it becomes necessary to add in a bit of spacing. |
static int |
getPaddingWidth()
When generating table-like elements it becomes necessary to add in a bit of spacing. |
static int |
getRowGap()
Enforces the space between row elements when creating table like elements for display. |
static int |
getScreenBuffer()
Screen buffer is a generic number in order to determine if certain windows may require a resize. |
static int |
getSearchBuffer()
The JToolBar element used for the Search capability requires an additional spacing. |
static int |
getSectionGap()
Gap which exists between various elements in order to provide a cleaner overall look and feel. |
static int |
getSmallGap()
In certain circumstances we need additional spacers even if they are not directly attached to the above. |
static int |
getTipDismissDelay()
Returns the dismissal delay value. |
static int |
getTipInitialDelay()
Returns the initial delay value. |
static int |
getTipReshowDelay()
Returns the reshow delay property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final int LABEL_WIDTH
private static final int LABEL_SPACE
private static final int ROW_SPACE
private static final int SECT_SPACE
private static final int WIDGET_HEIGHT
private static final int WIDGET_WIDTH
private static final int NORMAL_SPACE
private static final int SMALL_SPACE
private static final int INDENT_SPACE
private static final int SCREEN_BUFFER
private static final int TIP_INITIAL
private static final int TIP_RESHOW
private static final int TIP_DISMISS
private static final int ART_SIZE
private static final int RATING_MAX
private static final int DEF_VOLUME
private static final int SEARCH_BUFFER
public static final java.util.Map<java.lang.String,java.lang.String> fileIcons
public static final java.util.Map<java.lang.String,java.lang.String> fileHelp
Constructor Detail |
---|
public Constants()
Method Detail |
---|
public static final int getLabelWidth()
public static final int getLabelSpacer()
public static final int getRowGap()
public static final int getSectionGap()
public static final int getPaddingHeight()
public static final int getPaddingWidth()
public static final int getSmallGap()
public static final int getNormalGap()
public static final int getIndentGap()
public static final int getScreenBuffer()
public static final int getTipInitialDelay()
public static final int getTipReshowDelay()
public static final int getTipDismissDelay()
public static int getArtSize()
public static int getMaxRating()
public static int getDefaultVolume()
public static int getSearchBuffer()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |