Class

com.themillhousegroup.scoup

RichElement

Related Doc: package scoup

Permalink

class RichElement extends ClosestElement with DocumentPositioning with AttributeOption

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RichElement
  2. AttributeOption
  3. DocumentPositioning
  4. ClosestElement
  5. ElementTarget
  6. Target
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RichElement(target: Element)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def attribute(name: String): Option[String]

    Permalink
    Definition Classes
    AttributeOption
  6. def attributeRegex(nameRegex: Regex): Option[String]

    Permalink
    Definition Classes
    AttributeOption
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def closest(selector: String): Elements

    Permalink

    For each element in the set, get the first elements that match the selector by testing the element itself and traversing up through its ancestors in the DOM tree.

    For each element in the set, get the first elements that match the selector by testing the element itself and traversing up through its ancestors in the DOM tree.

    returns

    an Elements (which may be empty)

    Definition Classes
    ClosestElement
    See also

    http://api.jquery.com/closest/

  9. def closestAfterOption(selector: String): Option[Element]

    Permalink

    Finds the first element that matches the selector by testing the element itself and then its ancestors, but ensuring that the element is located "after" (i.e.

    Finds the first element that matches the selector by testing the element itself and then its ancestors, but ensuring that the element is located "after" (i.e. closer to the bottom of the document) than "this" Element.

    Definition Classes
    ClosestElement
  10. def closestBeforeOption(selector: String): Option[Element]

    Permalink

    Finds the first element that matches the selector by testing the element itself and then its ancestors, but ensuring that the element is located "before" (i.e.

    Finds the first element that matches the selector by testing the element itself and then its ancestors, but ensuring that the element is located "before" (i.e. closer to the top of the document) than "this" Element.

    Definition Classes
    ClosestElement
  11. def closestOption(selector: String): Option[Element]

    Permalink

    For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.

    For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.

    returns

    a Some containing the first one found, or None

    Definition Classes
    ClosestElement
    See also

    http://api.jquery.com/closest/

  12. lazy val documentCoordinates: Seq[Int]

    Permalink

    Logic: - Recurse up my parents, recording the sibling index of each as an integer - Reverse the order of the integer sequence.

    Logic: - Recurse up my parents, recording the sibling index of each as an integer - Reverse the order of the integer sequence. These are my "co-ordinates" These can be used for before/after document position queries

    Definition Classes
    DocumentPositioning
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. def isAfter(other: DocumentPositioning): Boolean

    Permalink
    Definition Classes
    DocumentPositioning
  19. def isBefore(other: DocumentPositioning): Boolean

    Permalink
    Definition Classes
    DocumentPositioning
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. val target: Element

    Permalink
    Definition Classes
    RichElementTarget
  26. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AttributeOption

Inherited from DocumentPositioning

Inherited from ClosestElement

Inherited from ElementTarget

Inherited from Target[Element]

Inherited from AnyRef

Inherited from Any

Ungrouped