Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Multivalent API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## multivalent
Class Mark

    java.lang.Object
      multivalent.Mark

public class Mark
extends java.lang.Object

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

Version:
  $Revision: 1.9 $ $Date: 2003/01/30 01:03:37 $
See Also:
  `Span`

Field Summary
`Leaf` | `leaf` Leaf attached to.
`int` | `offset` Offset within leaf.

Constructor Summary
`Mark()`
`Mark(Leaf n, int offset)`
`Mark(Leaf leaf, int offset, java.lang.Object owner)`
`Mark(Mark copyme)`

Method Summary
`boolean` | `equals(java.lang.Object o)`
`java.lang.Object` | `getOwner()`
`int` | `hashCode()`
`boolean` | `isSet()`
`void` | `move(int delta)`
`void` | `move(int delta, INode bounds)` Move by delta units, traversing leaf-to-leaf, bounded inside passed subtree.
`void` | `move(Leaf newleaf, int newoffset)`
`void` | `move(Mark m)`
`void` | `remove()`
`void` | `scrollTo()` Scroll containing IScrollPane as necessary to show cursor on screen.
`java.lang.String` | `toString()`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

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,
                java.lang.Object owner)

Method Detail

### getOwner

    public final java.lang.Object getOwner()

### 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.

### equals

    public boolean equals(java.lang.Object o)

  Overrides:
    `equals` in class `java.lang.Object`

### hashCode

    public int hashCode()

  Overrides:
    `hashCode` in class `java.lang.Object`

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `java.lang.Object`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Multivalent API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD