Package org.exbin.bined.basic
Class BasicCodeAreaStructure
- java.lang.Object
-
- org.exbin.bined.basic.BasicCodeAreaStructure
-
@ParametersAreNonnullByDefault public class BasicCodeAreaStructure extends java.lang.Object
Code area data representation structure for basic variant.
-
-
Constructor Summary
Constructors Constructor Description BasicCodeAreaStructure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
computeFirstCodeCharacterPos(int byteOffset)
CodeAreaCaretPosition
computeMovePosition(CodeAreaCaretPosition position, MovementDirection direction, int rowsPerPage)
int
computePositionByte(int rowCharPosition)
int
getBytesPerRow()
CodeType
getCodeType()
long
getDataSize()
int
getCharactersPerRow()
int
getMaxBytesPerLine()
long
getRowsPerDocument()
RowWrappingMode
getRowWrapping()
CodeAreaViewMode
getViewMode()
int
getWrappingBytesGroupSize()
void
updateCache(DataProvider codeArea, int charactersPerPage)
-
-
-
Method Detail
-
updateCache
public void updateCache(DataProvider codeArea, int charactersPerPage)
-
computePositionByte
public int computePositionByte(int rowCharPosition)
-
computeFirstCodeCharacterPos
public int computeFirstCodeCharacterPos(int byteOffset)
-
computeMovePosition
@Nonnull public CodeAreaCaretPosition computeMovePosition(CodeAreaCaretPosition position, MovementDirection direction, int rowsPerPage)
-
getViewMode
@Nonnull public CodeAreaViewMode getViewMode()
-
getCodeType
@Nonnull public CodeType getCodeType()
-
getDataSize
public long getDataSize()
-
getRowWrapping
@Nonnull public RowWrappingMode getRowWrapping()
-
getMaxBytesPerLine
public int getMaxBytesPerLine()
-
getWrappingBytesGroupSize
public int getWrappingBytesGroupSize()
-
getRowsPerDocument
public long getRowsPerDocument()
-
getBytesPerRow
public int getBytesPerRow()
-
getCharactersPerRow
public int getCharactersPerRow()
-
-