|
Multivalent API | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Leaf | |
---|---|
multivalent | Core system classes. |
multivalent.gui | Graphical user interface widgets, natively implemented as Nodes. |
multivalent.node | Many types of tree nodes: scrolled panel, fixed format document nodes, media leaves. |
multivalent.std.adaptor.pdf | PDF manipulation: read, render, modify, write. |
multivalent.std.span | A collection of general-use spans: hyperlink, highlight, font, color. |
Uses of Leaf in multivalent |
---|
Fields in multivalent declared as Leaf | |
---|---|
Leaf |
Mark.leaf
Leaf attached to. |
Methods in multivalent that return Leaf | |
---|---|
abstract Leaf |
Node.getFirstLeaf()
|
abstract Leaf |
Node.getLastLeaf()
|
Leaf |
Node.getNextLeaf()
Get the following leaf in a left-to-right traversal, returning null if none. |
Leaf |
Node.getPrevLeaf()
Get the previous leaf in a left-to-right traversal, returning null if none. |
Leaf |
Leaf.getFirstLeaf()
|
Leaf |
Leaf.getLastLeaf()
|
Leaf |
INode.getFirstLeaf()
If first child is leaf, returns that. |
Leaf |
INode.getLastLeaf()
If last child is leaf, returns that. |
Methods in multivalent with parameters of type Leaf | |
---|---|
void |
Span.move(Leaf ln,
int lo,
Leaf rn,
int ro)
Save move, for interactive use: selection, annotations. |
void |
Span.moveqSwap(Leaf ln,
int lo,
Leaf rn,
int ro)
Like moveq(), swapping endpoints if necessary, so that left comes before right in tree order. |
void |
Span.moveq(Leaf ln,
int lo,
Leaf rn,
int ro)
"move quick" just updates summaries, so more efficient than move(), if caller: guarantees that first node comes before second node (so the system doesn't have to spend time checking this), and handles all reformatting and repainting (including marking tree nodes dirty) Useful using during initial tree builds, when adding spans and formatting in batch(es). |
static void |
Span.stretch(Leaf l,
INode within)
Removing leaf from tree, but preserve its span transitions by stretching end transitions to previous node and start transitions to next node. |
void |
Mark.move(Leaf newleaf,
int newoffset)
|
int |
Leaf.lengthTo(int starti,
Leaf endn,
int endi)
|
void |
Leaf.append(Leaf l)
Append leaf to the end of this one, adjusting content, spans, and so on. |
void |
Leaf.delete(int startoff,
Leaf endn,
int endoff)
|
java.lang.String |
Leaf.cut(int startoff,
Leaf endn,
int endoff)
|
java.lang.String |
Leaf.eatme(int startoff,
Leaf endn,
int endoff)
|
java.lang.String |
Leaf.copy(int startoff,
Leaf endn,
int endoff)
|
void |
CursorMark.move(Leaf n,
int offset)
|
void |
Context.paintBefore(Context cx,
Leaf n)
|
void |
Context.paintAfter(Context cx,
Leaf n)
|
Constructors in multivalent with parameters of type Leaf | |
---|---|
Mark(Leaf n,
int offset)
|
|
Mark(Leaf leaf,
int offset,
java.lang.Object owner)
|
Uses of Leaf in multivalent.gui |
---|
Subclasses of Leaf in multivalent.gui | |
---|---|
class |
VScrollbar
Scrollbars, both vertical and horizontal. |
class |
VSeparator
Menu separator widget, whose name is used to identify menu categories. |
Uses of Leaf in multivalent.node |
---|
Subclasses of Leaf in multivalent.node | |
---|---|
class |
FixedLeafBlock
|
class |
FixedLeafImage
Holds an Image . |
class |
FixedLeafOCR
Draw by reaching clipping out from who page image that portion corresponding to word. |
class |
FixedLeafShape
Holds a Shape . |
class |
FixedLeafUnicode
Leaf subclass for fixed-formatted ASCII. |
class |
FixedLeafUnicodeKern
Leaf subclass for fixed-formatted Unicode with kerning. |
class |
LeafBlock
Block empty rectangular placeholder, for replacing advertisements, say. |
class |
LeafImage
Medium-specific leaf node. |
class |
LeafShadow
Leaf to shadow structural node in absolute visual space. |
class |
LeafShape
Holds a Shape , which is painted stroked or filled or both. |
class |
LeafText
Superclass for text leaf nodes. |
class |
LeafUnicode
Leaf subclass for Unicode. |
class |
LeafZero
Leaf node that has zero effect on layout and display. |
Methods in multivalent.node that return Leaf | |
---|---|
Leaf |
NodeCharSequence.nodeAt(int index)
|
Methods in multivalent.node with parameters of type Leaf | |
---|---|
int |
NodeCharSequence.textIndexOf(Leaf l)
|
void |
LeafText.append(Leaf l)
|
void |
FixedLeafUnicodeKern.append(Leaf l)
|
Constructors in multivalent.node with parameters of type Leaf | |
---|---|
NodeCharSequence(Leaf startl,
Leaf endl)
|
Uses of Leaf in multivalent.std.adaptor.pdf |
---|
Subclasses of Leaf in multivalent.std.adaptor.pdf | |
---|---|
class |
FixedLeafShade
INCOMPLETE. |
Uses of Leaf in multivalent.std.span |
---|
Methods in multivalent.std.span with parameters of type Leaf | |
---|---|
void |
SidebarSpan.move(Leaf ln,
int lo,
Leaf rn,
int ro)
|
void |
SelectionSpan.move(Leaf ln,
int lo,
Leaf rn,
int ro)
No formatting, so can be more efficient, as for dragging out selection. |
void |
SelectionSpan.moveq(Leaf ln,
int lo,
Leaf rn,
int ro)
Report movement with MSG_SET semantic event, with arg = this. |
void |
ReplaceWithSpan.moveq(Leaf ln,
int lo,
Leaf rn,
int ro)
|
void |
OutlineSpan.moveq(Leaf ln,
int lo,
Leaf rn,
int ro)
|
void |
Notemark.moveq(Leaf ln,
int lo,
Leaf rn,
int ro)
|
void |
MoveTextSpan.moveq(Leaf ln,
int lo,
Leaf rn,
int ro)
Also recompute display. |
void |
LabelSpan.moveq(Leaf ln,
int lo,
Leaf rn,
int ro)
|
void |
CapSpan.moveq(Leaf ln,
int lo,
Leaf rn,
int ro)
|
void |
BIUSpan.moveq(Leaf ln,
int lo,
Leaf rn,
int ro)
|
void |
AwkSpan.moveq(Leaf ln,
int lo,
Leaf rn,
int ro)
|
|
Multivalent API | |||||||||
PREV NEXT | FRAMES NO FRAMES |