org.jdesktop.swing.decorator
Class HighlighterPipeline

java.lang.Object
  extended byorg.jdesktop.swing.decorator.HighlighterPipeline

public class HighlighterPipeline
extends Object

HighlighterPipeline


Field Summary
protected  EventListenerList listenerList
           
 
Constructor Summary
HighlighterPipeline(Highlighter[] inList)
           
 
Method Summary
 void addPipelineListener(PipelineListener l)
          Adds a listener to the list that's notified each time there is a change to the pipeline.
 Component apply(Component stamp, ComponentAdapter adapter)
           
protected  void fireContentsChanged(Object source)
           
 EventListener[] getListeners(Class listenerType)
           
 PipelineListener[] getPipelineListeners()
          Returns an array of all the pipeline listeners registered on this HighlighterPipeline.
 void removePipelineListener(PipelineListener l)
          Removes a listener from the list that's notified each time there is a change to the pipeline.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

listenerList

protected EventListenerList listenerList
Constructor Detail

HighlighterPipeline

public HighlighterPipeline(Highlighter[] inList)
Method Detail

getListeners

public EventListener[] getListeners(Class listenerType)

addPipelineListener

public void addPipelineListener(PipelineListener l)
Adds a listener to the list that's notified each time there is a change to the pipeline.

Parameters:
l - the PipelineListener to be added

removePipelineListener

public void removePipelineListener(PipelineListener l)
Removes a listener from the list that's notified each time there is a change to the pipeline.

Parameters:
l - the PipelineListener to be removed

getPipelineListeners

public PipelineListener[] getPipelineListeners()
Returns an array of all the pipeline listeners registered on this HighlighterPipeline.

Returns:
all of this pipeline's PipelineListeners, or an empty array if no pipeline listeners are currently registered
See Also:
addPipelineListener(org.jdesktop.swing.decorator.PipelineListener), removePipelineListener(org.jdesktop.swing.decorator.PipelineListener)

fireContentsChanged

protected void fireContentsChanged(Object source)

apply

public Component apply(Component stamp,
                       ComponentAdapter adapter)


Copyright 2004 by Sun Microsystems, Inc. All Rights Reserved.