API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing. BoundedRangeModel View Source
Author(s)
Hans Muller
Since
Version
1.30 03/01/06
Serial
Hierarchy
 BoundedRangeModel
Subinterfaces
Description
public interface BoundedRangeModel
  Defines the data model used by components like Sliders and ProgressBars.
See also:    DefaultBoundedRangeModel
Methods
Hide/Show inherited methods
public void addChangeListener (ChangeListener x)
  Adds a ChangeListener to the model's listener list.
public int getExtent ()
  Returns the model's extent, the length of the inner range that begins at the model's value.
public int getMaximum ()
  Returns the model's maximum.
public int getMinimum ()
  Returns the minimum acceptable value.
public int getValue ()
  Returns the model's current value.
public boolean getValueIsAdjusting ()
  Returns true if the current changes to the value property are part of a series of changes.
public void removeChangeListener (ChangeListener x)
  Removes a ChangeListener from the model's listener list.
public void setExtent (int newExtent)
  Sets the model's extent.
public void setMaximum (int newMaximum)
  Sets the model's maximum to newMaximum.
public void setMinimum (int newMinimum)
  Sets the model's minimum to newMinimum.
public void setRangeProperties (int value, int extent, int min, int max, boolean adjusting)
  This method sets all of the model's data with a single method call.
public void setValue (int newValue)
  Sets the model's current value to newValue if newValue satisfies the model's constraints.
public void setValueIsAdjusting (boolean b)
  This attribute indicates that any upcoming changes to the value of the model should be considered a single event.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar