This class creates a dotted border.
Plus de détails...
Est dérivée de javax::swing::border::LineBorder.
Liste de tous les membres
Fonctions membres publiques |
| | CellBorder (Color color) |
| | CellBorder (Color color, int thickness) |
| | CellBorder (Color color, int thickness, boolean roundedCorners) |
| void | setLineColor (Color c) |
| void | paintBorder (Component c, Graphics g, int x, int y, int width, int height) |
| | Paints the border for the specified component with the specified position and size.
|
| Insets | getBorderInsets (Component c, Insets insets) |
| Insets | getBorderInsets (Component c) |
| void | setBorderInsets (Insets insets) |
Attributs statiques de paquetage |
| static final float | dash1 [] = { 2.0f } |
| static final BasicStroke | dashed |
Description détaillée
This class creates a dotted border.
Documentation des constructeurs et destructeur
| CellBorder |
( |
Color |
color, |
|
|
int |
thickness, |
|
|
boolean |
roundedCorners |
|
) |
| |
- Paramètres:
-
| color | |
| thickness | |
| roundedCorners | |
Documentation des fonctions membres
| Insets getBorderInsets |
( |
Component |
c, |
|
|
Insets |
insets |
|
) |
| |
| Insets getBorderInsets |
( |
Component |
c | ) |
|
| void paintBorder |
( |
Component |
c, |
|
|
Graphics |
g, |
|
|
int |
x, |
|
|
int |
y, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
Paints the border for the specified component with the specified position and size.
- Paramètres:
-
| c | the component for which this border is being painted |
| g | the paint graphics |
| x | the x position of the painted border |
| y | the y position of the painted border |
| width | the width of the painted border |
| height | the height of the painted border |
| void setBorderInsets |
( |
Insets |
insets | ) |
|
| void setLineColor |
( |
Color |
c | ) |
|
Documentation des données membres
final float dash1[] = { 2.0f } [static, package] |
final BasicStroke dashed [static, package] |
Valeur initiale : new BasicStroke(0.2f,
BasicStroke.CAP_BUTT, BasicStroke.JOIN_ROUND, 10.0f)
La documentation de cette classe a été générée à partir du fichier suivant :