src.backend
クラス TermEntry
java.lang.Object
src.backend.Entry
src.backend.TermEntry
public class TermEntry
- extends Entry
- 作成者:
- koji
クラス java.lang.Object から継承されたメソッド |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TermEntry
public TermEntry(Chunk chunk)
read
public void read()
- read entry from file
write
public void write()
- オーバーライド:
- クラス
Entry
内の write
setRawText
public void setRawText(byte[] textData)
getTerminalGrouping
public TerminalGrouping getTerminalGrouping(int gid)
throws OutOfIndexException
- 例外:
OutOfIndexException
addTerminalGrouping
public void addTerminalGrouping(TerminalGrouping tg)
getFlags
public short getFlags()
setFlags
public void setFlags(short flags)
getFontChanges
public java.util.List getFontChanges()
getFontChangesCount
public short getFontChangesCount()
getTerminalGroupingCount
public short getTerminalGroupingCount()
getLinesPerPage
public short getLinesPerPage()
getTextGroupingDecoded
public java.lang.String getTextGroupingDecoded(int gid)
throws OutOfIndexException
- get the text encoded
- パラメータ:
gid
-
- 戻り値:
-
- 例外:
OutOfIndexException
setTextWithDecoding
public void setTextWithDecoding(byte[] txt)
setGroupingText
public void setGroupingText(byte[] insertText,
int groupingIndex)
throws OutOfIndexException
- パラメータ:
insertText
- groupingIndex
-
- 例外:
OutOfIndexException
encode
public static byte[] encode(byte[] sourceText,
int startIndex,
int length)
- encode / decode text
- パラメータ:
sourceText
- the source text raw or encoded bytessourceLength
- the length of source textstartIndex
- offsetlength
- the length of text you want
- 戻り値:
- encoded / decoded text
getTextLength
public int getTextLength()
getTotalLength
public short getTotalLength()
setLinesPerPage
public void setLinesPerPage(short linesPerPage)
getFontChange
public FontChange getFontChange(int index)
throws OutOfIndexException
- 例外:
OutOfIndexException
addFontChange
public void addFontChange(FontChange fc)
insertTerminalGrouping
public void insertTerminalGrouping(TerminalGrouping newGroup,
int sel)
- insert terminal group (page)
- パラメータ:
newGroup
- sel
-
removeFontChange
public FontChange removeFontChange(int sel)
throws OutOfIndexException
- 例外:
OutOfIndexException
removeTerminalGrouping
public TerminalGrouping removeTerminalGrouping(int sel)
throws OutOfIndexException
- 例外:
OutOfIndexException
getFontChangeList
public java.util.List getFontChangeList()