unbbayes.gui
Class UnBBayesFrame.SplitButtonMenuActionListener

java.lang.Object
  extended by unbbayes.gui.UnBBayesFrame.SplitButtonMenuActionListener
All Implemented Interfaces:
ActionListener, EventListener
Enclosing class:
UnBBayesFrame

protected class UnBBayesFrame.SplitButtonMenuActionListener
extends Object
implements ActionListener

This is just an action listener for menu items inserted within the UnBBayesFrame.getPluginSplitButton() or UnBBayesFrame.getToolsSplitButton().

Author:
Shou Matsumoto

Constructor Summary
UnBBayesFrame.SplitButtonMenuActionListener(SplitToggleButton splitButton, JButton mainButton)
          Constructor setting the button to be set as main button at actionPerformed(ActionEvent)
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnBBayesFrame.SplitButtonMenuActionListener

public UnBBayesFrame.SplitButtonMenuActionListener(SplitToggleButton splitButton,
                                                   JButton mainButton)
Constructor setting the button to be set as main button at actionPerformed(ActionEvent)

Parameters:
mainButton - : the button to be set as the split button's main button, after this action listener is called
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Specified by:
actionPerformed in interface ActionListener


Copyright © 2001-2010 University of Brasilia - UnB. All Rights Reserved.