public class HeaderPositionHelper
extends java.lang.Object
implements java.io.Serializable
HeaderPositionHelper.HeaderPositionInfo
in this helper.Modifier and Type | Class and Description |
---|---|
static class |
HeaderPositionHelper.HeaderPositionInfo |
Constructor and Description |
---|
HeaderPositionHelper(int defaultSize,
java.util.List<HeaderPositionHelper.HeaderPositionInfo> infos) |
Modifier and Type | Method and Description |
---|---|
int |
getCellIndex(int px) |
int |
getDefaultSize() |
HeaderPositionHelper.HeaderPositionInfo |
getInfo(int cellIndex) |
java.util.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) |
java.lang.String |
toString() |
void |
unshiftMeta(int cellIndex,
int offset) |
public HeaderPositionHelper(int defaultSize, java.util.List<HeaderPositionHelper.HeaderPositionInfo> infos)
public int getDefaultSize()
public java.util.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)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.