All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class cynosurex.awt.FontDisplay

java.lang.Object
   |
   +----java.awt.Component
           |
           +----cynosurex.awt.FontDisplay

public class FontDisplay
extends Component
Display example of a font.


Constructor Index

 o FontDisplay(Font, Color, Color)
Constructor to create the font display canvas.

Method Index

 o getMinimumSize()
 o getPreferredSize()
 o paint(Graphics)
 o setBackground(Color)
 o setFont(Font)
 o setFontSelection(Font, Color, Color)
 o setForeground(Color)

Constructors

 o FontDisplay
 public FontDisplay(Font font,
                    Color foreground,
                    Color background)
Constructor to create the font display canvas.

Methods

 o paint
 public void paint(Graphics g)
Overrides:
paint in class Component
 o setFontSelection
 public void setFontSelection(Font font,
                              Color foreground,
                              Color background)
 o setFont
 public void setFont(Font f)
Overrides:
setFont in class Component
 o setForeground
 public void setForeground(Color c)
Overrides:
setForeground in class Component
 o setBackground
 public void setBackground(Color c)
Overrides:
setBackground in class Component
 o getPreferredSize
 public Dimension getPreferredSize()
Overrides:
getPreferredSize in class Component
 o getMinimumSize
 public Dimension getMinimumSize()
Overrides:
getMinimumSize in class Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index