Scala Library
|
|
scala/swing/GridBagPanel.scala
]
class
GridBagPanel
extends
Panel with
LayoutContainerValue Summary | |
override lazy val
|
peer : javax.swing.JPanel |
Values and Variables inherited from Wrapper | |
_contents |
Values and Variables inherited from Component | |
initP |
Values and Variables inherited from Publisher | |
listeners |
Values and Variables inherited from Reactor | |
reactions |
Method Summary | |
protected def
|
add
(c : Component, l : Constraints) : Unit
Adds the component to the layout manager and the peer.
|
protected def
|
areValid
(c : Constraints) : (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) : Constraints
Used to obtain the constraints from a Swing layout manager.
|
implicit def
|
pair2Constraints
(p : (Int, Int)) : Constraints
Convenient conversion from xy-coords given as pairs to
grid bag constraints.
|
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_=, revalidate, requestFocus, paintComponent, paint, toString |
Methods inherited from Publisher | |
subscribe, unsubscribe, publish |
Methods inherited from Reactor | |
listenTo, deafTo |
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, repaint |
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 |
Class Summary | |
class
|
Constraints
(val peer : java.awt.GridBagConstraints) extends Proxy
The specific type of constraints.
|
Value Details |
Method Details |
implicit
def
pair2Constraints(p : (Int, Int)) : Constraints
protected
def
constraintsFor(comp : Component) : Constraints
protected
def
areValid(c : Constraints) : (Boolean, java.lang.String)
protected
def
add(c : Component, l : Constraints) : Unit
Scala Library
|
|