Package com.ribs
Class RJLayout
java.lang.Object
com.ribs.RJLayout
- All Implemented Interfaces:
LayoutManager
,LayoutManager2
Copyright (c) 2004 ReportMill Software, Inc. All Rights Reserved. Contact ReportMill <info@reportmill.com>.
-
Constructor Summary
ConstructorsConstructorDescriptionRJLayout
(JComponent aComponent) Creates new layout manager with given panel. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addLayoutComponent
(Component aComponent, Object constraints) void
addLayoutComponent
(String aName, Component aComponent) Adds a component to the manager.float
getLayoutAlignmentX
(Container aTarget) float
getLayoutAlignmentY
(Container aTarget) void
invalidateLayout
(Container aTarget) boolean
Returns whether layout is enabled.void
layoutContainer
(Container aParent) Performs actual component layout.maximumLayoutSize
(Container aTarget) Returns the maximum layout size.minimumLayoutSize
(Container aParent) Returns the minimum layout size.preferredLayoutSize
(Container aParent) Returns the preferred layout size.void
removeLayoutComponent
(Component aComponent) Removes a component to the manager.void
setEnabled
(boolean aValue) Sets whether layout is enabled.
-
Constructor Details
-
RJLayout
Creates new layout manager with given panel.
-
-
Method Details
-
isEnabled
public boolean isEnabled()Returns whether layout is enabled. -
setEnabled
public void setEnabled(boolean aValue) Sets whether layout is enabled. -
layoutContainer
Performs actual component layout.- Specified by:
layoutContainer
in interfaceLayoutManager
-
addLayoutComponent
- Specified by:
addLayoutComponent
in interfaceLayoutManager2
-
addLayoutComponent
Adds a component to the manager.- Specified by:
addLayoutComponent
in interfaceLayoutManager
-
removeLayoutComponent
Removes a component to the manager.- Specified by:
removeLayoutComponent
in interfaceLayoutManager
-
preferredLayoutSize
Returns the preferred layout size.- Specified by:
preferredLayoutSize
in interfaceLayoutManager
-
minimumLayoutSize
Returns the minimum layout size.- Specified by:
minimumLayoutSize
in interfaceLayoutManager
-
maximumLayoutSize
Returns the maximum layout size.- Specified by:
maximumLayoutSize
in interfaceLayoutManager2
-
getLayoutAlignmentX
- Specified by:
getLayoutAlignmentX
in interfaceLayoutManager2
-
getLayoutAlignmentY
- Specified by:
getLayoutAlignmentY
in interfaceLayoutManager2
-
invalidateLayout
- Specified by:
invalidateLayout
in interfaceLayoutManager2
-