package layout
The package o1.gui.layout
contains utilities that make it more convenient to lay out components in simple
GridBagPanels from
Scala's Swing library. These utilities are used internally by some of the given GUIs in O1.
NOTE TO STUDENTS: In this course, you don't need to understand how this package works or can be used.
- Alphabetic
- By Inheritance
- layout
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- type Anchor = scala.swing.GridBagPanel.Anchor
- trait EasyLayout extends LayoutContainer
- trait EasyPanel extends GridBagPanel with EasyLayout
- type Fill = (scala.swing.GridBagPanel.Fill, Int, Int)
Value Members
- def FillBoth(xWeight: Int, yWeight: Int): Fill
- def FillHorizontal(weight: Int): Fill
- def FillVertical(weight: Int): Fill
- val NoBorder: (Int, Int, Int, Int)
- def NoFill(xWeight: Int, yWeight: Int): Fill
- val OneSlot: (Int, Int)
- val Slight: Fill
- val ThreeHigh: (Int, Int)
- val ThreeWide: (Int, Int)
- val TwoHigh: (Int, Int)
- val TwoWide: (Int, Int)