Back to index

wims  3.65+svn20090927
Public Member Functions
rene.gui.MyLabel Class Reference

A Label with a midifyable Font. More...

Inheritance diagram for rene.gui.MyLabel:
Inheritance graph
[legend]
Collaboration diagram for rene.gui.MyLabel:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MyLabel (String s)
 MyLabel (String s, int allign)
void paint (Graphics g)
 This is for Java 1.2 on Windows.

Detailed Description

A Label with a midifyable Font.

Definition at line 11 of file MyLabel.java.


Constructor & Destructor Documentation

rene.gui.MyLabel.MyLabel ( String  s) [inline]

Definition at line 12 of file MyLabel.java.

{   public MyLabel (String s)
    {   super(s);
        if (Global.NormalFont!=null) setFont(Global.NormalFont);
    }
rene.gui.MyLabel.MyLabel ( String  s,
int  allign 
) [inline]

Definition at line 16 of file MyLabel.java.

    {   super(s,allign);
        if (Global.NormalFont!=null) setFont(Global.NormalFont);
    }

Member Function Documentation

void rene.gui.MyLabel.paint ( Graphics  g) [inline]

This is for Java 1.2 on Windows.

Definition at line 23 of file MyLabel.java.

    {  Container c=getParent();
       if (c!=null) setBackground(c.getBackground());
       super.paint(g);
    }

The documentation for this class was generated from the following file: