multivalent

Class Mark

public class Mark extends Object

(Leaf, offset) pair. Not added to a Leaf's sticky list until Mark.

Version: $Revision: 1.9 $ $Date: 2003/01/30 01:03:37 $

See Also: Span

Field Summary
Leafleaf
Leaf attached to.
intoffset
Offset within leaf.
Constructor Summary
Mark()
Mark(Leaf n, int offset)
Mark(Mark copyme)
Mark(Leaf leaf, int offset, Object owner)
Method Summary
booleanequals(Object o)
ObjectgetOwner()
inthashCode()
booleanisSet()
voidmove(Mark m)
voidmove(Leaf newleaf, int newoffset)
voidmove(int delta)
voidmove(int delta, INode bounds)
Move by delta units, traversing leaf-to-leaf, bounded inside passed subtree.
voidremove()
voidscrollTo()
Scroll containing IScrollPane as necessary to show cursor on screen.
StringtoString()

Field Detail

leaf

public Leaf leaf
Leaf attached to.

offset

public int offset
Offset within leaf.

Constructor Detail

Mark

public Mark()

Mark

public Mark(Leaf n, int offset)

Mark

public Mark(Mark copyme)

Mark

public Mark(Leaf leaf, int offset, Object owner)

Method Detail

equals

public boolean equals(Object o)

getOwner

public final Object getOwner()

hashCode

public int hashCode()

isSet

public boolean isSet()

move

public void move(Mark m)

move

public void move(Leaf newleaf, int newoffset)

move

public void move(int delta)

move

public void move(int delta, INode bounds)
Move by delta units, traversing leaf-to-leaf, bounded inside passed subtree.

remove

public void remove()

scrollTo

public void scrollTo()
Scroll containing IScrollPane as necessary to show cursor on screen.

toString

public String toString()