Logo Search packages:      
Sourcecode: wims version File versions

ListAction.java

package rene.gui;

import java.awt.List;

/**
A List class with a specified font and background.
Designed for DoActionListener objects.
*/

00010 public class ListAction extends List
{     public ListAction (DoActionListener c, String name)
      {     addActionListener(new ActionTranslator(c,name));
        if (Global.NormalFont!=null) setFont(Global.NormalFont);
            if (Global.Background!=null) setBackground(Global.Background);
      }
      public ListAction (DoActionListener c, String name, int n)
      {     super(n);   
            addActionListener(new ActionTranslator(c,name));
        if (Global.NormalFont!=null) setFont(Global.NormalFont);
            if (Global.Background!=null) setBackground(Global.Background);
      }
}

Generated by  Doxygen 1.6.0   Back to index