FileDocCategorySizeDatePackage
AttributeValue.javaAPI DocJava SE 5 API837Fri Aug 26 14:56:42 BST 2005java.awt

AttributeValue

public abstract class AttributeValue extends Object

Fields Summary
private final int
value
private final String[]
names
private static final sun.awt.DebugHelper
dbg
Constructors Summary
protected AttributeValue(int value, String[] names)


         
        if (dbg.on) {
	    dbg.assertion(value >= 0 && names != null && value < names.length);
	}
        this.value = value;
	this.names = names;
    
Methods Summary
public inthashCode()

        return value;
    
public java.lang.StringtoString()

        return names[value];