Complex Layouts

studied byStudied by 0 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

1 / 20

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

21 Terms

1

FlowLayout, BorderLayout, BoxLayout, GridLayout, GridBagLayout, GroupLayout, SpringLayout, CardLayout

Swing Layouts

New cards
2

FlowLayout

arranges components in a line, one after another; default layout

New cards
3

FlowLayout()

FlowLayout, centered, with horizontal and vertical gap of 5

New cards
4

FlowLayout(int align)

Flow layout, with horizontal and vertical group of 5, can be left, right, center, leading or trailing

New cards
5

FlowLayout(int align, int hgap, int vgap)

no specific horizontal and vertical gap, can be left, right, center, leading or trailing

New cards
6

BorderLayout

Arranges components in 5 regions: North, South, East, West, Center

New cards
7

FlowLayout

default layout of applet or panel

New cards
8

BorderLayout()

creates border layout with 0 gaps

New cards
9

BorderLayout(int hgap, int vgap)

creates border layout with the given horizontal and vertical gaps between components

New cards
10

Left, Right, Center, Leading, Trailing

values for align in flowlayout

New cards
11

BoxLayout

Arranges components either vertically or horizontally

New cards
12

BoxLayout(Container c, int axis)

arranges components in the container with the given axis

New cards
13

X_AXIS, Y_AXIS, LINE_AXIS, PAGE_AXIS

values for axis in boxlayout

New cards
14

GridLayout

arrange components in a rectangular grid or a table

New cards
15

GridLayout()

creates grid layout with 1 column per component

New cards
16

GridLayout(int rows, int columns)

creates grid layout with the given number of rows and columns and with 0 gaps

New cards
17

GridLayout(int rows, int columns, int hgap, int vgap)

creates grid layout with the given number of rows and columns, and with given horizontal and vertical gaps

New cards
18

GridBagLayout

Aligns components vertically, horizontally or along their baseline

New cards
19

GridBagConstraints

occupy one or more cells known as its display area

New cards
20

JPanel

considered as a swing compoent and the simplest container class

New cards
21

BorderPane, FlowPane, GridPane, HBox, VBox, Pane, StackPane

JavaFX Layouts

New cards
robot