public class WordBlock extends TextBlock implements TextDisplayed
Modifier and Type | Field and Description |
---|---|
(package private) WordBlock |
linkee |
cachedLimits, cacheTime, nchar, text, type
idInParent, nextBlock, previousBlock
Constructor and Description |
---|
WordBlock() |
WordBlock(java.lang.String s) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDisplayText() |
java.lang.String |
getExtendedText() |
WordBlock |
getLinkee() |
boolean |
hasLinkee() |
TextBlock |
makeCopy() |
boolean |
matches(TextBlock tb) |
void |
toggleLink(WordBlock wb) |
void |
weakSetType(XType xt) |
append, deleteCharBefore, getCachedPosition, getGuise, getNextWordBlock, getPreviousWordBlock, getText, getType, insert, insertCharacter, insertNewline, isText, newlineAfter, nextTextBlock, previousTextBlock, remove, setCachedPosition, setText, setType, textLength
hasNext, hasPrevious, next, previous, setNext
childChanged, notifyAppearanceChange, setParent
WordBlock linkee
public java.lang.String getExtendedText()
getExtendedText
in class TextBlock
public void toggleLink(WordBlock wb)
public boolean hasLinkee()
public WordBlock getLinkee()
public void weakSetType(XType xt)
public java.lang.String getDisplayText()
getDisplayText
in interface TextDisplayed
Copyright © 2013. All Rights Reserved.