it.amattioli.applicate.browsing
Class ContentChangeEvent

Show UML class diagram
java.lang.Object
  extended by java.util.EventObject
      extended by it.amattioli.applicate.browsing.ContentChangeEvent
All Implemented Interfaces:
Serializable

public class ContentChangeEvent
extends EventObject

An event notified to ContentChangeListener objects every time a browser content changes. The browser on which the event was generated can be retrieved using getSource().

Author:
andrea
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ContentChangeEvent(Browser<?,?> source)
          Construct a ContentChangeEvent given the browser that generated it.
 
Method Summary
 Browser<?,?> getSource()
          Retrieves the browser on which the event has been generated.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContentChangeEvent

public ContentChangeEvent(Browser<?,?> source)
Construct a ContentChangeEvent given the browser that generated it.

Parameters:
source - the browser that generated the event
Method Detail

getSource

public Browser<?,?> getSource()
Retrieves the browser on which the event has been generated.

Overrides:
getSource in class EventObject
Returns:
the browser on which the event has been generated

toString

public String toString()
Overrides:
toString in class EventObject


Copyright © 2011. All Rights Reserved.