|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gzz.media.impl.FakeTextSpan.FakeTextScrollBlock
Field Summary |
Fields inherited from interface gzz.media.TextScrollBlock |
rcsid |
Constructor Summary | |
protected |
FakeTextSpan.FakeTextScrollBlock()
|
Method Summary | |
TextSpan |
append(char ch)
|
TextSpan |
append(java.lang.String s)
|
char[] |
getCharArray()
Get the internal character array of this scrollblock. |
Span |
getCurrent()
Get the current contents of this block as a single span of the appropriate type. |
java.lang.String |
getID()
Get the globally unique identifier of this block. |
Span |
getSpan(int offs,
int len)
Get a span that represents the given range inside this scrollblock. |
boolean |
isFinalized()
Whether this block has been finalized or whether more can be appended. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected FakeTextSpan.FakeTextScrollBlock()
Method Detail |
public java.lang.String getID()
ScrollBlock
getID
in interface ScrollBlock
public Span getCurrent()
ScrollBlock
getCurrent
in interface ScrollBlock
public boolean isFinalized()
ScrollBlock
isFinalized
in interface ScrollBlock
public TextSpan append(char ch) throws gzz.errors.ImmutableException
append
in interface TextScrollBlock
gzz.errors.ImmutableException
public TextSpan append(java.lang.String s) throws gzz.errors.ImmutableException
append
in interface TextScrollBlock
gzz.errors.ImmutableException
public char[] getCharArray()
TextScrollBlock
THE RETURNED CHARACTER ARRAY MUST NOT BE MODIFIED UNDER ANY CIRCUMSTANCES.
getCharArray
in interface TextScrollBlock
public Span getSpan(int offs, int len)
TextScrollBlock
getSpan
in interface TextScrollBlock
offs
- The offset the span should start at.len
- The one-past-end offset.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |