Class awt.TextDisplayItem
All Packages This Package Previous Next
Class awt.TextDisplayItem
java.lang.Object
|
+----browser.Observable
|
+----awt.DisplayItem
|
+----awt.TextDisplayItem
-
public class
TextDisplayItem
-
extends DisplayItem
A DisplayItem that displays text that can have font and color
properties associated with it.
-
Version:
-
1.19 10 Apr 1995
-
Author:
-
Jonathan Payne
-
font
-
-
metrics
-
-
TextDisplayItem()
-
-
getPreferredSize()
-
-
getText()
-
-
moveBaseline(int)
-
-
paint(Window, int, int)
-
-
setFont(Font)
-
-
setup(Font, Color, int, int, int, int)
-
-
toString()
-
-
validate()
-
font
protected Font font
metrics
protected FontMetrics metrics
TextDisplayItem
public TextDisplayItem()
getText
public abstract String getText()
setFont
public void setFont(Font f)
setup
public void setup(Font f,
Color c,
int x,
int y,
int w,
int h)
validate
public void validate()
getPreferredSize
public Dimension getPreferredSize()
moveBaseline
public void moveBaseline(int y)
toString
public String toString()
paint
public void paint(Window window,
int x,
int y)
All Packages This Package Previous Next