public class BLayout
extends java.awt.GridBagConstraints
Pour creer un layout de type GridBagLayout rapidement avec les methodes simplifier.
Modifier and Type | Field and Description |
---|---|
int |
filler |
java.awt.Insets |
padding |
int |
padding_bottom |
int |
padding_left |
int |
padding_right |
int |
padding_top |
int |
positionOnScreen |
int |
PositionOnX |
int |
PositionOnY |
double |
sizeOnX |
double |
sizeOnY |
int |
takeCaseOnX |
int |
takeCaseOnY |
ABOVE_BASELINE, ABOVE_BASELINE_LEADING, ABOVE_BASELINE_TRAILING, anchor, BASELINE, BASELINE_LEADING, BASELINE_TRAILING, BELOW_BASELINE, BELOW_BASELINE_LEADING, BELOW_BASELINE_TRAILING, BOTH, CENTER, EAST, fill, FIRST_LINE_END, FIRST_LINE_START, gridheight, gridwidth, gridx, gridy, HORIZONTAL, insets, ipadx, ipady, LAST_LINE_END, LAST_LINE_START, LINE_END, LINE_START, NONE, NORTH, NORTHEAST, NORTHWEST, PAGE_END, PAGE_START, RELATIVE, REMAINDER, SOUTH, SOUTHEAST, SOUTHWEST, VERTICAL, weightx, weighty, WEST
Constructor and Description |
---|
BLayout() |
BLayout(int positionX,
int positionY,
int manyCaseX,
int manyCaseY,
double sizeX,
double sizeY,
java.awt.Insets pad,
int positionOnScreen,
int filling) |
Modifier and Type | Method and Description |
---|---|
void |
setAnchor(int by)
Mettre une ancre.
|
void |
setFill(int by)
Mettre un remplissage.
|
void |
setPadding(java.awt.Insets by)
Mettre un padding.
|
void |
setPositionX(int by)
Changer le cuseur en x.
|
void |
setPositionY(int by)
Changer le cuseur en y.
|
void |
setSizeX(double by)
Mettre sa taille en x.
|
void |
setSizeY(double by)
Mettre sa taille en y.
|
void |
setTakeCaseOnX(int by)
Changer la place occupe en x.
|
void |
setTakeCaseOnY(int by)
Changer la place occupe en y.
|
public int PositionOnX
public int PositionOnY
public int takeCaseOnX
public int takeCaseOnY
public double sizeOnX
public double sizeOnY
public int padding_top
public int padding_left
public int padding_bottom
public int padding_right
public java.awt.Insets padding
public int positionOnScreen
public int filler
public BLayout()
public BLayout(int positionX, int positionY, int manyCaseX, int manyCaseY, double sizeX, double sizeY, java.awt.Insets pad, int positionOnScreen, int filling)
positionX
- Position en X.positionY
- Position en y.manyCaseX
- Combien le component prend de case en x.manyCaseY
- Combien le component prend de case en y.sizeX
- Taille en double en x.sizeY
- Taille en double en y.pad
- Le padding.positionOnScreen
- La position sur la frame (centre, north etc...).filling
- Remplissage (H, V, B).public void setPositionX(int by)
by
- par quoipublic void setPositionY(int by)
by
- par quoipublic void setTakeCaseOnX(int by)
by
- par quoipublic void setTakeCaseOnY(int by)
by
- par quoipublic void setSizeX(double by)
by
- par quoipublic void setSizeY(double by)
by
- par quoipublic void setPadding(java.awt.Insets by)
by
- par quoipublic void setAnchor(int by)
by
- par quoipublic void setFill(int by)
by
- par quoi