Package io.keikai.ui.impl
Class NonBlankCellsHelper
- java.lang.Object
-
- io.keikai.ui.impl.NonBlankCellsHelper
-
- All Implemented Interfaces:
Serializable
public class NonBlankCellsHelper extends Object implements Serializable
A utility class for calculating position of non-blank cells. Each non-blank cells of a row or a column is stored as aNonBlankCellsHelper.NonBlankCellInfo
in this helper.- Since:
- 3.8.1
- Author:
- henrichen
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NonBlankCellsHelper.NonBlankCellInfo
-
Constructor Summary
Constructors Constructor Description NonBlankCellsHelper(List<NonBlankCellsHelper.NonBlankCellInfo> infos)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NonBlankCellsHelper.NonBlankCellInfo
getInfo(int cellIndex)
List<NonBlankCellsHelper.NonBlankCellInfo>
getInfos()
int
getNextNonBlank(int start)
int
getPrevNonBlank(int start)
boolean
isNonBlank(int cellIndex)
String
toString()
-
-
-
Constructor Detail
-
NonBlankCellsHelper
public NonBlankCellsHelper(List<NonBlankCellsHelper.NonBlankCellInfo> infos)
-
-
Method Detail
-
getInfos
public List<NonBlankCellsHelper.NonBlankCellInfo> getInfos()
-
isNonBlank
public boolean isNonBlank(int cellIndex)
-
getNextNonBlank
public int getNextNonBlank(int start)
-
getPrevNonBlank
public int getPrevNonBlank(int start)
-
getInfo
public NonBlankCellsHelper.NonBlankCellInfo getInfo(int cellIndex)
-
-