public class HeaderPositionHelper extends Object implements Serializable
HeaderPositionHelper.HeaderPositionInfo
in this helper.Modifier and Type | Class and Description |
---|---|
static class |
HeaderPositionHelper.HeaderPositionInfo |
Constructor and Description |
---|
HeaderPositionHelper(int defaultSize,
List<HeaderPositionHelper.HeaderPositionInfo> infos) |
Modifier and Type | Method and Description |
---|---|
int |
getCellIndex(int px) |
int |
getDefaultSize() |
HeaderPositionHelper.HeaderPositionInfo |
getInfo(int cellIndex) |
List<HeaderPositionHelper.HeaderPositionInfo> |
getInfos() |
int |
getNextNonHidden(int cellIndex) |
int |
getPrevNonHidden(int cellIndex) |
int |
getSize(int cellIndex) |
int |
getStartPixel(int cellIndex) |
boolean |
isHidden(int cellIndex) |
void |
removeInfo(int cellIndex) |
void |
setInfoValues(int cellIndex,
int size,
int id,
boolean hidden,
boolean isCustom) |
void |
shiftMeta(int cellIndex,
int offset) |
String |
toString() |
void |
unshiftMeta(int cellIndex,
int offset) |
public HeaderPositionHelper(int defaultSize, List<HeaderPositionHelper.HeaderPositionInfo> infos)
public int getDefaultSize()
public List<HeaderPositionHelper.HeaderPositionInfo> getInfos()
public boolean isHidden(int cellIndex)
public int getPrevNonHidden(int cellIndex)
public int getNextNonHidden(int cellIndex)
public int getSize(int cellIndex)
public void shiftMeta(int cellIndex, int offset)
public void unshiftMeta(int cellIndex, int offset)
public HeaderPositionHelper.HeaderPositionInfo getInfo(int cellIndex)
public void setInfoValues(int cellIndex, int size, int id, boolean hidden, boolean isCustom)
public void removeInfo(int cellIndex)
public int getCellIndex(int px)
public int getStartPixel(int cellIndex)
Copyright © 2020. All rights reserved.