Back to index

wims  3.65+svn20090927
Public Member Functions | Package Attributes
rene.gui.ButtonAction Class Reference

A text Button with a midifyable Font. More...

Inheritance diagram for rene.gui.ButtonAction:
Inheritance graph
Collaboration diagram for rene.gui.ButtonAction:
Collaboration graph

List of all members.

Public Member Functions

 ButtonAction (DoActionListener c, String s, String name)
 ButtonAction (DoActionListener c, String s)
ActionEvent getAction ()

Package Attributes

DoActionListener C
String Name
ActionTranslator AT

Detailed Description

A text Button with a midifyable Font.

The button may also be triggered by a keyboard return.

This button class is used in DoActionListener interfaces.

Definition at line 13 of file

Constructor & Destructor Documentation

rene.gui.ButtonAction.ButtonAction ( DoActionListener  c,
String  s,
String  name 
) [inline]

Definition at line 17 of file

    {   super(s);
        C=c; Name=name;
        addActionListener(AT=new ActionTranslator(c,name));
        if (Global.NormalFont!=null) setFont(Global.NormalFont);
        if (Global.ControlBackground!=null) setBackground(Global.ControlBackground);
rene.gui.ButtonAction.ButtonAction ( DoActionListener  c,
String  s 
) [inline]

Definition at line 24 of file

    {   this(c,s,s);

Member Function Documentation

ActionEvent rene.gui.ButtonAction.getAction ( ) [inline]

Definition at line 27 of file

    {  return AT.E;

Member Data Documentation

Definition at line 16 of file

Definition at line 14 of file

String rene.gui.ButtonAction.Name [package]

Definition at line 15 of file

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