final class Zoom extends AnyRef
A Mutable wrapper of the character sequence. Helps track different lookup operations.
- Alphabetic
- By Inheritance
- Zoom
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Zoom(input: CharSequence)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def closeUpFrameAndResetContour: Boolean
- def contour: (Int, Int)
- def contourLength: Int
- def copy: Zoom
Exact copy of this Zoom.
- def copyFrameAndResetContour: Zoom
Copy frame and reset contour.
- def end(): Int
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def flipFrame(other: Zoom, leftSide: Boolean): Boolean
Move this frame on the left or the right side of the other Zoom's contour.
- def frame: (Int, Int)
- def frameWidth: Int
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hasContour: Boolean
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def indexOf(string: String): Int
Similar to String.indexOf
- def intersectContour(other: Zoom): Boolean
Intersect contours.
- def isEmpty: Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def lastIndexOf(string: String): Int
Similar to String.lastIndexOf
- def left: Int
- def lookupFor(string: String): Boolean
Lookup for the given string from both sides.
- def lookupLeftFor(string: String, maxDistance: Int = Int.MaxValue): Boolean
Lookup for the given string from the right side.
- def lookupLeftUntil(check: (Char) => Boolean, minSteps: Int = 0, maxSteps: Int = Int.MaxValue): Boolean
Lookup from right until check succeeds.
- def lookupLeftWhile(check: (Char) => Boolean, maxSteps: Int = Int.MaxValue): Boolean
Lookup from the right side while check succeeds.
- def lookupRightFor(string: String, maxDistance: Int = Int.MaxValue): Boolean
Lookup for the given string from the left side.
- def lookupRightUntil(check: (Char) => Boolean, minSteps: Int = 0, maxSteps: Int = Int.MaxValue): Boolean
Lookup from the left side until check succeeds.
- def lookupRightWhile(check: (Char) => Boolean, maxSteps: Int = Int.MaxValue): Boolean
Lookup from the left side while check succeeds.
- def lookupWhile(check: (Char) => Boolean, maxSteps: Int = 0): Boolean
- def lookupWhileNot(check: (Char) => Boolean, minSteps: Int = Int.MaxValue, maxSteps: Int = 0): Boolean
- def maxElseBottom: Int
- def maxElseTop: Int
- def merge(other: Zoom): Boolean
Merge contours and frames.
- def minElseBottom: Int
- def minElseTop: Int
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noGapBetweenContours(other: Zoom): Boolean
- def noOverlapBetweenContours(other: Zoom): Boolean
- def nonEmpty: Boolean
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def prettyPrint: String
- def resetContour: Zoom
- def resizeFrame(distance: Int, leftSide: Boolean): Unit
Change frame boundary on the left or the right side.
- def right: Int
- def setFrame(from: Int, to: Int): Zoom
- def squeezeRightOrLeft(offset: Int, minWidth: Int, maxTo: Int): Boolean
- def start(): Int
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def takeAll(): Boolean
- def takeAllFromLeft(): Boolean
Expand contour from the left side.
- def takeAllFromRight(): Boolean
Expand contour from the right side.
- def toString(): String
- Definition Classes
- Zoom → AnyRef → Any
- def unionContour(other: Zoom): Boolean
Union contours.
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()