Package org.exbin.bined.basic
Class BasicCodeAreaStructure
- java.lang.Object
-
- org.exbin.bined.basic.BasicCodeAreaStructure
-
@ParametersAreNonnullByDefault public class BasicCodeAreaStructure extends java.lang.ObjectCode 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 intcomputeFirstCodeCharacterPos(int byteOffset)CodeAreaCaretPositioncomputeMovePosition(CodeAreaCaretPosition position, MovementDirection direction, int rowsPerPage)intcomputePositionByte(int rowCharPosition)intgetBytesPerRow()CodeTypegetCodeType()longgetDataSize()intgetCharactersPerRow()intgetMaxBytesPerLine()longgetRowsPerDocument()RowWrappingModegetRowWrapping()CodeAreaViewModegetViewMode()intgetWrappingBytesGroupSize()voidupdateCache(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()
-
-