public abstract class AbstractMutablePageSegment extends AbstractPageSegment implements MutablePageSegment, com.levigo.jadice.document.internal.presentation.group.VisualizationInitializer
AbstractPageSegment.CacheableVisualElement
CACHE_KEY_CONTENTS, format, id
Constructor and Description |
---|
AbstractMutablePageSegment() |
Modifier and Type | Method and Description |
---|---|
void |
addPageSegmentListener(PageSegmentListener listener)
Register a
PageSegmentListener |
protected PageSegmentEvent |
createPageSegmentEvent()
Create a pre-initialized PageSegmentEvent
|
protected void |
fireModified()
Fire a notification about a general change to the page segment.
|
protected void |
fireModified(PageSegmentEvent evt)
Fire a notification about a general change to the page segment.
|
protected void |
fireModified(Rectangle2D damage)
Fire a notification about a general change to the page segment which (may have) damaged the
given region.
|
void |
removePageSegmentListener(PageSegmentListener listener)
Deregister a
PageSegmentListener |
createCacheableVisualElement, getBounds, getCachedVisualElement, getId, getInitialized, getMetadata, getPermissions, getProperties, getResolution, getSize, getSource, isAuxiliary, isInitialized, setSource, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBounds, getSize, getSource, isAuxiliary
getProperties
getMetadata
getPermissions
getConditionFactories
getId
protected void fireModified(PageSegmentEvent evt)
protected void fireModified()
protected void fireModified(Rectangle2D damage)
protected PageSegmentEvent createPageSegmentEvent()
public void addPageSegmentListener(PageSegmentListener listener)
PageSegmentListener
addPageSegmentListener
in interface MutablePageSegment
listener
- the listener to registerpublic void removePageSegmentListener(PageSegmentListener listener)
PageSegmentListener
removePageSegmentListener
in interface MutablePageSegment
listener
- the listener to removeCopyright © 2024 levigo holding gmbh. All rights reserved.