Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

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.


Field Summary
static int COMPARISON_MATCH
           
static int DONT_CARE_MATCH
           
static int EXACT_MATCH
           
static int NO_MATCH
           
static int RANGE_MATCH
           
 
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.
 
Method Summary
 int score(RenderingContext context, java.lang.String lafName)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

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.
Method Detail

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

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

Copyright © 2002,2003, Oracle. All Rights Reserved.