net.simplace.pipe.formcomponents.database.FWDefaultPopUpButton

Extends JButton to show a popup for choosing language when the button is pressed. Button is showing flag of current language setting


public final class FWDefaultPopUpButton extends
net.simplace.ui.popup.FWAbstractPopUpButton implements
javax.swing.event.PopupMenuListener, java.awt.event.ActionListener,
java.beans.PropertyChangeListener {
// Public Constructors
public FWDefaultPopUpButton(Map aElements, String aCaption, ImageIcon aIcon);
public FWDefaultPopUpButton(Map aElements);


// Public Instance Methods
public void actionPerformed(ActionEvent aActionEvent);
// Defines net.simplace.ui.popup.FWAbstractPopUpButton


public void addMenuItem(String aCaption, String aCommand);

adds entry to the menu

// Protected Instance Methods
protected void fillPopupComponent(); // Defines
net.simplace.ui.popup.FWAbstractPopUpButton




}



Hierarchy: java.lang.Object - java.awt.Component (java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable) - java.awt.Container - javax.swing.JComponent (java.io.Serializable, javax.swing.TransferHandler.HasGetTransferHandler) - javax.swing.AbstractButton (java.awt.ItemSelectable, javax.swing.SwingConstants) - javax.swing.JButton (javax.accessibility.Accessible) - net.simplace.pipe.util.components.FWButton (java.awt.event.KeyListener) - net.simplace.ui.popup.FWAbstractPopUpButton (javax.swing.event.PopupMenuListener, java.awt.event.ActionListener, java.beans.PropertyChangeListener) - FWDefaultPopUpButton (javax.swing.event.PopupMenuListener, java.awt.event.ActionListener, java.beans.PropertyChangeListener)