scalaswingcontrib.group

ComponentsInGroups

trait ComponentsInGroups extends SizeTypes

Provides an implicit conversion and wrappers so that arbitrary Swing components may be placed inside a GroupPanel but still be checked for validity at compile time.

Self Type
GroupPanel
Linear Supertypes
SizeTypes, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ComponentsInGroups
  2. SizeTypes
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class ComponentInGroup[A <: G] extends GroupPanel.InGroup[A] with GroupPanel.SizeHelpers[A]

    Wraps an arbitrary component so that it may appear within a group of type A.

  2. class ComponentInParallel extends GroupPanel.InParallel with GroupPanel.SizeHelpers[ParallelGroup]

    Wraps a GUI component so that it may appear in a parallel group.

  3. class ComponentInSequential extends GroupPanel.InSequential with GroupPanel.SizeHelpers[SequentialGroup]

    Wraps a GUI component so that it may appear in a sequential group.

  4. class ComponentWithSize[A <: G] extends GroupPanel.InGroup[A]

    Wraps an arbitrary component to allow for custom size constraints.

  5. sealed trait GapSize extends Size

    Pixel size and Infinite.

  6. sealed trait PreferredGapSize extends Size

    Pixel size, UseDefault and Infinite.

  7. sealed trait Size extends AnyRef

    Pixel size and all size hints.

Value Members

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

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

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

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

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

    Definition Classes
    Any
  6. final val Infinite: GroupPanel.Size with GroupPanel.GapSize with GroupPanel.PreferredGapSize

    Represents an arbitrarily large size.

    Represents an arbitrarily large size.

    Definition Classes
    SizeTypes
  7. final val UseDefault: GroupPanel.Size with GroupPanel.PreferredGapSize

    Instructs the layout to use a component's default size.

    Instructs the layout to use a component's default size.

    Definition Classes
    SizeTypes
  8. final val UsePreferred: GroupPanel.Size

    Instructs the layout to use a component's preferred size.

    Instructs the layout to use a component's preferred size.

    Definition Classes
    SizeTypes
  9. implicit final def add[A <: G](comp: Component): GroupPanel.ComponentInGroup[A]

    Implicit conversion that puts a component into the correct context on demand.

    Implicit conversion that puts a component into the correct context on demand.

    Attributes
    protected
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    AnyRef → Any
  17. implicit def int2Size(pixels: Int): GroupPanel.Size with GroupPanel.GapSize with GroupPanel.PreferredGapSize

    Implicitly converts an Int to a Size object when needed.

    Implicitly converts an Int to a Size object when needed.

    pixels

    a size in pixels; must be >= 0

    Attributes
    protected
    Definition Classes
    SizeTypes
  18. final def isInstanceOf[T0]: Boolean

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

    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

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

    Definition Classes
    AnyRef
  23. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from SizeTypes

Inherited from AnyRef

Inherited from Any

Ungrouped