com.levigo.jadice.document
Class PageListenerAdapter

java.lang.Object
  extended by com.levigo.jadice.document.PageListenerAdapter
All Implemented Interfaces:
PageListener, PropertyChangeListener, EventListener

public abstract class PageListenerAdapter
extends Object
implements PageListener

An abstract adapter class used to reduce the complexity of implementing PageListeners. This class implements all methods mandated by the aforementioned interface with default methods. The implementations for the PageListener methods just do nothing.

Since:
5.0
See Also:
Page, PageListener

Constructor Summary
PageListenerAdapter()
           
 
Method Summary
 void pageSegmentAdded(PageSegmentEvent evt)
          Signal the addition of a page segment from a page.
 void pageSegmentModified(PageSegmentEvent evt)
          Signal the modification of a page segment within a page.
 void pageSegmentRemoved(PageSegmentEvent evt)
          Signal the removal of a page segment from a page.
 void propertyChange(PropertyChangeEvent evt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageListenerAdapter

public PageListenerAdapter()
Method Detail

propertyChange

public void propertyChange(PropertyChangeEvent evt)
Specified by:
propertyChange in interface PropertyChangeListener

pageSegmentModified

public void pageSegmentModified(PageSegmentEvent evt)
Description copied from interface: PageListener
Signal the modification of a page segment within a page. This could mean an addition, removal or just a modification within a page segment.

Specified by:
pageSegmentModified in interface PageListener
Parameters:
evt - the the event describing the change

pageSegmentRemoved

public void pageSegmentRemoved(PageSegmentEvent evt)
Description copied from interface: PageListener
Signal the removal of a page segment from a page.

Specified by:
pageSegmentRemoved in interface PageListener

pageSegmentAdded

public void pageSegmentAdded(PageSegmentEvent evt)
Description copied from interface: PageListener
Signal the addition of a page segment from a page.

Specified by:
pageSegmentAdded in interface PageListener


Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.