|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.hale.ui.service.align.internal.AbstractAlignmentService
public abstract class AbstractAlignmentService
Notification handling for AlignmentService
s that support
AlignmentServiceListener
s
Constructor Summary | |
---|---|
AbstractAlignmentService()
|
Method Summary | |
---|---|
void |
addListener(AlignmentServiceListener listener)
Adds a listener to the service |
protected void |
notifyAlignmentCleared()
Call when the alignment has been cleared |
protected void |
notifyCellReplaced(Cell oldCell,
Cell newCell)
Call when an existing cell has been replaced by another. |
protected void |
notifyCellsAdded(Iterable<Cell> cells)
Call when cells have been added |
protected void |
notifyCellsRemoved(Iterable<Cell> cells)
Call when existing cells have been removed |
void |
removeListener(AlignmentServiceListener listener)
Removes a listener to the service |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface eu.esdihumboldt.hale.ui.service.align.AlignmentService |
---|
addCell, addOrUpdateAlignment, clean, getAlignment, removeCells, replaceCell |
Constructor Detail |
---|
public AbstractAlignmentService()
Method Detail |
---|
public void addListener(AlignmentServiceListener listener)
addListener
in interface AlignmentService
listener
- the listener to addpublic void removeListener(AlignmentServiceListener listener)
removeListener
in interface AlignmentService
listener
- the listener to removeprotected void notifyAlignmentCleared()
protected void notifyCellsAdded(Iterable<Cell> cells)
cells
- the cells that have been addedprotected void notifyCellReplaced(Cell oldCell, Cell newCell)
oldCell
- the old cell that has been replacednewCell
- the new cell that has replaced the otherprotected void notifyCellsRemoved(Iterable<Cell> cells)
cells
- the cells that have been removed
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |