Class dpscomponents.panel.MultiLabelPanel
All Packages Class Hierarchy This Package Previous Next Index
Class dpscomponents.panel.MultiLabelPanel
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----dpscomponents.panel.MultiLabelPanel
- public class MultiLabelPanel
- extends Panel
This does the obvious: generates a single Label using mulitple
lines of text. The only alignment allowed at present is CENTER.
- Version:
- 1.0 03-04-97
- Author:
- Daren Stotler
-
MultiLabelPanel(String[], int)
- Simplest constructor.
-
MultiLabelPanel(String[], int, Color)
- Intermediate constructor, number 2, allowing specification of the
color.
-
MultiLabelPanel(String[], int, Font)
- Intermediate constructor, allowing specification of the font
only.
-
MultiLabelPanel(String[], int, Font, Color)
- Most general constructor, allowing specification of the font
and the color of the text.
MultiLabelPanel
public MultiLabelPanel(String lines[],
int num_lines,
Font font,
Color color)
- Most general constructor, allowing specification of the font
and the color of the text.
- Parameters:
- lines - array of strings representing the lines to be drawn
- num_lines - number of lines in that array
- font - font to be used for the text
- color - this is the color used for the text
MultiLabelPanel
public MultiLabelPanel(String lines[],
int num_lines,
Font font)
- Intermediate constructor, allowing specification of the font
only.
- Parameters:
- lines - array of strings representing the lines to be drawn
- num_lines - number of lines in that array
- font - font to be used for the text
MultiLabelPanel
public MultiLabelPanel(String lines[],
int num_lines,
Color color)
- Intermediate constructor, number 2, allowing specification of the
color.
- Parameters:
- lines - array of strings representing the lines to be drawn
- num_lines - number of lines in that array
- color - this is the color used for the text
MultiLabelPanel
public MultiLabelPanel(String lines[],
int num_lines)
- Simplest constructor.
- Parameters:
- lines - array of strings representing the lines to be drawn
- num_lines - number of lines in that array
All Packages Class Hierarchy This Package Previous Next Index