Example usage for Java javax.swing BoxLayout fields, constructors, methods, implement or subclass
The text is from its open source code.
int | X_AXIS Specifies that components should be laid out left to right. |
int | Y_AXIS Specifies that components should be laid out top to bottom. |
int | LINE_AXIS Specifies that components should be laid out in the direction of a line of text as determined by the target container's ComponentOrientation property. |
int | PAGE_AXIS Specifies that components should be laid out in the direction that lines flow across a page as determined by the target container's ComponentOrientation property. |
BoxLayout(Container target, int axis) Creates a layout manager that will lay out components along the given axis. |
int | getAxis() Returns the axis that was used to lay out components. |
float | getLayoutAlignmentX(Container target) Returns the alignment along the X axis for the container. |
float | getLayoutAlignmentY(Container target) Returns the alignment along the Y axis for the container. |
Container | getTarget() Returns the container that uses this layout manager. |
void | invalidateLayout(Container target) Indicates that a child has changed its layout related information, and thus any cached calculations should be flushed. |
void | layoutContainer(Container target) Called by the AWT |