Component.BaselineResizeBehavior (Java Platform SE 8 ) (original) (raw)


public static enum Component.BaselineResizeBehavior
extends Enum<Component.BaselineResizeBehavior>
Enumeration of the common ways the baseline of a component can change as the size changes. The baseline resize behavior is primarily for layout managers that need to know how the position of the baseline changes as the component size changes. In general the baseline resize behavior will be valid for sizes greater than or equal to the minimum size (the actual minimum size; not a developer specified minimum size). For sizes smaller than the minimum size the baseline may change in a way other than the baseline resize behavior indicates. Similarly, as the size approaches Integer.MAX_VALUE and/orShort.MAX_VALUE the baseline may change in a way other than the baseline resize behavior indicates.
Since:
1.6
See Also:
Component.getBaselineResizeBehavior(), Component.getBaseline(int,int)

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, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.