org.apache.myfaces.trinidadinternal.ui.laf
Class ScoreProxy

java.lang.Object
  extended by org.apache.myfaces.trinidadinternal.ui.laf.Score
      extended by org.apache.myfaces.trinidadinternal.ui.laf.ScoreProxy

public class ScoreProxy
extends Score

The Score subclass which is used to wrap another Score.

Version:
$Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/ui/laf/ScoreProxy.java#0 $) $Date: 10-nov-2005.18:50:34 $
Author:
The Oracle ADF Faces Team

Field Summary
 
Fields inherited from class org.apache.myfaces.trinidadinternal.ui.laf.Score
COMPARISON_MATCH, DONT_CARE_MATCH, EXACT_MATCH, NO_MATCH, RANGE_MATCH
 
Constructor Summary
ScoreProxy(Score baseScore)
          Creates a ScoreProxy which wraps the specified "base" Score.
 
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

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.

Method Detail

getNameScore

public int getNameScore()
Returns the score for the look and feel family name.

Specified by:
getNameScore in class Score

getAgentTypeScore

public int getAgentTypeScore()
Returns the score for the Agent type.

Specified by:
getAgentTypeScore in class Score

getAgentApplicationScore

public int getAgentApplicationScore()
Returns the score for the Agent application.

Specified by:
getAgentApplicationScore in class Score

getAgentVersionScore

public int getAgentVersionScore()
Returns the score for the Agent version.

Specified by:
getAgentVersionScore in class Score

getAgentOSScore

public int getAgentOSScore()
Returns the score for the Agent operating system.

Specified by:
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.

Specified by:
getDiscriminantScore in class Score


Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.