oracle.cabo.ui.laf
Class NameAndAgentScorer
java.lang.Object
|
+--oracle.cabo.ui.laf.LookAndFeelScorer
|
+--oracle.cabo.ui.laf.NameAndAgentScorer
- public class NameAndAgentScorer
- extends oracle.cabo.ui.laf.LookAndFeelScorer
Scores a LAF based on the Laf name and the agent information.
Constructor Summary |
NameAndAgentScorer(java.lang.String requiredLafName,
java.lang.Integer requiredAgentType,
java.lang.Integer requiredAgentApplication,
java.lang.Integer requiredAgentMajorVersion,
java.lang.Integer requiredAgentOS)
Create a Scorer for scoring look and feesl based on the name
and agent information. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DONT_CARE_MATCH
public static final int DONT_CARE_MATCH
COMPARISON_MATCH
public static final int COMPARISON_MATCH
RANGE_MATCH
public static final int RANGE_MATCH
EXACT_MATCH
public static final int EXACT_MATCH
NO_MATCH
public static final int NO_MATCH
NameAndAgentScorer
public NameAndAgentScorer(java.lang.String requiredLafName,
java.lang.Integer requiredAgentType,
java.lang.Integer requiredAgentApplication,
java.lang.Integer requiredAgentMajorVersion,
java.lang.Integer requiredAgentOS)
- Create a Scorer for scoring look and feesl based on the name
and agent information. If a value is supplied for a parameter,
the agent or name must be equal to that value in order for
the scorer to create a permissable score. A null value for a
parameter means that the scorer doesn't care about the value.
score
public int score(RenderingContext context,
java.lang.String lafName)
- Overrides:
score
in class oracle.cabo.ui.laf.LookAndFeelScorer
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2002,2003, Oracle. All Rights Reserved.