| Package | Description |
|---|---|
| java.awt | |
| javax.swing.plaf.basic |
| Modifier and Type | Field and Description |
|---|---|
protected GridBagConstraints |
GridBagLayout.defaultConstraints
This field holds a gridbag constraints instance
containing the default values, so if a component
does not have gridbag constraints associated with
it, then the component will be assigned a
copy of the
defaultConstraints. |
| Modifier and Type | Field and Description |
|---|---|
protected Hashtable<Component,GridBagConstraints> |
GridBagLayout.comptable
This hashtable maintains the association between
a component and its gridbag constraints.
|
| Modifier and Type | Method and Description |
|---|---|
GridBagConstraints |
GridBagLayout.getConstraints(Component comp)
Gets the constraints for the specified component.
|
protected GridBagConstraints |
GridBagLayout.lookupConstraints(Component comp)
Retrieves the constraints for the specified component.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
GridBagLayout.adjustForGravity(GridBagConstraints constraints,
Rectangle r)
Adjusts the x, y, width, and height fields to the correct
values depending on the constraint geometry and pads.
|
protected void |
GridBagLayout.AdjustForGravity(GridBagConstraints constraints,
Rectangle r)
This method is obsolete and supplied for backwards
compatibility only; new code should call
adjustForGravity instead. |
void |
GridBagLayout.setConstraints(Component comp,
GridBagConstraints constraints)
Sets the constraints for the specified component in this layout.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
BasicOptionPaneUI.addMessageComponents(Container container,
GridBagConstraints cons,
Object msg,
int maxll,
boolean internallyCreated)
Creates the appropriate object to represent
msg and
places it into container. |
Generated by SciJava from the sources of OpenJDK 8 (Zulu), which are licensed under the GNU General Public License, version 2, with the Classpath Exception. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.