Class OurFont

java.lang.Object
  extended by OurFont

public class OurFont
extends java.lang.Object

initializes the font and holds 6 public variables. The boolean fields "bold", "underline", and "italics" are all set to false as default. The int size is set to 8 as default.


Field Summary
 boolean bold
          initializes the public boolean field "bold" to false.
 java.lang.String font
          initializes the String "font" to be empty.
 boolean italics
          initializes the public boolean "italics" to false.
 int size
          initializes the int "size" to be 8 for the font.
 java.lang.String text
          initializes the String text.
 boolean underline
          initializes the public boolean "underline" to false.
 
Constructor Summary
OurFont()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bold

public boolean bold
initializes the public boolean field "bold" to false.


underline

public boolean underline
initializes the public boolean "underline" to false.


italics

public boolean italics
initializes the public boolean "italics" to false.


size

public int size
initializes the int "size" to be 8 for the font.


font

public java.lang.String font
initializes the String "font" to be empty. It is probably reset when the user chooses a font of their own.


text

public java.lang.String text
initializes the String text. It is probably set when the user types in text using the font.

Constructor Detail

OurFont

public OurFont()