com.hdcookbook.grin.io.builders
Class FontSpec

java.lang.Object
  extended by com.hdcookbook.grin.io.builders.FontSpec

public class FontSpec
extends java.lang.Object

This is a data holder for the specification of a font, consisting of a name, size and style. It implements equals and hashCode so that it can be used in an IndexedSet.


Field Summary
 java.lang.String name
           
 int size
           
 int style
           
 
Constructor Summary
FontSpec()
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public java.lang.String name

style

public int style

size

public int size
Constructor Detail

FontSpec

public FontSpec()
Method Detail

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object