|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--org.abora.gold.java.AboraHeaper
|
+--org.abora.gold.xpp.basic.Heaper
|
+--org.abora.gold.wrapper.FeWrapper
|
+--org.abora.gold.wrapper.FeText
Handles a integer-indexed, contiguous, zero-based Edition of RangeElements
| Field Summary | |
protected static FeWrapperSpec |
TheTextSpec
|
| Fields inherited from class org.abora.gold.wrapper.FeWrapper |
myEdition, myInner, mySpec, TheWrapperSpec |
| Fields inherited from class org.abora.gold.xpp.basic.Heaper |
AllBlasts, BecomeMap, GarbageCount, InGC, InitializedClasses, InitializingClasses, LastMemory, NextClientRequestNumber, NotOneElementSignal, PackageTable, PromiseNameTable, StringHashSBoxes |
| Fields inherited from class org.abora.gold.java.AboraHeaper |
ActiveClubs, CurrentAuthor, CurrentBertCanopyCache, CurrentBertCrum, CurrentChunk, CurrentGrandMap, CurrentKeyMaster, CurrentPacker, CurrentSensorCanopyCache, CurrentServer, CurrentSession, CurrentSessions, CurrentTrace, InitialEditClub, InitialOwner, InitialReadClub, InitialSponsor, InsideTransactionFlag |
| Constructor Summary | |
FeText(FeEdition edition,
FeWrapperSpec spec)
|
|
| Method Summary | |
static boolean |
check(FeEdition edition)
|
static FeText |
construct(FeEdition edition)
Called from internal code to create and endorse new Editions. |
FeEdition |
contents()
The Edition of the actual contents, without any style information. |
IntegerVar |
count()
The number of elements in the string |
FeText |
extract(IntegerRegion region)
All the text lying within the region, with the gaps compressed out. |
static void |
info()
{FeEdition CLIENT} contents {IntegerVar CLIENT} count {FeText CLIENT} extract: region {IntegerRegion} {FeText CLIENT} insert: position {IntegerVar} with: text {FeText} {FeText CLIENT} move: pos {IntegerVar} with: region {IntegerRegion} {FeText CLIENT} replace: dest {IntegerRegion} with: other {FeText} |
static void |
initTimeNonInherited()
|
FeText |
insert(IntegerVar position,
FeText text)
Insert new information into the Edition at the given point, pushing everything after it forward. |
static void |
linkTimeNonInherited()
|
static Heaper |
make(PrimArray data)
|
static FeWrapper |
makeWrapper(FeEdition edition)
|
FeText |
move(IntegerVar pos,
IntegerRegion region)
Insert a virtual copy of the region of text before the given position, and remove it from its current location. |
void |
printOn(java.io.PrintWriter oo)
|
FeText |
replace(IntegerRegion dest,
FeText other)
Replaces a region of text with a virtual copy of text from another document. If the destination region lies to the left of the domain, inserts before the beginning; if it intersects the domain, insert at the first common position; if it lies after the end, insert after the end. |
static void |
setSpec(FeWrapperSpec wrap)
|
static FeWrapperSpec |
spec()
|
void |
validate(IntegerVar pos)
Check that information can be inserted at the position. |
| Methods inherited from class org.abora.gold.wrapper.FeWrapper |
actualHashForEqual, checkDomainHas, checkDomainIn, checkSubEdition, checkSubEditions, checkSubSequence, checkSubSetEdition, checkSubWork, edition, inner, isEqual, isWrapperOf |
| Methods inherited from class org.abora.gold.java.AboraHeaper |
asOop, basicInspect, displayString, error, hack, halt, inspect, knownBug, mightNotImplement, REQUIRES, shouldImplement, shouldNotImplement, stubbleForSubclassResponsibility, thingToDo, willNotImplement |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static FeWrapperSpec TheTextSpec
| Constructor Detail |
public FeText(FeEdition edition,
FeWrapperSpec spec)
| Method Detail |
public FeEdition contents()
public IntegerVar count()
public FeText extract(IntegerRegion region)
public FeText insert(IntegerVar position,
FeText text)
public FeText move(IntegerVar pos,
IntegerRegion region)
public FeText replace(IntegerRegion dest,
FeText other)
public void validate(IntegerVar pos)
public void printOn(java.io.PrintWriter oo)
printOn in class Heaperpublic static boolean check(FeEdition edition)
public static FeText construct(FeEdition edition)
public static FeWrapper makeWrapper(FeEdition edition)
public static void setSpec(FeWrapperSpec wrap)
public static void initTimeNonInherited()
public static void linkTimeNonInherited()
public static Heaper make(PrimArray data)
public static FeWrapperSpec spec()
public static void info()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||