| Access | Constructor and Description |
|---|---|
| public | DefaultMenuLayout(Container
the container that needs to be laid out target, int the axis to lay out components along. Can be one of:
axis)BoxLayout.X_AXIS,
BoxLayout.Y_AXIS,
BoxLayout.LINE_AXIS or
BoxLayout.PAGE_AXISConstructs a new instance of |
| Modifier and Type | Method and Description |
|---|---|
| public Dimension | preferredLayoutSize(Container target)
Overrides javax. Implements java. Returns the preferred dimensions for this layout, given the components in the specified target container. |
| DefaultMenuLayout | back to summary |
|---|---|
| public DefaultMenuLayout(Container target, int axis) Constructs a new instance of
| |
| preferredLayoutSize | back to summary |
|---|---|
| public Dimension preferredLayoutSize(Container target) Overrides javax. Implements java. Doc from javax. Returns the preferred dimensions for this layout, given the components in the specified target container. | |