|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectOurFont
public class OurFont
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 |
---|
public boolean bold
public boolean underline
public boolean italics
public int size
public java.lang.String font
public java.lang.String text
Constructor Detail |
---|
public OurFont()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |