Uses of Interface
com.slinky.hackmaster.model.cell.CellCluster
Packages that use CellCluster
-
Uses of CellCluster in com.slinky.hackmaster.model.cell
Classes in com.slinky.hackmaster.model.cell that implement CellClusterModifier and TypeClassDescriptionclass
A specialised implementation ofAbstractCluster
that groupsLetterCell
s.class
TheSymbolCluster
class extendsAbstractCluster
and is designed to manage a collection ofSymbolCell
objects.Methods in com.slinky.hackmaster.model.cell that return CellClusterModifier and TypeMethodDescriptionCell.getMainCluster()
Retrieves the primary cluster that thisCell
is associated with.LetterCell.getMainCluster()
Returns theCellCluster
instance that thisLetterCell
currently belongs to.SymbolCell.getMainCluster()
Returns theCellCluster
where thisSymbolCell
is the first cell in the cluster.Methods in com.slinky.hackmaster.model.cell that return types with arguments of type CellClusterModifier and TypeMethodDescriptionClusterStrategy.clusterLetters
(Collection<? extends Cell> letterCells) Clusters a given collection ofLetterCell
s into one or moreCellCluster
s based on the implemented strategy.ExhaustiveClusterStrategy.clusterLetters
(Collection<? extends Cell> cells) Linearly searches through eachCell
and groups consecutiveLetterCell
s intoLetterCluster
s.ClusterStrategy.clusterSymbols
(Collection<? extends Cell> symbolCells) Clusters a given collection ofSymbolCell
s into one or moreCellCluster
s based on the implemented strategy.ExhaustiveClusterStrategy.clusterSymbols
(Collection<? extends Cell> symbolCells) Clusters symbols in a given collection ofCell
objects based on matching open and close bracket types.CellGrid.getLetterClusters()
Returns the list of letter clusters in the grid.CellManager.getLetterClusters()
Retrieves a list ofCellCluster
objects that represent clusters of letter cells.CellGrid.getSymbolClusters()
Returns the list of symbol clusters in the grid.CellManager.getSymbolClusters()
Retrieves a list ofCellCluster
objects that represent clusters of symbol cells.Methods in com.slinky.hackmaster.model.cell with parameters of type CellClusterModifier and TypeMethodDescriptionboolean
Cell.addToCluster
(CellCluster cluster) Adds thisCell
to the specifiedCellCluster
.boolean
LetterCell.addToCluster
(CellCluster cluster) Adds thisLetterCell
to the specifiedLetterCluster
.boolean
SymbolCell.addToCluster
(CellCluster cluster) Adds thisSymbolCell
to the specifiedCellCluster
.boolean
Cell.removeCluster
(CellCluster cluster) Removes thisCell
from the specifiedCellCluster
.boolean
LetterCell.removeCluster
(CellCluster cluster) Removes thisLetterCell
from the specifiedCellCluster
.boolean
SymbolCell.removeCluster
(CellCluster cluster) Removes thisSymbolCell
from the specifiedCellCluster
.Constructors in com.slinky.hackmaster.model.cell with parameters of type CellClusterModifierConstructorDescriptionClusterCloseException
(CellCluster cluster, String s) Constructs a newClusterCloseException
with the specified detail message. -
Uses of CellCluster in com.slinky.hackmaster.view
Methods in com.slinky.hackmaster.view that return CellClusterModifier and TypeMethodDescriptionCellView.getMainCluster()
Retrieves the mainCellCluster
to which the associatedCell
belongs.