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 TypeMethodDescriptionvoidaddLayoutComponent(Component aComponent, Object constraints) voidaddLayoutComponent(String aName, Component aComponent) Adds a component to the manager.floatgetLayoutAlignmentX(Container aTarget) floatgetLayoutAlignmentY(Container aTarget) voidinvalidateLayout(Container aTarget) booleanReturns whether layout is enabled.voidlayoutContainer(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.voidremoveLayoutComponent(Component aComponent) Removes a component to the manager.voidsetEnabled(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:
layoutContainerin interfaceLayoutManager
-
addLayoutComponent
- Specified by:
addLayoutComponentin interfaceLayoutManager2
-
addLayoutComponent
Adds a component to the manager.- Specified by:
addLayoutComponentin interfaceLayoutManager
-
removeLayoutComponent
Removes a component to the manager.- Specified by:
removeLayoutComponentin interfaceLayoutManager
-
preferredLayoutSize
Returns the preferred layout size.- Specified by:
preferredLayoutSizein interfaceLayoutManager
-
minimumLayoutSize
Returns the minimum layout size.- Specified by:
minimumLayoutSizein interfaceLayoutManager
-
maximumLayoutSize
Returns the maximum layout size.- Specified by:
maximumLayoutSizein interfaceLayoutManager2
-
getLayoutAlignmentX
- Specified by:
getLayoutAlignmentXin interfaceLayoutManager2
-
getLayoutAlignmentY
- Specified by:
getLayoutAlignmentYin interfaceLayoutManager2
-
invalidateLayout
- Specified by:
invalidateLayoutin interfaceLayoutManager2
-