V
- area value typeC
- component typepublic abstract class AbstractComponentArea<V,C extends JComponent> extends Object implements ComponentArea<V,C>
ComponentArea
implementations.Constructor and Description |
---|
AbstractComponentArea() |
Modifier and Type | Method and Description |
---|---|
protected void |
adjustBounds(C component,
Component content,
Rectangle bounds)
Adjusts provided bounds to match actual content area.
|
protected void |
adjustBounds(C component,
Component content,
Rectangle bounds,
int align)
Adjusts provided bounds to match actual content area and alignment.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBounds, getValue, isAvailable
protected void adjustBounds(@NotNull C component, @NotNull Component content, @NotNull Rectangle bounds)
component
- JComponent
content
- content Component
bounds
- content bounds to adjustprotected void adjustBounds(@NotNull C component, @NotNull Component content, @NotNull Rectangle bounds, int align)
component
- JComponent
content
- content Component
bounds
- content bounds to adjustalign
- content alignmentCopyright © 2020. All rights reserved.