Trait

scalaswingcontrib.group

ComponentsInGroups

Related Doc: package group

Permalink

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
Visibility
  1. Public
  2. All

Type Members

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

    Permalink

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

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

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

    Permalink

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

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

    Attributes
    protected
    See also

    javax.swing.GroupLayout.ParallelGroup

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

    Permalink

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

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

    Attributes
    protected
    See also

    javax.swing.GroupLayout.SequentialGroup

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

    Permalink

    Wraps an arbitrary component to allow for custom size constraints.

    Wraps an arbitrary component to allow for custom size constraints.

    Attributes
    protected
  5. sealed trait GapSize extends Size

    Permalink

    Pixel size and Infinite.

    Pixel size and Infinite. Used to specify the size of a Gap.

    Attributes
    protected
    Definition Classes
    SizeTypes
  6. sealed trait PreferredGapSize extends Size

    Permalink

    Pixel size, UseDefault and Infinite.

    Pixel size, UseDefault and Infinite. Used to specify the preffered size of PreferredGaps and ContainerGaps.

    Attributes
    protected
    Definition Classes
    SizeTypes
  7. sealed trait Size extends AnyRef

    Permalink

    Pixel size and all size hints.

    Pixel size and all size hints. Used to specify sizes of a component and the maximum size of PreferredGaps and ContainerGaps.

    Attributes
    protected
    Definition Classes
    SizeTypes

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 val Infinite: GroupPanel.Size with GroupPanel.GapSize with GroupPanel.PreferredGapSize

    Permalink

    Represents an arbitrarily large size.

    Represents an arbitrarily large size.

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

    Permalink

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

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

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

    Permalink

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

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

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

    Permalink

    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
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def clone(): AnyRef

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

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

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

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

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

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

    Permalink

    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
  16. final def isInstanceOf[T0]: Boolean

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

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

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

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

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

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

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

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

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

Inherited from SizeTypes

Inherited from AnyRef

Inherited from Any

Ungrouped