public static final class GridBag.Constraints.Template extends Object
GridBagConstraints.
Use GridBag.Constraints.template() or GridBag.Constraints.Builder.template() to retrieve an instance.
| Modifier and Type | Method and Description |
|---|---|
GridBag.Constraints.Builder |
builder()
Returns a new
GridBag.Constraints.Builder based on this GridBag.Constraints.Template. |
GridBagConstraints |
get()
Returns a new
GridBagConstraints based on this GridBag.Constraints.Template. |
GridBagConstraints |
get(int gridX,
int gridY)
Returns a new instance of
GridBagConstraints based on this GridBag.Constraints.Template
and considering the given parameters. |
GridBagConstraints |
get(int gridX,
int gridY,
double weightXY)
Returns a new instance of
GridBagConstraints based on this GridBag.Constraints.Template
and considering the given parameters. |
GridBagConstraints |
get(int gridX,
int gridY,
double weightX,
double weightY)
Returns a new instance of
GridBagConstraints based on this GridBag.Constraints.Template
and considering the given parameters. |
GridBagConstraints |
getX(int gridX)
Returns a new instance of
GridBagConstraints based on this GridBag.Constraints.Template
and considering the given parameter. |
GridBagConstraints |
getX(int gridX,
double weightX)
Returns a new instance of
GridBagConstraints based on this GridBag.Constraints.Template
and considering the given parameters. |
GridBagConstraints |
getY(int gridY)
Returns a new instance of
GridBagConstraints based on this GridBag.Constraints.Template
and considering the given parameter. |
GridBagConstraints |
getY(int gridY,
double weightY)
Returns a new instance of
GridBagConstraints based on this GridBag.Constraints.Template
and considering the given parameters. |
public final GridBagConstraints get()
GridBagConstraints based on this GridBag.Constraints.Template.public final GridBagConstraints get(int gridX, int gridY)
GridBagConstraints based on this GridBag.Constraints.Template
and considering the given parameters.GridBagConstraints.gridx,
GridBagConstraints.gridypublic final GridBagConstraints get(int gridX, int gridY, double weightXY)
GridBagConstraints based on this GridBag.Constraints.Template
and considering the given parameters.public final GridBagConstraints get(int gridX, int gridY, double weightX, double weightY)
GridBagConstraints based on this GridBag.Constraints.Template
and considering the given parameters.public final GridBagConstraints getY(int gridY)
GridBagConstraints based on this GridBag.Constraints.Template
and considering the given parameter.GridBagConstraints.gridypublic final GridBagConstraints getY(int gridY, double weightY)
GridBagConstraints based on this GridBag.Constraints.Template
and considering the given parameters.public final GridBagConstraints getX(int gridX)
GridBagConstraints based on this GridBag.Constraints.Template
and considering the given parameter.GridBagConstraints.gridxpublic final GridBagConstraints getX(int gridX, double weightX)
GridBagConstraints based on this GridBag.Constraints.Template
and considering the given parameters.public final GridBag.Constraints.Builder builder()
GridBag.Constraints.Builder based on this GridBag.Constraints.Template.Copyright © 2025 Andreas Kluge-Kaindl, Bremen (de). All rights reserved.