/[classpath]/classpath/javax/swing/SpinnerModel.java
ViewVC logotype

Diff of /classpath/javax/swing/SpinnerModel.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by gnu_andrew, Wed Aug 18 22:58:40 2004 UTC revision 1.4 by mkoch, Fri Oct 22 17:46:47 2004 UTC
# Line 1  Line 1 
1  /* SpinnerModel.java --  /* SpinnerModel.java --
2     Copyright (C) 2003 Free Software Foundation, Inc.     Copyright (C) 2003, 2004  Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 45  import javax.swing.event.ChangeListener; Line 45  import javax.swing.event.ChangeListener;
45   */   */
46  public interface SpinnerModel  public interface SpinnerModel
47  {  {
   
48    /**    /**
49     * Sets the current value of the model to that specified.     * Sets the current value of the model to that specified.
50     * Implementations can choose to refuse to accept the value     * Implementations can choose to refuse to accept the value
# Line 68  public interface SpinnerModel Line 67  public interface SpinnerModel
67     *     *
68     * @return The current value.     * @return The current value.
69     */     */
70    public Object getValue();    Object getValue();
71    
72    /**    /**
73     * Returns the next value from the model.  If the model is bounded,     * Returns the next value from the model.  If the model is bounded,
# Line 78  public interface SpinnerModel Line 77  public interface SpinnerModel
77     * @return The next value, or null if there are no more values     * @return The next value, or null if there are no more values
78     *         to retrieve.     *         to retrieve.
79     */     */
80    public Object getNextValue();    Object getNextValue();
81    
82    /**    /**
83     * Returns the previous value from the model.  If the model is     * Returns the previous value from the model.  If the model is
# Line 88  public interface SpinnerModel Line 87  public interface SpinnerModel
87     * @return The previous value, or null if there are no more     * @return The previous value, or null if there are no more
88     *         values to retrieve.     *         values to retrieve.
89     */     */
90    public Object getPreviousValue();    Object getPreviousValue();
91    
92    /**    /**
93     * Adds a <code>ChangeListener</code> to the list of registered     * Adds a <code>ChangeListener</code> to the list of registered

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26