|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gzz.media.impl.PermanentTextScroll
A text scroll block loaded from somewhere.
Field Summary |
Fields inherited from interface gzz.media.TextScrollBlock |
rcsid |
Constructor Summary | |
PermanentTextScroll(Mediaserver ms,
Mediaserver.Id msid)
|
|
PermanentTextScroll(java.lang.String text)
|
Method Summary | |
TextSpan |
append(char ch)
|
TextSpan |
append(java.lang.String s)
|
boolean |
equals(java.lang.Object o)
|
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 offs1,
int offs2)
Get a span that represents the given range inside this scrollblock. |
int |
hashCode()
|
boolean |
isFinalized()
Whether this block has been finalized or whether more can be appended. |
protected void |
load()
|
Mediaserver.Id |
saveOrGetId(Mediaserver ms)
Get the Mediaserver id of this block; save when not saved yet. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PermanentTextScroll(java.lang.String text)
public PermanentTextScroll(Mediaserver ms, Mediaserver.Id msid)
Method Detail |
public java.lang.String getID()
ScrollBlock
getID
in interface ScrollBlock
public Mediaserver.Id saveOrGetId(Mediaserver ms)
ScrollBlockManager.MediaserverScrollBlock
saveOrGetId
in interface ScrollBlockManager.MediaserverScrollBlock
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
protected final void load()
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 Span getCurrent()
ScrollBlock
getCurrent
in interface ScrollBlock
public Span getSpan(int offs1, int offs2)
TextScrollBlock
getSpan
in interface TextScrollBlock
offs1
- The offset the span should start at.offs2
- The one-past-end offset.public boolean isFinalized()
ScrollBlock
isFinalized
in interface ScrollBlock
public char[] getCharArray()
TextScrollBlock
THE RETURNED CHARACTER ARRAY MUST NOT BE MODIFIED UNDER ANY CIRCUMSTANCES.
getCharArray
in interface TextScrollBlock
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |