|
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.AlignmentServiceDecorator
public abstract class AlignmentServiceDecorator
Alignment service decorator
Field Summary | |
---|---|
protected AlignmentService |
alignmentService
The decorated alignment service |
Constructor Summary | |
---|---|
AlignmentServiceDecorator(AlignmentService alignmentService)
Create a decorator for the given alignment service |
Method Summary | |
---|---|
void |
addCell(MutableCell cell)
Adds the given cell to the current alignment. |
void |
addListener(AlignmentServiceListener listener)
Adds a listener to the service |
void |
addOrUpdateAlignment(MutableAlignment alignment)
Adds the cells contained in the given alignment to the current alignment. |
void |
clean()
Invoke this operation if you want to clear out all alignments stored. |
Alignment |
getAlignment()
Get the current alignment |
void |
removeCells(Cell... cells)
Removes the given cells |
void |
removeListener(AlignmentServiceListener listener)
Removes a listener to the service |
void |
replaceCell(Cell oldCell,
MutableCell newCell)
Replace a cell with a new cell. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final AlignmentService alignmentService
Constructor Detail |
---|
public AlignmentServiceDecorator(AlignmentService alignmentService)
alignmentService
- the alignment serviceMethod Detail |
---|
public Alignment getAlignment()
AlignmentService
getAlignment
in interface AlignmentService
Alignment
as currently represented in the
Alignment Model.AlignmentService.getAlignment()
public void addOrUpdateAlignment(MutableAlignment alignment)
AlignmentService
addOrUpdateAlignment
in interface AlignmentService
alignment
- the alignment to addAlignmentService.addOrUpdateAlignment(MutableAlignment)
public void addCell(MutableCell cell)
AlignmentService
addCell
in interface AlignmentService
cell
- the cell to addAlignmentService.addCell(MutableCell)
public void removeCells(Cell... cells)
AlignmentService
removeCells
in interface AlignmentService
cells
- the cells to removeAlignmentService.removeCells(Cell[])
public void clean()
AlignmentService
clean
in interface AlignmentService
AlignmentService.clean()
public void addListener(AlignmentServiceListener listener)
AlignmentService
addListener
in interface AlignmentService
listener
- the listener to addAlignmentService.addListener(AlignmentServiceListener)
public void removeListener(AlignmentServiceListener listener)
AlignmentService
removeListener
in interface AlignmentService
listener
- the listener to removeAlignmentService.removeListener(AlignmentServiceListener)
public void replaceCell(Cell oldCell, MutableCell newCell)
AlignmentService
replaceCell
in interface AlignmentService
oldCell
- the old cell that should be removed from the alignmentnewCell
- the new cell that should be added to the alignmentAlignmentService.replaceCell(Cell, MutableCell)
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |