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