Class cynosurex.awt.FontDisplay
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class cynosurex.awt.FontDisplay

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

public class FontDisplay
extends Canvas
Display example of a font.

Constructor Index

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

Method Index

 o minimumSize()
 o paint(Graphics)
 o preferredSize()
 o setBackgroundColor(Color)
 o setColor(Color, Color)
 o setFontSelection(Font)
 o setFontSelection(Font, Color, Color)
 o setForegroundColor(Color)

Constructors

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

Methods

 o paint
  public void paint(Graphics g)
Overrides:
paint in class Canvas
 o setFontSelection
  public void setFontSelection(Font f)
 o setFontSelection
  public void setFontSelection(Font f,
                               Color foreground,
                               Color background)
 o setColor
  public void setColor(Color foreground,
                       Color background)
 o setForegroundColor
  public void setForegroundColor(Color c)
 o setBackgroundColor
  public void setBackgroundColor(Color c)
 o preferredSize
  public Dimension preferredSize()
Overrides:
preferredSize in class Component
 o minimumSize
  public Dimension minimumSize()
Overrides:
minimumSize in class Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index