borland.jbcl Packages borland.jbcl Class Hierarchy borland.jbcl.util
java.lang.Object +----borland.jbcl.util.AdjustmentMulticaster
Properties Methods
Implements AdjustmentListener, EventListener
A class that dispatches adjustment events to multiple listeners. AdjustmentMulticaster maintains an array of listeners. The add(), remove(), and find() methods maintain this list.
The hasListeners() method determines whether any objects are listening for adjustment events. The dispatch() method sends an adjustment event to all listeners.
See also: Standard Java events, Events in JBCL
public final synchronized void add(java.awt.event.AdjustmentListener listener)Adds an object to the array of listeners.
Parameters:
public final void dispatch(java.awt.event.AdjustmentEvent e)Sends an adjustment event to all listeners. The method is a high-speed dispatcher that does not need to be synchronized.
Parameters:
public int find(java.awt.event.AdjustmentListener listener)Searches for the specified listener among the array of listening objects.
Parameters:
public final boolean hasListeners()Determines if there are any listeners for adjustment events. If the method returns true, one or more listeners are present.
public final synchronized void remove(java.awt.event.AdjustmentListener listener)Removes the specified listening object from the array of listeners for adjustment events.
Parameters: