oracle.cabo.ui.laf
Class ScoreProxy
java.lang.Object
|
+--oracle.cabo.ui.laf.Score
|
+--oracle.cabo.ui.laf.ScoreProxy
- public class ScoreProxy
- extends Score
The Score subclass which is used to wrap another Score.
Constructor Summary |
ScoreProxy(Score baseScore)
Creates a ScoreProxy which wraps the specified "base" Score. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScoreProxy
public ScoreProxy(Score baseScore)
- Creates a ScoreProxy which wraps the specified "base" Score.
By default, all component scores will be pulled from the base Score.
Subclasses can modify individual component scores by overriding
one of the Score getter methods.
getNameScore
public int getNameScore()
- Returns the score for the look and feel family name.
- Overrides:
getNameScore
in class Score
getAgentTypeScore
public int getAgentTypeScore()
- Returns the score for the Agent type.
- Overrides:
getAgentTypeScore
in class Score
getAgentApplicationScore
public int getAgentApplicationScore()
- Returns the score for the Agent application.
- Overrides:
getAgentApplicationScore
in class Score
getAgentVersionScore
public int getAgentVersionScore()
- Returns the score for the Agent version.
- Overrides:
getAgentVersionScore
in class Score
getAgentOSScore
public int getAgentOSScore()
- Returns the score for the Agent operating system.
- Overrides:
getAgentOSScore
in class Score
getDiscriminantScore
public int getDiscriminantScore()
- Returns a discriminant score that is used as a tie-breaker
when multiple LookAndFeels produce the same score.
- Overrides:
getDiscriminantScore
in class Score