Module java.desktop
Package javax.swing

Class DefaultBoundedRangeModel

  • All Implemented Interfaces:
    Serializable, BoundedRangeModel

    public class DefaultBoundedRangeModel
    extends Object
    implements BoundedRangeModel, Serializable
    A generic implementation of BoundedRangeModel.

    Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

    See Also:
    BoundedRangeModel, Serialized Form
    • Field Summary

      Modifier and Type Field Description
      protected ChangeEvent changeEvent
      Only one ChangeEvent is needed per model instance since the event's only (read-only) state is the source property.
      protected EventListenerList listenerList
      The listeners waiting for model changes.
    • Constructor Summary

      Constructor Description
      Initializes all of the properties with default values.
      DefaultBoundedRangeModel​(int value, int extent, int min, int max)
      Initializes value, extent, minimum and maximum.