public abstract class TextBlock extends Block
Modifier and Type | Field and Description |
---|---|
(package private) int[] |
cachedLimits |
(package private) BasicTouchTime |
cacheTime |
(package private) int |
nchar |
java.lang.String |
text |
(package private) XType |
type |
idInParent, nextBlock, previousBlock
Constructor and Description |
---|
TextBlock() |
TextBlock(java.lang.String s) |
Modifier and Type | Method and Description |
---|---|
void |
append(TextBlock tb) |
void |
deleteCharBefore(int caretPos) |
int[] |
getCachedPosition() |
java.lang.String |
getExtendedText() |
Guise |
getGuise() |
WordBlock |
getNextWordBlock() |
WordBlock |
getPreviousWordBlock() |
java.lang.String |
getText() |
XType |
getType() |
void |
insert(TextBlock b_middle,
int caretPos) |
void |
insertCharacter(char c,
int ipos) |
void |
insertNewline(int pos) |
(package private) boolean |
isText() |
abstract TextBlock |
makeCopy() |
abstract boolean |
matches(TextBlock tb) |
void |
newlineAfter() |
TextBlock |
nextTextBlock() |
TextBlock |
previousTextBlock() |
void |
remove() |
void |
setCachedPosition(int x,
int y,
int w,
int h) |
void |
setText(java.lang.String s) |
void |
setType(XType xt) |
int |
textLength() |
hasNext, hasPrevious, next, previous, setNext
childChanged, notifyAppearanceChange, setParent
public java.lang.String text
int nchar
int[] cachedLimits
XType type
BasicTouchTime cacheTime
public int[] getCachedPosition()
public void setCachedPosition(int x, int y, int w, int h)
public void setText(java.lang.String s)
public int textLength()
public java.lang.String getText()
public java.lang.String getExtendedText()
boolean isText()
public TextBlock nextTextBlock()
public TextBlock previousTextBlock()
public WordBlock getNextWordBlock()
public WordBlock getPreviousWordBlock()
public void insertCharacter(char c, int ipos)
public void newlineAfter()
public void insertNewline(int pos)
public abstract TextBlock makeCopy()
public abstract boolean matches(TextBlock tb)
public void insert(TextBlock b_middle, int caretPos)
public void remove()
public void append(TextBlock tb)
public void deleteCharBefore(int caretPos)
public void setType(XType xt)
public XType getType()
public Guise getGuise()
Copyright © 2013. All Rights Reserved.