public class CollationResults extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
CollationResults.ICollationResultsListener |
Constructor and Description |
---|
CollationResults() |
Modifier and Type | Method and Description |
---|---|
void |
addListener(CollationResults.ICollationResultsListener listener) |
CollationSet |
getCollationSet() |
EqualityTokenComparator |
getComparator()
Returns the
Comparator that is used to compare tokens in this
CollationSet . |
Equivalences |
getEquivalences() |
CollationSetWitness |
getFocusedCSWitness()
In user interfaces representing the CollationSet, a witness can be
focused.
|
BasicWitness |
getFocusedWitness()
Returns the
Witness to be used as base text. |
VariantGraph |
getVariantGraph() |
protected void |
notifyFocusChanged() |
void |
removeListener(CollationResults.ICollationResultsListener listener) |
void |
setCollationSet(CollationSet collationSet) |
void |
setEquivalences(Equivalences equivalences) |
void |
setFocusedCSWitness(CollationSetWitness focusedCSWitness) |
void |
setVariantGraph(VariantGraph variantGraph) |
public void addListener(CollationResults.ICollationResultsListener listener)
public void removeListener(CollationResults.ICollationResultsListener listener)
protected void notifyFocusChanged()
public CollationSet getCollationSet()
public void setCollationSet(CollationSet collationSet)
public Equivalences getEquivalences()
public void setEquivalences(Equivalences equivalences)
public VariantGraph getVariantGraph()
public void setVariantGraph(VariantGraph variantGraph)
public EqualityTokenComparator getComparator()
Comparator
that is used to compare tokens in this
CollationSet
.public CollationSetWitness getFocusedCSWitness()
Clients can register
a CollationResults.ICollationResultsListener to be notified when the witness
changes. Clients can alternatively use getFocusedWitness()
to
retrieve the Witness
from the variant graph corresponding to the focused witness.
public BasicWitness getFocusedWitness()
Witness
to be used as base text. See
getFocusedCSWitness()
for an explanation of the concept.public void setFocusedCSWitness(CollationSetWitness focusedCSWitness)
Copyright © 2013 TextGrid. All Rights Reserved.