com.levigo.jadice.document
Class PageListenerAdapter
java.lang.Object
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 PageListener
s.
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PageListenerAdapter
public PageListenerAdapter()
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