net.simplace.ui.formengine.date.FWDatePopUpButton
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 FWDatePopUpButton extends javax.swing.JButton implements
javax.swing.event.PopupMenuListener, java.awt.event.ActionListener,
java.beans.PropertyChangeListener, javax.swing.event.ChangeListener {
// Public Constructors
public FWDatePopUpButton(FWFormattedDate aMinValue, FWFormattedDate
aMaxValue, FWFormattedDate aValue, FWObservable aObservable, Map
aFormComponentParameterMap);
// Public Instance Methods public void propertyChange(PropertyChangeEvent aEvent);
// From java.beans.PropertyChangeListener
public void closePopup();
closes popup of the button
public Dimension getPreferredSize(); // Defines javax.swing.JComponent
public Dimension getMinimumSize(); // Defines javax.swing.JComponent
public void actionPerformed(ActionEvent aActionEvent);
// From java.awt.event.ActionListener
public void popupMenuCanceled(PopupMenuEvent aPopupMenuEvent);
// From javax.swing.event.PopupMenuListener
public void popupMenuWillBecomeInvisible(PopupMenuEvent aPopupMenuEvent);
// From javax.swing.event.PopupMenuListener
public void popupMenuWillBecomeVisible(PopupMenuEvent aPopupMenuEvent);
// From javax.swing.event.PopupMenuListener
public void paint(Graphics aGraphics); // Defines javax.swing.JComponent
public void setEnabled(boolean aValue); // Defines
javax.swing.AbstractButton
public boolean isPopupVisible();
Returns if the popup is visible.
public JPopupMenu getPopupMenu();
Returns if the popupmenu instance.
}
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) - FWDatePopUpButton (javax.swing.event.PopupMenuListener, java.awt.event.ActionListener, java.beans.PropertyChangeListener, javax.swing.event.ChangeListener)