Class CenterLayout
java.lang.Object
com.inductiveautomation.snap.swing.CenterLayout
- All Implemented Interfaces:
- LayoutManager,- LayoutManager2
A layout manager to simply center a component.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddLayoutComponent(Component comp, Object constraints) LayoutManager method.voidaddLayoutComponent(String name, Component comp) LayoutManager method.getContent(Container aParent) Returns the content.floatgetLayoutAlignmentX(Container target) LayoutManager method.floatgetLayoutAlignmentY(Container target) LayoutManager method.voidinvalidateLayout(Container target) LayoutManager method.protected voidlayoutChild(Container aParent, Component aChild) Layout child.voidlayoutContainer(Container aParent) layoutContainermaximumLayoutSize(Container aParent) LayoutManager method.minimumLayoutSize(Container aParent) minimumLayoutSizepreferredLayoutSize(Container aParent) LayoutManager method.voidLayoutManager method.
- 
Constructor Details- 
CenterLayoutpublic CenterLayout()
 
- 
- 
Method Details- 
layoutContainerlayoutContainer- Specified by:
- layoutContainerin interface- LayoutManager
 
- 
layoutChildLayout child.
- 
getContentReturns the content.
- 
addLayoutComponentLayoutManager method.- Specified by:
- addLayoutComponentin interface- LayoutManager
 
- 
removeLayoutComponentLayoutManager method.- Specified by:
- removeLayoutComponentin interface- LayoutManager
 
- 
preferredLayoutSizeLayoutManager method.- Specified by:
- preferredLayoutSizein interface- LayoutManager
 
- 
addLayoutComponentLayoutManager method.- Specified by:
- addLayoutComponentin interface- LayoutManager2
 
- 
minimumLayoutSizeminimumLayoutSize- Specified by:
- minimumLayoutSizein interface- LayoutManager
 
- 
maximumLayoutSizeLayoutManager method.- Specified by:
- maximumLayoutSizein interface- LayoutManager2
 
- 
getLayoutAlignmentXLayoutManager method.- Specified by:
- getLayoutAlignmentXin interface- LayoutManager2
 
- 
getLayoutAlignmentYLayoutManager method.- Specified by:
- getLayoutAlignmentYin interface- LayoutManager2
 
- 
invalidateLayoutLayoutManager method.- Specified by:
- invalidateLayoutin interface- LayoutManager2
 
 
-