Uses of Class java.awt.Component.BaselineResizeBehavior (Java Platform SE 8 )
Date: 2026-08-19

## Uses of Class
java.awt.Component.BaselineResizeBehavior

- Packages that use Component.BaselineResizeBehavior
  Package | Description
  --- | ---
  java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images.
  javax.swing | Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
  javax.swing.border | Provides classes and interface for drawing specialized borders around a Swing component.
  javax.swing.plaf | Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities.
  javax.swing.plaf.basic | Provides user interface objects built according to the Basic look and feel.

- - ### Uses of Component.BaselineResizeBehavior in java.awt

    Methods in java.awt that return Component.BaselineResizeBehavior
    Modifier and Type | Method and Description
    --- | ---
    `Component.BaselineResizeBehavior` | Component.`getBaselineResizeBehavior()` Returns an enum indicating how the baseline of the component changes as the size changes.
    `static Component.BaselineResizeBehavior` | Component.BaselineResizeBehavior.`valueOf(String name)` Returns the enum constant of this type with the specified name.
    `static Component.BaselineResizeBehavior[]` | Component.BaselineResizeBehavior.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

  - ### Uses of Component.BaselineResizeBehavior in javax.swing

    Methods in javax.swing that return Component.BaselineResizeBehavior
    Modifier and Type | Method and Description
    --- | ---
    `Component.BaselineResizeBehavior` | JSpinner.DefaultEditor.`getBaselineResizeBehavior()` Returns an enum indicating how the baseline of the component changes as the size changes.
    `Component.BaselineResizeBehavior` | JComponent.`getBaselineResizeBehavior()` Returns an enum indicating how the baseline of the component changes as the size changes.

  - ### Uses of Component.BaselineResizeBehavior in javax.swing.border

    Methods in javax.swing.border that return Component.BaselineResizeBehavior
    Modifier and Type | Method and Description
    --- | ---
    `Component.BaselineResizeBehavior` | TitledBorder.`getBaselineResizeBehavior(Component c)` Returns an enum indicating how the baseline of the border changes as the size changes.
    `Component.BaselineResizeBehavior` | AbstractBorder.`getBaselineResizeBehavior(Component c)` Returns an enum indicating how the baseline of a component changes as the size changes.

  - ### Uses of Component.BaselineResizeBehavior in javax.swing.plaf

    Methods in javax.swing.plaf that return Component.BaselineResizeBehavior
    Modifier and Type | Method and Description
    --- | ---
    `Component.BaselineResizeBehavior` | LayerUI.`getBaselineResizeBehavior(JComponent c)` If the `JLayer`'s view component is not `null`, this returns the result of the view's `getBaselineResizeBehavior()` method.
    `Component.BaselineResizeBehavior` | ComponentUI.`getBaselineResizeBehavior(JComponent c)` Returns an enum indicating how the baseline of he component changes as the size changes.

  - ### Uses of Component.BaselineResizeBehavior in javax.swing.plaf.basic

    Methods in javax.swing.plaf.basic that return Component.BaselineResizeBehavior
    Modifier and Type | Method and Description
    --- | ---
    `Component.BaselineResizeBehavior` | BasicTableUI.`getBaselineResizeBehavior(JComponent c)` Returns an enum indicating how the baseline of the component changes as the size changes.
    `Component.BaselineResizeBehavior` | BasicPanelUI.`getBaselineResizeBehavior(JComponent c)` Returns an enum indicating how the baseline of the component changes as the size changes.
    `Component.BaselineResizeBehavior` | BasicListUI.`getBaselineResizeBehavior(JComponent c)` Returns an enum indicating how the baseline of the component changes as the size changes.
    `Component.BaselineResizeBehavior` | BasicSpinnerUI.`getBaselineResizeBehavior(JComponent c)` Returns an enum indicating how the baseline of the component changes as the size changes.
    `Component.BaselineResizeBehavior` | BasicTreeUI.`getBaselineResizeBehavior(JComponent c)` Returns an enum indicating how the baseline of the component changes as the size changes.
    `Component.BaselineResizeBehavior` | BasicTextAreaUI.`getBaselineResizeBehavior(JComponent c)` Returns an enum indicating how the baseline of the component changes as the size changes.
    `Component.BaselineResizeBehavior` | BasicTabbedPaneUI.`getBaselineResizeBehavior(JComponent c)` Returns an enum indicating how the baseline of the component changes as the size changes.
    `Component.BaselineResizeBehavior` | BasicSliderUI.`getBaselineResizeBehavior(JComponent c)` Returns an enum indicating how the baseline of the component changes as the size changes.
    `Component.BaselineResizeBehavior` | BasicScrollPaneUI.`getBaselineResizeBehavior(JComponent c)` Returns an enum indicating how the baseline of the component changes as the size changes.
    `Component.BaselineResizeBehavior` | BasicProgressBarUI.`getBaselineResizeBehavior(JComponent c)` Returns an enum indicating how the baseline of the component changes as the size changes.
    `Component.BaselineResizeBehavior` | BasicTextFieldUI.`getBaselineResizeBehavior(JComponent c)` Returns an enum indicating how the baseline of the component changes as the size changes.
    `Component.BaselineResizeBehavior` | BasicLabelUI.`getBaselineResizeBehavior(JComponent c)` Returns an enum indicating how the baseline of the component changes as the size changes.
    `Component.BaselineResizeBehavior` | BasicComboBoxUI.`getBaselineResizeBehavior(JComponent c)` Returns an enum indicating how the baseline of the component changes as the size changes.
    `Component.BaselineResizeBehavior` | BasicButtonUI.`getBaselineResizeBehavior(JComponent c)` Returns an enum indicating how the baseline of the component changes as the size changes.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.