Home » openjdk-7 » javax » swing » text » [javadoc | source]
javax.swing.text
static class: StyleContext.FontKey [javadoc | source]
java.lang.Object
   javax.swing.text.StyleContext$FontKey
key for a font table
Constructor:
 public FontKey(String family,
    int style,
    int size) 
    Constructs a font key.
Method from javax.swing.text.StyleContext$FontKey Summary:
equals,   hashCode,   setValue
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.text.StyleContext$FontKey Detail:
 public boolean equals(Object obj) 
    Compares this object to the specifed object. The result is true if and only if the argument is not null and is a Font object with the same name, style, and point size as this font.
 public int hashCode() 
    Returns a hashcode for this font.
 public  void setValue(String family,
    int style,
    int size)