|
UIX 2.2.8 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.cabo.ui.laf.Score | +--oracle.cabo.ui.laf.ScoreImpl
Implementation of Score which provides storage for all component scores.
Fields inherited from class oracle.cabo.ui.laf.Score |
COMPARISON_MATCH, DONT_CARE_MATCH, EXACT_MATCH, NO_MATCH, RANGE_MATCH |
Constructor Summary | |
ScoreImpl(int nameScore,
int agentTypeScore,
int agentApplicationScore,
int agentVersionScore,
int agentOSScore,
int discriminantScore)
Creates a ScoreImpl object based on the specified component scores. |
Method Summary | |
int |
getAgentApplicationScore()
Returns the score for the Agent application. |
int |
getAgentOSScore()
Returns the score for the Agent operating system. |
int |
getAgentTypeScore()
Returns the score for the Agent type. |
int |
getAgentVersionScore()
Returns the score for the Agent version. |
int |
getDiscriminantScore()
Returns a discriminant score that is used as a tie-breaker when multiple LookAndFeels produce the same score. |
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 |
Constructor Detail |
public ScoreImpl(int nameScore, int agentTypeScore, int agentApplicationScore, int agentVersionScore, int agentOSScore, int discriminantScore)
Each component score must be one of the MATCH constants specified above.
nameScore
- The score for the look and feel family nameagentTypeScore
- The score for the Agent typeagentApplicationScore
- The score for the Agent applicationagentVersionScore
- The score for the Agent versionagentOSScore
- The score for the Agent operating systemdiscriminantScore
- A discriminant score that is used to resolve
ties between multiple LookAndFeels.Method Detail |
public int getNameScore()
getNameScore
in class Score
public int getAgentTypeScore()
getAgentTypeScore
in class Score
public int getAgentApplicationScore()
getAgentApplicationScore
in class Score
public int getAgentVersionScore()
getAgentVersionScore
in class Score
public int getAgentOSScore()
getAgentOSScore
in class Score
public int getDiscriminantScore()
getDiscriminantScore
in class Score
|
UIX 2.2.8 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |