toggle menu
alchemist
35.0.1
jvm
switch theme
search in API
alchemist-swingui
/
it.unibo.alchemist.boundary.swingui.tape.impl
/
AFlowLayout
AFlow
Layout
abstract
class
AFlowLayout
:
LayoutManager
,
Serializable
(
source
)
Deprecated
Inheritors
VerticalFlowLayout
HorizontalFlowLayout
Members
Constructors
AFlow
Layout
Link copied to clipboard
constructor
(
hgap
:
Int
,
alignment
:
Int
,
anchor
:
Int
,
ordered
:
Boolean
)
Properties
BOTH
Link copied to clipboard
val
BOTH
:
Int
=
3
The horizontal alignment constant that designates stretching the component horizontally.
CENTER
Link copied to clipboard
val
CENTER
:
Int
=
0
The horizontal alignment constant that designates centering.
LEFT
Link copied to clipboard
val
LEFT
:
Int
=
2
The horizontal alignment constant that designates left justification.
RIGHT
Link copied to clipboard
val
RIGHT
:
Int
=
1
The horizontal alignment constant that designates right justification.
TOP
Link copied to clipboard
val
TOP
:
Int
=
1
The anchoring constant that designates anchoring to the top of the display area.
Functions
add
Layout
Component
Link copied to clipboard
fun
addLayoutComponent
(
name
:
String
,
comp
:
Component
)
get
Component
Order
Link copied to clipboard
open
fun
getComponentOrder
(
c
:
Component
)
:
Int
get
Components
List
Link copied to clipboard
open
fun
getComponentsList
(
)
:
List
<
Component
>
is
Ordered
Link copied to clipboard
open
fun
isOrdered
(
)
:
Boolean
layout
Container
Link copied to clipboard
abstract
fun
layoutContainer
(
parent
:
Container
)
minimum
Layout
Size
Link copied to clipboard
fun
minimumLayoutSize
(
parent
:
Container
)
:
Dimension
preferred
Layout
Size
Link copied to clipboard
fun
preferredLayoutSize
(
parent
:
Container
)
:
Dimension
remove
Layout
Component
Link copied to clipboard
fun
removeLayoutComponent
(
comp
:
Component
)
set
Component
Order
Link copied to clipboard
fun
setComponentOrder
(
c
:
Component
,
order
:
Int
)
to
String
Link copied to clipboard
open
fun
toString
(
)
:
String