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:
$Revision: 1.1.1.1 $, $Date: 1999/11/15 20:37:48 $.
Author:
Daren Stotler

Constructor Index

 o MultiLabelPanel(String[], int)
Simplest constructor.
 o MultiLabelPanel(String[], int, Color)
Intermediate constructor, number 2, allowing specification of the color.
 o MultiLabelPanel(String[], int, Font)
Intermediate constructor, allowing specification of the font only.
 o MultiLabelPanel(String[], int, Font, Color)
Most general constructor, allowing specification of the font and the color of the text.

Constructors

 o 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
 o 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
 o 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
 o 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