Package org.basex.gui.layout
Class ColumnLayout
java.lang.Object
org.basex.gui.layout.ColumnLayout
- All Implemented Interfaces:
LayoutManager
This LayoutManager is a simplified version of the the TableLayout. The added components
will be rendered as columns.
- Author:
- BaseX Team 2005-21, BSD License, Christian Gruen
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.ColumnLayout(int gap) Constructor, specifying gap between components. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLayoutComponent(String name, Component comp) voidlayoutContainer(Container cont) minimumLayoutSize(Container parent) preferredLayoutSize(Container cont) void
-
Constructor Details
-
ColumnLayout
public ColumnLayout()Default constructor. -
ColumnLayout
public ColumnLayout(int gap) Constructor, specifying gap between components.- Parameters:
gap- gap
-
-
Method Details
-
addLayoutComponent
- Specified by:
addLayoutComponentin interfaceLayoutManager
-
removeLayoutComponent
- Specified by:
removeLayoutComponentin interfaceLayoutManager
-
preferredLayoutSize
- Specified by:
preferredLayoutSizein interfaceLayoutManager
-
minimumLayoutSize
- Specified by:
minimumLayoutSizein interfaceLayoutManager
-
layoutContainer
- Specified by:
layoutContainerin interfaceLayoutManager
-