com.levigo.jadice.document
Class AbstractMutablePageSegment
java.lang.Object
com.levigo.jadice.document.AbstractPageSegment
com.levigo.jadice.document.AbstractMutablePageSegment
- All Implemented Interfaces:
- com.levigo.jadice.document.internal.model.RenderRoot, MetadataProvider, MutablePageSegment, PageSegment, PermissionsProvider<PageSegment>, PropertiesProvider, Identifiable
- Direct Known Subclasses:
- AbstractCompositePageSegment, AnnotationPageSegment
public abstract class AbstractMutablePageSegment
- extends AbstractPageSegment
- implements MutablePageSegment, com.levigo.jadice.document.internal.model.RenderRoot
Methods inherited from class com.levigo.jadice.document.AbstractPageSegment |
createRendering, doCreateCacheableRendering, getBounds, getCachedRendering, getId, getMetadata, getPermissions, getProperties, getResolution, getSize, getSource, isAuxiliary, isInitialized, setSource, toString |
Methods inherited from interface com.levigo.jadice.document.internal.model.RenderRoot |
createRendering, getBounds, isInitialized |
AbstractMutablePageSegment
public AbstractMutablePageSegment()
fireModified
protected void fireModified(PageSegmentEvent evt)
- Fire a notification about a general change to the page segment.
fireModified
protected void fireModified()
- Fire a notification about a general change to the page segment. Please consider firing a more
specialized one, indicating the actual damage region.
fireModified
protected void fireModified(Rectangle2D damage)
- Fire a notification about a general change to the page segment which (may have) damaged the
given region.
createPageSegmentEvent
protected PageSegmentEvent createPageSegmentEvent()
- Create a pre-initialized PageSegmentEvent
- Returns:
addPageSegmentListener
public void addPageSegmentListener(PageSegmentListener listener)
- Register a
PageSegmentListener
- Specified by:
addPageSegmentListener
in interface MutablePageSegment
- Parameters:
listener
- the listener to register
removePageSegmentListener
public void removePageSegmentListener(PageSegmentListener listener)
- Deregister a
PageSegmentListener
- Specified by:
removePageSegmentListener
in interface MutablePageSegment
- Parameters:
listener
- the listener to remove
Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.