org.gscg.common.gui.components.interactivespinner
Class SpinnerNumberModel

java.lang.Object
  extended byjavax.swing.AbstractSpinnerModel
      extended byjavax.swing.SpinnerNumberModel
          extended byorg.gscg.common.gui.components.interactivespinner.SpinnerNumberModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.SpinnerModel

public class SpinnerNumberModel
extends javax.swing.SpinnerNumberModel

(c) copyright 2005 Delft University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information www.simulation.tudelft.nl . The source code and binary code of this software are proprietary information of Delft University of Technology.

Since:
1.1.3
Version:
$Revision: 1.1 $ $Date: 2005/06/16 12:33:56 $
Author:
Stijn-Pieter van Houten
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractSpinnerModel
listenerList
 
Constructor Summary
SpinnerNumberModel()
          constructs a new SpinnerNumberModel
SpinnerNumberModel(double value, double minimum, double maximum, double stepSize)
          constructs a new SpinnerNumberModel
SpinnerNumberModel(int value, int minimum, int maximum, int stepSize)
          constructs a new SpinnerNumberModel
SpinnerNumberModel(java.lang.Number value, java.lang.Comparable minimum, java.lang.Comparable maximum, java.lang.Number stepSize)
          constructs a new SpinnerNumberModel
 
Methods inherited from class javax.swing.SpinnerNumberModel
getMaximum, getMinimum, getNextValue, getNumber, getPreviousValue, getStepSize, getValue, setMaximum, setMinimum, setStepSize, setValue
 
Methods inherited from class javax.swing.AbstractSpinnerModel
addChangeListener, fireStateChanged, getChangeListeners, getListeners, removeChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpinnerNumberModel

public SpinnerNumberModel()
constructs a new SpinnerNumberModel


SpinnerNumberModel

public SpinnerNumberModel(double value,
                          double minimum,
                          double maximum,
                          double stepSize)
constructs a new SpinnerNumberModel

Parameters:
value - the value
minimum - the minimum
maximum - the maximum
stepSize - the step size

SpinnerNumberModel

public SpinnerNumberModel(int value,
                          int minimum,
                          int maximum,
                          int stepSize)
constructs a new SpinnerNumberModel

Parameters:
value - the value
minimum - the minimum
maximum - the maximum
stepSize - the step size

SpinnerNumberModel

public SpinnerNumberModel(java.lang.Number value,
                          java.lang.Comparable minimum,
                          java.lang.Comparable maximum,
                          java.lang.Number stepSize)
constructs a new SpinnerNumberModel

Parameters:
value - the value
minimum - the minimum
maximum - the maximum
stepSize - the step size


Copyright © 2002-2005 Delft University of Technology, the Netherlands. All Rights Reserved.