CompactGridLayout

class CompactGridLayout(rows: Int, cols: Int, hgap0: Int, vgap0: Int) extends GridLayout
A variant of GridLayout that can be horizontally and/or vertically compacted.
class GridLayout
trait Serializable
trait LayoutManager
class Object
trait Matchable
class Any

Value members

Constructors

def this(rows: Int, cols: Int)

Methods

def compact: Boolean
def compact_=(value: Boolean): Unit
Sets both horizontal and vertical compaction flag.
override def minimumLayoutSize(parent: Container): Dimension
Definition Classes
GridLayout -> LayoutManager
override def preferredLayoutSize(parent: Container): Dimension
Definition Classes
GridLayout -> LayoutManager
override def layoutContainer(parent: Container): Unit
Definition Classes
GridLayout -> LayoutManager

Fields

var compactRows: Boolean
var compactColumns: Boolean

Inherited methods

def setColumns(x$0: Int): Unit
Inhertied from
GridLayout
def getHgap(): Int
Inhertied from
GridLayout
def getRows(): Int
Inhertied from
GridLayout
def setRows(x$0: Int): Unit
Inhertied from
GridLayout
def removeLayoutComponent(x$0: Component): Unit
Inhertied from
GridLayout
def addLayoutComponent(x$0: String, x$1: Component): Unit
Inhertied from
GridLayout
def toString(): String
Inhertied from
GridLayout
def getVgap(): Int
Inhertied from
GridLayout
def setVgap(x$0: Int): Unit
Inhertied from
GridLayout
def setHgap(x$0: Int): Unit
Inhertied from
GridLayout
def getColumns(): Int
Inhertied from
GridLayout