Code example for AccessibleContext

Methods: firePropertyChange

0
		BoundedRangeModel m = getModelAt(index);
		int oldValue = m.getValue();
		m.setValue(n);
 
		if (accessibleContext != null) {
			accessibleContext.firePropertyChange(
					AccessibleContext.ACCESSIBLE_VALUE_PROPERTY,
					new Integer(oldValue),
					new Integer(m.getValue()));
		} 
	} 
 
	/*** 
	 * True if the slider knob is being dragged. 
	 * 
	 * @return the value of the models valueIsAdjusting property 
	 * @see #setValueIsAdjusting 
	 */ 
	public boolean getValueIsAdjusting() { 
		boolean result = false;