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.
-
FontDisplay(Font, Color, Color)
- Constructor to create the font display canvas.
-
minimumSize()
-
-
paint(Graphics)
-
-
preferredSize()
-
-
setBackgroundColor(Color)
-
-
setColor(Color, Color)
-
-
setFontSelection(Font)
-
-
setFontSelection(Font, Color, Color)
-
-
setForegroundColor(Color)
-
FontDisplay
public FontDisplay(Font f,
Color foreground,
Color background)
- Constructor to create the font display canvas.
paint
public void paint(Graphics g)
- Overrides:
- paint in class Canvas
setFontSelection
public void setFontSelection(Font f)
setFontSelection
public void setFontSelection(Font f,
Color foreground,
Color background)
setColor
public void setColor(Color foreground,
Color background)
setForegroundColor
public void setForegroundColor(Color c)
setBackgroundColor
public void setBackgroundColor(Color c)
preferredSize
public Dimension preferredSize()
- Overrides:
- preferredSize in class Component
minimumSize
public Dimension minimumSize()
- Overrides:
- minimumSize in class Component
All Packages Class Hierarchy This Package Previous Next Index