new
new: (number) -> BoxA new box laid out along axis (BoxLayout.X_AXIS, Y_AXIS, LINE_AXIS, PAGE_AXIS).
A type alias: another name for the type it stands for.
| Method | Returns | Description |
|---|---|---|
new(number) | Box | A new box laid out along axis (BoxLayout.X_AXIS, Y_AXIS, LINE_AXIS, PAGE_AXIS). |
createGlue() | Component | A filler that grows both ways. |
createHorizontalGlue() | Component | A filler that grows horizontally. |
createVerticalGlue() | Component | A filler that grows vertically. |
createHorizontalStrut(width: number) | Component | A fixed-width filler. |
createVerticalStrut(height: number) | Component | A fixed-height filler. |
createRigidArea(size: Dimension) | Component | A fixed-size filler. |
init(Box) | () | (Box) -> (): The implicit no-argument constructor: the fresh state a node of this kind starts with, and nothing more. Construction runs i… |
init(Box, number) | () | |
isInstance(any) | boolean | Whether obj is a Box object, a class(Box) subclass's included. |
| Field | Type | Description |
|---|---|---|
super | JComponentClass | JComponent's class table: the base class. |
| Method | Returns | Description |
|---|---|---|
BoxClass.new | Box | A new box laid out along axis (BoxLayout.X_AXIS, Y_AXIS, LINE_AXIS, PAGE_AXIS). |
newnew: (number) -> BoxA new box laid out along axis (BoxLayout.X_AXIS, Y_AXIS, LINE_AXIS, PAGE_AXIS).
createGluecreateGlue: () -> ComponentA filler that grows both ways.
createHorizontalGluecreateHorizontalGlue: () -> ComponentA filler that grows horizontally.
createVerticalGluecreateVerticalGlue: () -> ComponentA filler that grows vertically.
createHorizontalStrutcreateHorizontalStrut: (width: number) -> ComponentA fixed-width filler.
createVerticalStrutcreateVerticalStrut: (height: number) -> ComponentA fixed-height filler.
createRigidAreacreateRigidArea: (size: Dimension) -> ComponentA fixed-size filler.
initinit: ((Box) -> ()) & ((Box, number) -> ())(Box) -> (): The implicit no-argument constructor: the fresh state a node of this kind starts with, and nothing more. Construction runs it as every native base's super(); new does not take it.
(Box, number) -> (): A new box laid out along axis (BoxLayout.X_AXIS, Y_AXIS, LINE_AXIS, PAGE_AXIS).
isInstanceisInstance: (any) -> booleanWhether obj is a Box object, a class(Box) subclass's included.