java.lang.Object
org.gjt.sp.jedit.gui.DockableLayout
- All Implemented Interfaces:
LayoutManager
,LayoutManager2
A more flexible BorderLayout with dockables.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addLayoutComponent
(Component comp, Object cons) void
addLayoutComponent
(String name, Component comp) float
getLayoutAlignmentX
(Container target) float
getLayoutAlignmentY
(Container target) void
invalidateLayout
(Container target) boolean
jEdit View option: wide horizontal docking areas versus tall vertical docking areasvoid
layoutContainer
(Container parent) maximumLayoutSize
(Container parent) minimumLayoutSize
(Container parent) preferredLayoutSize
(Container parent) void
void
setAlternateLayout
(boolean alternateLayout)
-
Constructor Details
-
DockableLayout
public DockableLayout()
-
-
Method Details
-
isAlternateLayout
public boolean isAlternateLayout()jEdit View option: wide horizontal docking areas versus tall vertical docking areas- Returns:
- true if using the "alternate layout"
-
setAlternateLayout
public void setAlternateLayout(boolean alternateLayout) -
addLayoutComponent
- Specified by:
addLayoutComponent
in interfaceLayoutManager
-
addLayoutComponent
- Specified by:
addLayoutComponent
in interfaceLayoutManager2
-
removeLayoutComponent
- Specified by:
removeLayoutComponent
in interfaceLayoutManager
-
preferredLayoutSize
- Specified by:
preferredLayoutSize
in interfaceLayoutManager
-
minimumLayoutSize
- Specified by:
minimumLayoutSize
in interfaceLayoutManager
-
maximumLayoutSize
- Specified by:
maximumLayoutSize
in interfaceLayoutManager2
-
layoutContainer
- Specified by:
layoutContainer
in interfaceLayoutManager
-
getLayoutAlignmentX
- Specified by:
getLayoutAlignmentX
in interfaceLayoutManager2
-
getLayoutAlignmentY
- Specified by:
getLayoutAlignmentY
in interfaceLayoutManager2
-
invalidateLayout
- Specified by:
invalidateLayout
in interfaceLayoutManager2
-