constraints.tests.NQueensApplet

ui

object ui extends UI with SearchEngineTrait

Definition Classes
NQueensApplet → Applet
Linear Supertypes
SearchEngineTrait, UI, RootPanel, Container, UIElement, LazyPublisher, Publisher, Reactor, Proxy, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. ui
  2. SearchEngineTrait
  3. UI
  4. RootPanel
  5. Container
  6. UIElement
  7. LazyPublisher
  8. Publisher
  9. Reactor
  10. Proxy
  11. AnyRef
  12. Any
Visibility
  1. Public
  2. All

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. var Randomized : Boolean

    Definition Classes
    SearchEngineTrait
  7. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  8. def background : Color

    Definition Classes
    UIElement
  9. def background_= (c: Color): Unit

    Definition Classes
    UIElement
  10. def bounds : Rectangle

    Definition Classes
    UIElement
  11. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. def contents : Seq[Component]

    Definition Classes
    RootPanel → Container
  13. def contents_= (c: Component): Unit

    Definition Classes
    UI → RootPanel
  14. def cursor : Cursor

    Definition Classes
    UIElement
  15. def cursor_= (c: Cursor): Unit

    Definition Classes
    UIElement
  16. def deafTo (ps: Publisher*): Unit

    Definition Classes
    Reactor
  17. def displayable : Boolean

    Definition Classes
    UIElement
  18. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  19. def equals (that: Any): Boolean

    Definition Classes
    Proxy → AnyRef → Any
  20. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  21. def flip : Boolean

    returns a randomly chosen boolean (50%-50%)

    returns a randomly chosen boolean (50%-50%)

    Definition Classes
    SearchEngineTrait
  22. def font : Font

    Definition Classes
    UIElement
  23. def font_= (f: Font): Unit

    Definition Classes
    UIElement
  24. def foreground : Color

    Definition Classes
    UIElement
  25. def foreground_= (c: Color): Unit

    Definition Classes
    UIElement
  26. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  27. def getRandomPermutation (N: Int): Iterator[Int]

    returns a random permutation of the integers in [0; N]

    returns a random permutation of the integers in [0; N]

    Definition Classes
    SearchEngineTrait
  28. def hashCode (): Int

    Definition Classes
    Proxy → AnyRef → Any
  29. def ignoreRepaint : Boolean

    Definition Classes
    UIElement
  30. def ignoreRepaint_= (b: Boolean): Unit

    Definition Classes
    UIElement
  31. def init (): Unit

    Definition Classes
    ui → UI
  32. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  33. def listenTo (ps: Publisher*): Unit

    Definition Classes
    Reactor
  34. val listeners : RefSet[Reaction] { val underlying: scala.collection.mutable.HashSet[scala.ref.Reference[scala.swing.Reactions.Reaction]] }

    Attributes
    protected
    Definition Classes
    Publisher
  35. def locale : Locale

    Definition Classes
    UIElement
  36. def location : Point

    Definition Classes
    UIElement
  37. def locationOnScreen : Point

    Definition Classes
    UIElement
  38. def maximumSize : Dimension

    Definition Classes
    UIElement
  39. def maximumSize_= (x: Dimension): Unit

    Definition Classes
    UIElement
  40. def minimumSize : Dimension

    Definition Classes
    UIElement
  41. def minimumSize_= (x: Dimension): Unit

    Definition Classes
    UIElement
  42. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  43. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  44. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  45. def onFirstSubscribe (): Unit

    Attributes
    protected
    Definition Classes
    UIElement → LazyPublisher
  46. def onLastUnsubscribe (): Unit

    Attributes
    protected
    Definition Classes
    UIElement → LazyPublisher
  47. def peer : Applet

    Definition Classes
    UI → RootPanel → UIElement
  48. def preferredSize : Dimension

    Definition Classes
    UIElement
  49. def preferredSize_= (x: Dimension): Unit

    Definition Classes
    UIElement
  50. def publish (e: Event): Unit

    Definition Classes
    Publisher
  51. def reInitGrid (): Unit

  52. val reactions : Reactions

    Definition Classes
    Reactor
  53. def repaint (rect: Rectangle): Unit

    Definition Classes
    UIElement
  54. def repaint (): Unit

    Definition Classes
    UIElement
  55. def resetProblem (n: Int): Unit

  56. def selectFirst [R] (r: Iterable[R], st: (R) ⇒ Boolean): R

    return the first element r that is allowed: st(r) is true

    return the first element r that is allowed: st(r) is true

    st

    is optional and set to true if not specified

    Definition Classes
    SearchEngineTrait
  57. def selectFirst2 [R, S] (r: Iterable[R], s: Iterable[S], st: (R, S) ⇒ Boolean): (R, S)

    return the first couple of elements (r,s) that is allowed: st(r) is true the order is lexicographic

    return the first couple of elements (r,s) that is allowed: st(r) is true the order is lexicographic

    st

    is optional and set to true if not specified

    Definition Classes
    SearchEngineTrait
  58. def selectFrom [R] (r: Iterable[R], st: (R) ⇒ Boolean): R

    return an element r that is allowed: st(r) is true this selector is randomized; in case of tie breaks the returned one is chosen randomly

    return an element r that is allowed: st(r) is true this selector is randomized; in case of tie breaks the returned one is chosen randomly

    st

    is optional and set to true if not specified

    Definition Classes
    SearchEngineTrait
  59. def selectFrom2 [R, S] (r: Iterable[R], s: Iterable[S], st: (R, S) ⇒ Boolean): (R, S)

    return a couple (r,s) of elements r that is allowed: st(r,s) is true this selector is randomized; in case of tie breaks the returned one is chosen randomly

    return a couple (r,s) of elements r that is allowed: st(r,s) is true this selector is randomized; in case of tie breaks the returned one is chosen randomly

    st

    is optional and set to true if not specified

    Definition Classes
    SearchEngineTrait
  60. def selectFromRange (r: Range): Int

    return an element of the range.

    return an element of the range. IT is selected randomly with a uniform distribution this is performed in O(1)

    Definition Classes
    SearchEngineTrait
  61. def selectMax [R] (r: Iterable[R], f: (R) ⇒ Int, st: (R) ⇒ Boolean): R

    return an element r that is allowed: st(r) is true, and maximizing f(r) among the allowed couples this selector is randomized; in case of tie breaks the returned one is chosen randomly

    return an element r that is allowed: st(r) is true, and maximizing f(r) among the allowed couples this selector is randomized; in case of tie breaks the returned one is chosen randomly

    st

    is optional and set to true if not specified

    Definition Classes
    SearchEngineTrait
  62. def selectMax2 [R, S] (r: Iterable[R], s: Iterable[S], f: (R, S) ⇒ Int, st: (R, S) ⇒ Boolean): (R, S)

    return a couple (r,s) that is allowed: st(r,s) is true, and maximizing f(r,s) among the allowed couples this selector is randomized; in case of tie breaks the returned one is chosen randomly

    return a couple (r,s) that is allowed: st(r,s) is true, and maximizing f(r,s) among the allowed couples this selector is randomized; in case of tie breaks the returned one is chosen randomly

    st

    is optional and set to true if not specified

    Definition Classes
    SearchEngineTrait
  63. def selectMaxNR [R] (r: Iterable[R], f: (R) ⇒ Int, st: (R) ⇒ Boolean): R

    return an element r that is allowed: st(r) is true, and maximizing f(r) among the allowed couples this selector is not randomized; in case of tie breaks the first one is returned

    return an element r that is allowed: st(r) is true, and maximizing f(r) among the allowed couples this selector is not randomized; in case of tie breaks the first one is returned

    st

    is optional and set to true if not specified

    Definition Classes
    SearchEngineTrait
  64. def selectMaxNR2 [R, S] (r: Iterable[R], s: Iterable[S], f: (R, S) ⇒ Int, st: (R, S) ⇒ Boolean): (R, S)

    return a couple (r,s) that is allowed: st(r,s) is true, and maximizing f(r,s) among the allowed couples this selector is not randomized; in case of tie breaks the first one is returned

    return a couple (r,s) that is allowed: st(r,s) is true, and maximizing f(r,s) among the allowed couples this selector is not randomized; in case of tie breaks the first one is returned

    st

    is optional and set to true if not specified

    Definition Classes
    SearchEngineTrait
  65. def selectMin [R] (r: Iterable[R], f: (R) ⇒ Int, st: (R) ⇒ Boolean): R

    return an element r that is allowed: st(r) is true, and minimizing f(r) among the allowed couples this selector is randomized; in case of tie breaks the returned one is chosen randomly

    return an element r that is allowed: st(r) is true, and minimizing f(r) among the allowed couples this selector is randomized; in case of tie breaks the returned one is chosen randomly

    st

    is optional and set to true if not specified

    Definition Classes
    SearchEngineTrait
  66. def selectMin2 [R, S] (r: Iterable[R], s: Iterable[S], f: (R, S) ⇒ Int, st: (R, S) ⇒ Boolean): (R, S)

    return a couple (r,s) that is allowed: st(r,s) is true, and minimizing f(r,s) among the allowed couples this selector is randomized; in case of tie breaks the returned one is chosen randomly

    return a couple (r,s) that is allowed: st(r,s) is true, and minimizing f(r,s) among the allowed couples this selector is randomized; in case of tie breaks the returned one is chosen randomly

    st

    is optional and set to true if not specified

    Definition Classes
    SearchEngineTrait
  67. def selectMinNR [R] (r: Iterable[R], f: (R) ⇒ Int, st: (R) ⇒ Boolean): R

    return an element r that is allowed: st(r) is true, and minimizing f(r) among the allowed couples this selector is not randomized; in case of tie breaks the first one is returned

    return an element r that is allowed: st(r) is true, and minimizing f(r) among the allowed couples this selector is not randomized; in case of tie breaks the first one is returned

    st

    is optional and set to true if not specified

    Definition Classes
    SearchEngineTrait
  68. def selectMinNR2 [R, S] (r: Iterable[R], s: Iterable[S], f: (R, S) ⇒ Int, st: (R, S) ⇒ Boolean): (R, S)

    return a couple (r,s) that is allowed: st(r,s) is true, and minimizing f(r,s) among the allowed couples this selector is not randomized; in case of tie breaks the first one is returned

    return a couple (r,s) that is allowed: st(r,s) is true, and minimizing f(r,s) among the allowed couples this selector is not randomized; in case of tie breaks the first one is returned

    st

    is optional and set to true if not specified

    Definition Classes
    SearchEngineTrait
  69. def self : Component

    Definition Classes
    UIElement → Proxy
  70. def setRandomized (Randomized: Boolean): Unit

    Definition Classes
    SearchEngineTrait
  71. def showing : Boolean

    Definition Classes
    UIElement
  72. def size : Dimension

    Definition Classes
    UIElement
  73. def solve (): Unit

  74. def start (): Unit

    Definition Classes
    UI
  75. def startSolverInThread (): Unit

  76. def stop (): Unit

    Definition Classes
    UI
  77. def subscribe (listener: Reaction): Unit

    Definition Classes
    LazyPublisher → Publisher
  78. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  79. def toString (): String

    Definition Classes
    Proxy → AnyRef → Any
  80. def toolkit : Toolkit

    Definition Classes
    UIElement
  81. def unsubscribe (listener: Reaction): Unit

    Definition Classes
    LazyPublisher → Publisher
  82. def visible : Boolean

    Definition Classes
    UIElement
  83. def visible_= (b: Boolean): Unit

    Definition Classes
    UIElement
  84. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Deprecated Value Members

  1. def size_= (dim: Dimension): Unit

    Definition Classes
    UIElement
    Annotations
    @deprecated
    Deprecated

    Explicit size assignment for UIElements is not supported anymore. Use a layout manager or subclass Window.

Inherited from SearchEngineTrait

Inherited from UI

Inherited from RootPanel

Inherited from Container

Inherited from UIElement

Inherited from LazyPublisher

Inherited from Publisher

Inherited from Reactor

Inherited from Proxy

Inherited from AnyRef

Inherited from Any