Class

scalaswingcontrib

AbsoluteLayoutPanel

Related Doc: package scalaswingcontrib

Permalink

class AbsoluteLayoutPanel extends Panel with Wrapper with LayoutContainer

A Panel where children are absolutely positioned.

Optionally, can be set to automatically adjust added child component location constraints to account for the border/inset (if any). If adjustment is not performed, then child components can overlap the border area.

The preferredSize of the panel is auto-derived from the greatest bounds of child components, plus border if any.

Linear Supertypes
LayoutContainer, Panel, Wrapper, Container, Component, UIElement, LazyPublisher, Publisher, Reactor, Proxy, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AbsoluteLayoutPanel
  2. LayoutContainer
  3. Panel
  4. Wrapper
  5. Container
  6. Component
  7. UIElement
  8. LazyPublisher
  9. Publisher
  10. Reactor
  11. Proxy
  12. AnyRef
  13. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AbsoluteLayoutPanel()

    Permalink
  2. new AbsoluteLayoutPanel(adjustForBorder: Boolean)

    Permalink

Type Members

  1. type Constraints = (Int, Int)

    Permalink
    Definition Classes
    AbsoluteLayoutPanel → LayoutContainer
  2. class Content extends BufferWrapper[Component]

    Permalink
    Attributes
    protected
    Definition Classes
    Wrapper
  3. trait SuperMixin extends JComponent

    Permalink
    Attributes
    protected
    Definition Classes
    Component

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. val _contents: Content

    Permalink
    Attributes
    protected
    Definition Classes
    Wrapper
  5. def add(comp: Component, c: Constraints): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    AbsoluteLayoutPanel → LayoutContainer
  6. val adjustForBorder: Boolean

    Permalink
  7. def areValid(c: Constraints): (Boolean, String)

    Permalink
    Attributes
    protected
    Definition Classes
    AbsoluteLayoutPanel → LayoutContainer
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def background: Color

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

    Permalink
    Definition Classes
    UIElement
  11. def border: Border

    Permalink
    Definition Classes
    Component
  12. def border_=(b: Border): Unit

    Permalink
    Definition Classes
    Component
  13. def bounds: Rectangle

    Permalink
    Definition Classes
    UIElement
  14. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. def constraintsFor(comp: Component): (Int, Int)

    Permalink
    Attributes
    protected
    Definition Classes
    AbsoluteLayoutPanel → LayoutContainer
  16. def contents: Seq[Component]

    Permalink
    Definition Classes
    Wrapper → Container
  17. def cursor: Cursor

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

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

    Permalink
    Definition Classes
    Reactor
  20. def displayable: Boolean

    Permalink
    Definition Classes
    UIElement
  21. def enabled: Boolean

    Permalink
    Definition Classes
    Component
  22. def enabled_=(b: Boolean): Unit

    Permalink
    Definition Classes
    Component
  23. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. def equals(that: Any): Boolean

    Permalink
    Definition Classes
    Proxy → Any
  25. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  26. def focusable: Boolean

    Permalink
    Definition Classes
    Component
  27. def focusable_=(b: Boolean): Unit

    Permalink
    Definition Classes
    Component
  28. def font: Font

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

    Permalink
    Definition Classes
    UIElement
  30. def foreground: Color

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

    Permalink
    Definition Classes
    UIElement
  32. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  33. def hasFocus: Boolean

    Permalink
    Definition Classes
    Component
  34. def hashCode(): Int

    Permalink
    Definition Classes
    Proxy → Any
  35. def ignoreRepaint: Boolean

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

    Permalink
    Definition Classes
    UIElement
  37. var initP: JComponent

    Permalink
    Definition Classes
    Component
  38. def inputVerifier: (Component) ⇒ Boolean

    Permalink
    Definition Classes
    Component
  39. def inputVerifier_=(v: (Component) ⇒ Boolean): Unit

    Permalink
    Definition Classes
    Component
  40. def insets: Insets

    Permalink
  41. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  42. def layout: Map[Component, Constraints]

    Permalink
    Definition Classes
    LayoutContainer
  43. def listenTo(ps: Publisher*): Unit

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

    Permalink
    Attributes
    protected
    Definition Classes
    Publisher
  45. def locale: Locale

    Permalink
    Definition Classes
    UIElement
  46. def location: Point

    Permalink
    Definition Classes
    UIElement
  47. def locationOnScreen: Point

    Permalink
    Definition Classes
    UIElement
  48. def maximumSize: Dimension

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

    Permalink
    Definition Classes
    UIElement
  50. def minimumSize: Dimension

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

    Permalink
    Definition Classes
    UIElement
  52. def name: String

    Permalink
    Definition Classes
    Component
  53. def name_=(s: String): Unit

    Permalink
    Definition Classes
    Component
  54. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  57. def onFirstSubscribe(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Component → UIElement → LazyPublisher
  58. def onLastUnsubscribe(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    UIElement → LazyPublisher
  59. def opaque: Boolean

    Permalink
    Definition Classes
    Component
  60. def opaque_=(b: Boolean): Unit

    Permalink
    Definition Classes
    Component
  61. def paint(g: Graphics2D): Unit

    Permalink
    Definition Classes
    Component
  62. def paintBorder(g: Graphics2D): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Component
  63. def paintChildren(g: Graphics2D): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Component
  64. def paintComponent(g: Graphics2D): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Component
  65. lazy val peer: JPanel with SuperMixin

    Permalink
    Definition Classes
    AbsoluteLayoutPanel → Panel → Wrapper → Component → UIElement
  66. def preferredSize: Dimension

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

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

    Permalink
    Definition Classes
    Publisher
  69. val reactions: Reactions

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

    Permalink
    Definition Classes
    UIElement
  71. def repaint(): Unit

    Permalink
    Definition Classes
    UIElement
  72. def requestFocus(): Unit

    Permalink
    Definition Classes
    Component
  73. def requestFocusInWindow(): Boolean

    Permalink
    Definition Classes
    Component
  74. def revalidate(): Unit

    Permalink
    Definition Classes
    Component
  75. def self: Component

    Permalink
    Definition Classes
    UIElement → Proxy
  76. def showing: Boolean

    Permalink
    Definition Classes
    UIElement
  77. def size: Dimension

    Permalink
    Definition Classes
    UIElement
  78. def subscribe(listener: Reaction): Unit

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

    Permalink
    Definition Classes
    AnyRef
  80. def toString(): String

    Permalink
    Definition Classes
    Component → Proxy → AnyRef → Any
  81. def toolkit: Toolkit

    Permalink
    Definition Classes
    UIElement
  82. def tooltip: String

    Permalink
    Definition Classes
    Component
  83. def tooltip_=(t: String): Unit

    Permalink
    Definition Classes
    Component
  84. def unsubscribe(listener: Reaction): Unit

    Permalink
    Definition Classes
    LazyPublisher → Publisher
  85. def visible: Boolean

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

    Permalink
    Definition Classes
    UIElement
  87. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  90. def xLayoutAlignment: Double

    Permalink
    Definition Classes
    Component
  91. def xLayoutAlignment_=(x: Double): Unit

    Permalink
    Definition Classes
    Component
  92. def yLayoutAlignment: Double

    Permalink
    Definition Classes
    Component
  93. def yLayoutAlignment_=(y: Double): Unit

    Permalink
    Definition Classes
    Component

Inherited from LayoutContainer

Inherited from Panel

Inherited from Wrapper

Inherited from Container

Inherited from Component

Inherited from UIElement

Inherited from LazyPublisher

Inherited from Publisher

Inherited from Reactor

Inherited from Proxy

Inherited from AnyRef

Inherited from Any

Ungrouped