|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.trinidadinternal.ui.laf.Score
public abstract class Score
The Score object is used by LookAndFeelScorer to report the results of the look and feel scoring process.
Field Summary | |
---|---|
static int |
COMPARISON_MATCH
Constant used to indicate that the value that is being tested is acceptable to the LookAndFeelScorer, and that the match is stronger than a DONT_CARE_MATCH. |
static int |
DONT_CARE_MATCH
Constant used to indicate that the LookAndFeelScorer has no preference for the value that is being tested, but that the value is acceptable. |
static int |
EXACT_MATCH
Constant used to indicate that LookAndFeelScorer considers the value that is being test to be an exact match. |
static int |
NO_MATCH
Constant used to indicate that the value that is being tested is not acceptable to the LookAndFeelScorer. |
static int |
RANGE_MATCH
Constant used to indicate that the value that is being tested falls within a range that is acceptable to the LookAndFeelScorer. |
Constructor Summary | |
---|---|
Score()
|
Method Summary | |
---|---|
abstract int |
getAgentApplicationScore()
Returns the score for the Agent application. |
abstract int |
getAgentOSScore()
Returns the score for the Agent operating system. |
abstract int |
getAgentTypeScore()
Returns the score for the Agent type. |
abstract int |
getAgentVersionScore()
Returns the score for the Agent version. |
abstract int |
getDiscriminantScore()
Returns a discriminant score that is used as a tie-breaker when multiple LookAndFeels produce the same score. |
abstract int |
getNameScore()
Returns the score for the look and feel family name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int NO_MATCH
public static final int DONT_CARE_MATCH
public static final int COMPARISON_MATCH
public static final int RANGE_MATCH
public static final int EXACT_MATCH
Constructor Detail |
---|
public Score()
Method Detail |
---|
public abstract int getNameScore()
public abstract int getAgentTypeScore()
public abstract int getAgentApplicationScore()
public abstract int getAgentVersionScore()
public abstract int getAgentOSScore()
public abstract int getDiscriminantScore()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |