jaxx.runtime.swing
Class HBoxLayout
java.lang.Object
jaxx.runtime.swing.HBoxLayout
- All Implemented Interfaces:
- LayoutManager
public class HBoxLayout
- extends Object
- implements LayoutManager
Horizontal box layout. The layout rules followed by this class are quite different than the core BoxLayout class,
and in general represent a more useful algorithm.
- Author:
- Ethan Nicholas
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HBoxLayout
public HBoxLayout()
getSpacing
public int getSpacing()
setSpacing
public void setSpacing(int spacing)
getHorizontalAlignment
public int getHorizontalAlignment()
setHorizontalAlignment
public void setHorizontalAlignment(int horizontalAlignment)
getVerticalAlignment
public int getVerticalAlignment()
setVerticalAlignment
public void setVerticalAlignment(int verticalAlignment)
addLayoutComponent
public void addLayoutComponent(String name,
Component comp)
- Specified by:
addLayoutComponent in interface LayoutManager
layoutContainer
public void layoutContainer(Container parent)
- Specified by:
layoutContainer in interface LayoutManager
minimumLayoutSize
public Dimension minimumLayoutSize(Container parent)
- Specified by:
minimumLayoutSize in interface LayoutManager
preferredLayoutSize
public Dimension preferredLayoutSize(Container parent)
- Specified by:
preferredLayoutSize in interface LayoutManager
removeLayoutComponent
public void removeLayoutComponent(Component comp)
- Specified by:
removeLayoutComponent in interface LayoutManager
Copyright © 2008-2012 CodeLutin. All Rights Reserved.