|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AlignmentService
The AlignmentService
provides access to the currently loaded
alignment.
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. |
Method Detail |
---|
Alignment getAlignment()
Alignment
as currently represented in the
Alignment Model.void addOrUpdateAlignment(MutableAlignment alignment)
alignment
- the alignment to addvoid addCell(MutableCell cell)
cell
- the cell to addvoid replaceCell(Cell oldCell, MutableCell newCell)
oldCell
- the old cell that should be removed from the alignmentnewCell
- the new cell that should be added to the alignmentvoid removeCells(Cell... cells)
cells
- the cells to removevoid clean()
void addListener(AlignmentServiceListener listener)
listener
- the listener to addvoid removeListener(AlignmentServiceListener listener)
listener
- the listener to remove
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |