net.simplace.ui.popup.FWLanguagePopUpButton

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 FWLanguagePopUpButton extends FWAbstractPopUpButton
implements javax.swing.event.PopupMenuListener,
java.awt.event.ActionListener, java.beans.PropertyChangeListener {
// Public Constructors
public FWLanguagePopUpButton();


// Public Instance Methods
public Dimension getPreferredSize(); // Overrides
net.simplace.ui.components.FWButton


public Dimension getMinimumSize(); // Overrides
net.simplace.ui.components.FWButton


public void paint(Graphics aGraphics); // Defines javax.swing.JComponent

public void actionPerformed(ActionEvent aActionEvent);
// Defines FWAbstractPopUpButton



// Protected Instance Methods
protected void fillPopupComponent(); // Defines 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.ui.components.FWButton (java.awt.event.KeyListener) - FWAbstractPopUpButton (javax.swing.event.PopupMenuListener, java.awt.event.ActionListener, java.beans.PropertyChangeListener) - FWLanguagePopUpButton (javax.swing.event.PopupMenuListener, java.awt.event.ActionListener, java.beans.PropertyChangeListener)