scala.swing

class BorderPanel

[source: scala/swing/BorderPanel.scala]

class BorderPanel
extends Panel with LayoutContainer
A container that arranges its children around a central component that takes most of the space. The other children are placed on one of four borders: north, east, south, west.
See Also
javax.swing.BorderLayout
Type Summary
type Constraints
The type of component constraints for this container.
Value Summary
override lazy val peer : javax.swing.JPanel with SuperMixin
The underlying Swing peer.
Values and Variables inherited from Wrapper
_contents
Values and Variables inherited from Component
initP, Mouse
Values and Variables inherited from Publisher
listeners
Values and Variables inherited from Reactor
reactions
Method Summary
protected def add (c : Component, l : Value) : Unit
Adds a component with the given constraints to the underlying layout manager and the component peer.
protected def areValid (c : Value) : (Boolean, java.lang.String)
Checks whether the given constraints are valid. Additionally returns an error string that is only fetched if the constraints aren't valid.
protected def constraintsFor (comp : Component) : Value
Obtains the constraints for the given component from the underlying Swing layout manager.
def layoutManager : java.awt.BorderLayout
Methods inherited from LayoutContainer
layout
Methods inherited from Wrapper
contents
Methods inherited from Component
xLayoutAlignment, xLayoutAlignment_=, yLayoutAlignment, yLayoutAlignment_=, border, border_=, opaque, opaque_=, enabled, enabled_=, tooltip, tooltip_=, inputVerifier, inputVerifier_=, focusable, focusable_=, requestFocus, requestFocusInWindow, hasFocus, onFirstSubscribe, revalidate, paintComponent, paint, toString
Methods inherited from UIElement
self, foreground, foreground_=, background, background_=, minimumSize, minimumSize_=, maximumSize, maximumSize_=, preferredSize, preferredSize_=, preferredSize_=, font, font_=, locationOnScreen, location, bounds, size, size_=, size_=, locale, toolkit, cursor, cursor_=, visible, visible_=, showing, displayable, repaint, repaint, ignoreRepaint, ignoreRepaint_=, onLastUnsubscribe
Methods inherited from scala.swing.LazyPublisher
scala.swing.LazyPublisher.subscribe, scala.swing.LazyPublisher.unsubscribe
Methods inherited from Publisher
publish
Methods inherited from Reactor
listenTo, deafTo
Methods inherited from Proxy
hashCode, equals
Methods inherited from AnyRef
getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Type Details
type Constraints
The type of component constraints for this container.

Value Details
override lazy val peer : javax.swing.JPanel with SuperMixin
The underlying Swing peer.
Overrides
Panel.peer

Method Details
def layoutManager : java.awt.BorderLayout

protected def constraintsFor(comp : Component) : Value
Obtains the constraints for the given component from the underlying Swing layout manager.
Overrides
LayoutContainer.constraintsFor

protected def areValid(c : Value) : (Boolean, java.lang.String)
Checks whether the given constraints are valid. Additionally returns an error string that is only fetched if the constraints aren't valid.
Overrides
LayoutContainer.areValid

protected def add(c : Component, l : Value) : Unit
Adds a component with the given constraints to the underlying layout manager and the component peer.
Overrides
LayoutContainer.add