java.awt.event

Interface AdjustmentListener

All Superinterfaces:
EventListener
Known Implementing Classes:
AWTEventMulticaster

public interface AdjustmentListener
extends EventListener

The listener interface for receiving adjustment events.
Since:
1.1

Method Summary

void
adjustmentValueChanged(AdjustmentEvent e)
Invoked when the value of the adjustable has changed.

Method Details

adjustmentValueChanged

public void adjustmentValueChanged(AdjustmentEvent e)
Invoked when the value of the adjustable has changed.
Usages and Demos :

View More Examples of adjustmentValueChanged(AdjustmentEvent e)
   1: import java.awt.event.AdjustmentEvent;
   2: import java.awt.event.AdjustmentListener;
   3: import java.util.Enumeration;
   4:         ...
   5: 
   6:   public void addAdjustmentListener(java.awt.event.AdjustmentListener l) {
   7:     this.listeners.addElement( l );
   8:         ...
   9: 
  10:   public void removeAdjustmentListener(java.awt.event.AdjustmentListener l) {
  11:     this.listeners.removeElement( l );
  12:         ...
  13:       AdjustmentListener l = (AdjustmentListener) it.nextElement();
  14:       l.adjustmentValueChanged( e );

View Full Code Here
   1: import jp.ujihara.java.awt.event.AdjustmentEvent;
   2: import jp.ujihara.java.awt.event.AdjustmentListener;
   3: import jp.ujihara.java.awt.peer.ScrollbarPeer;
   4:         ...
   5: 
   6: private AdjustmentListener adjustment_listeners;
   7: 
   8:         ...
   9: 
  10: public synchronized void addAdjustmentListener(AdjustmentListener listener)
  11: {
  12:         ...
  13:   if (adjustment_listeners != null)
  14:     adjustment_listeners.adjustmentValueChanged(event);

View Full Code Here