com.lyrisoft.awt
Class TextStyle

java.lang.Object
  |
  +--com.lyrisoft.awt.TextStyle

public class TextStyle
extends java.lang.Object

Encapulates a Font and a Color


Constructor Summary
TextStyle(java.awt.Font f, java.awt.Color c)
          Construct a TextStyle with the given font and color
TextStyle(TextStyle t)
          Construct a TextStyle that is a copy of the specified TextStyle
 
Method Summary
 java.awt.Color getColor()
           
 java.awt.Font getFont()
           
 void setColor(java.awt.Color c)
           
 void setFont(java.awt.Font f)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextStyle

public TextStyle(TextStyle t)
Construct a TextStyle that is a copy of the specified TextStyle

TextStyle

public TextStyle(java.awt.Font f,
                 java.awt.Color c)
Construct a TextStyle with the given font and color
Method Detail

getFont

public java.awt.Font getFont()

setFont

public void setFont(java.awt.Font f)

getColor

public java.awt.Color getColor()

setColor

public void setColor(java.awt.Color c)


Copyright © 2000-2002 Taso Lyristis