| com.toedter.components.JSpinField com.toedter.calendar.JYearChooser
JYearChooser | public class JYearChooser extends JSpinField (Code) | | JYearChooser is a bean for choosing a year.
version: 1.1 02/04/02 author: Kai Toedter |
Constructor Summary | |
public | JYearChooser() Default JCalendar constructor. |
Method Summary | |
public int | getYear() Returns the year. | public static void | main(String[] s) Creates a JFrame with a JYearChooser inside and can be used for testing. | public void | setDayChooser(JDayChooser dayChooser) Convenience method set a day chooser. | protected void | setValue(int newValue, boolean updateTextField, boolean updateScrollbar) | public void | setYear(int y) Sets the year. |
JYearChooser | public JYearChooser()(Code) | | Default JCalendar constructor.
|
getYear | public int getYear()(Code) | | Returns the year.
|
main | public static void main(String[] s)(Code) | | Creates a JFrame with a JYearChooser inside and can be used for testing.
|
setDayChooser | public void setDayChooser(JDayChooser dayChooser)(Code) | | Convenience method set a day chooser.
Parameters: dayChooser - the day chooser |
setValue | protected void setValue(int newValue, boolean updateTextField, boolean updateScrollbar)(Code) | | |
setYear | public void setYear(int y)(Code) | | Sets the year.
This is a bound property.
See Also: JYearChooser.getYear Parameters: y - the new year |
|
|