Back to index

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

This is a choice item, which sets a specified font and translates events into strings, which are passed to the doAction method of the DoActionListener. More...

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

List of all members.

Public Member Functions

 ChoiceAction (DoActionListener c, String s)

Detailed Description

This is a choice item, which sets a specified font and translates events into strings, which are passed to the doAction method of the DoActionListener.

See also:
jagoclient.gui.CloseFrame::doAction
jagoclient.gui.CloseDialog::doAction

Definition at line 28 of file ChoiceAction.java.


Constructor & Destructor Documentation

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

Definition at line 29 of file ChoiceAction.java.

{   public ChoiceAction (DoActionListener c, String s)
    {   addItemListener(new ChoiceTranslator(this,c,s));
        if (Global.NormalFont!=null) setFont(Global.NormalFont);
              if (Global.Background!=null) setBackground(Global.Background);
    }

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