net.simplace.ui.formengine.date.FWYearSubComponent
An FWYearSubComponent lets the user select a year between a minimum and
a maximum from a javax.swing.JSpinner.
Whenever the Spinner is changed, the component fires a stateChanged event.
The currently selected year may be obtained or set at any time using
getValue()
and setValue()
respectively.
public class FWYearSubComponent extends
net.simplace.ui.formengine.FWAbstractFormSubComponent implements
javax.swing.event.ChangeListener, java.awt.event.FocusListener {
// Public Constructors
public FWYearSubComponent(int aMinValue, int aMaxValue, boolean aIsEnabled,
FWObservable aObservable, Map aFormComponentParameterMap);
public FWYearSubComponent(int aMinValue, int aMaxValue, int aDefaultValue,
boolean aIsEnabled, FWObservable aObservable, Map
aFormComponentParameterMap);
// Public Instance Methods public void stateChanged(ChangeEvent e); // From
javax.swing.event.ChangeListener
public void focusGained(FocusEvent e); // From java.awt.event.FocusListener
public void focusLost(FocusEvent e); // From java.awt.event.FocusListener
}
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.JPanel (javax.accessibility.Accessible) - net.simplace.ui.formengine.FWAbstractFormSubComponent - FWYearSubComponent (javax.swing.event.ChangeListener, java.awt.event.FocusListener)