public interface VisualContainerBean extends Bean
Modifier and Type | Method and Description |
---|---|
Anchor |
getAnchor()
Returns the position where the visual component should be anchored.
|
boolean |
isFillHorizontal()
Returns whether the visual component wants to grow in the horizontal direction.
|
boolean |
isFillVertical()
Returns whether the visual component wants to grow in the vertical direction.
|
boolean isFillVertical()
true
here. In that case
you would also want to return true
in isFillHorizontal
. If all
your components are fixed-size components, return false
.
In console or unattended mode, this method is never called.
true
or false
.isFillHorizontal()
boolean isFillHorizontal()
true
here. If all your components
are fixed-size components, return false
.
In console or unattended mode, this method is never called.
true
or false
.isFillVertical()
Anchor getAnchor()
isFillHorizontal()
and isFillVertical()
:
isFillHorizontal()
and isFillVertical()
return false, all anchor values
have distinct effects.
isFillHorizontal()
returns true, only the vertical part of the anchor is used.
isFillVertical()
returns true, only the horizontal part of the anchor is used.
isFillHorizontal()
and isFillVertical()
return true, this value has no effect.