A B C D E G H I L M N P R S T U V W
A
add(Component) -
Method in class de.winterdrache.layout.MSBLayout
Adds compo to the Container
this MSBLayout is LayoutManager
for.
add(Component, MSBLayout.Constraints) -
Method in class de.winterdrache.layout.MSBLayout
Adds compo to the Container
this MSBLayout is LayoutManager
for using the
provided Constraints
rather than those from the ConstraintsFactory
.
addLayoutComponent(Component, Object) -
Method in class de.winterdrache.layout.MSBLayout
Called by the Container
's add() methods; User code should not call it directly.
addLayoutComponent(String, Component) -
Method in class de.winterdrache.layout.MSBLayout
Unsupported method obsoleted by MSBLayout.addLayoutComponent(Component, Object)
.
ANONYMOUS_GROUP -
Static variable in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
Constant String[]{ "" } that can (but need not be) used as return value for
MSBLayout.ConstraintsImpl.groups()
.
autobox(String) -
Method in class de.winterdrache.layout.MSBLayout
Configures this MSBLayout to automatically create hboxes and vboxes according to the given
structure when components are added to the layout.
autobreak() -
Method in class de.winterdrache.layout.MSBLayout
Similar to MSBLayout.leavebox()
, but if an MSBLayout.autobox(String)
is active, the repetition
count of the box that is being left is immediately reduced to 0 and the box will not be
repeated.
autostop() -
Method in class de.winterdrache.layout.MSBLayout
Stops all MSBLayout.autobox(String)
processing if any is active.
B
bottom() -
Method in interface de.winterdrache.layout.MSBLayout.Constraints
Returns the bottom margin which is either a non-negative number of pixels or one of the
Gap
constants.
bottom(int) -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
bottom() -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
bottom(int) -
Method in interface de.winterdrache.layout.MSBLayout.MutableConstraints
Sets the bottom margin and leaves the other margins unchanged.
C
classes() -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsFactory
Returns all the classes for which this ConstraintsFactory
has
specialized Constraints
.
current() -
Method in class de.winterdrache.layout.MSBLayout
Returns a MutableConstraints
reference through which you can set the
behaviour of the most recently added box.
currentbox() -
Method in class de.winterdrache.layout.MSBLayout
Returns a MutableConstraints
reference through which you can set the
behaviour of the parent box of MSBLayout.current()
.
D
de.winterdrache.layout - package de.winterdrache.layout defaultConstraints -
Variable in class de.winterdrache.layout.MSBLayout.ConstraintsFactory
The Constraints returned when mapClass2Constraints
does not contain a mapping for a
given class.
DEFER -
Static variable in class de.winterdrache.layout.MSBLayout.Gap
Usually used only on hboxes/vboxes and means that the margin should not participate in gap
computation.
E
Examples - Class in de.winterdrache.layout This class contains the code for all examples used in MSBLayout
's javadoc to make sure
they all compile and work. Examples() -
Constructor for class de.winterdrache.layout.Examples
G
getConstraintsFactory() -
Method in class de.winterdrache.layout.MSBLayout
Returns the ConstraintsFactory
used by this MSBLayout
.
getConstraintsFor(Class<?>) -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsFactory
Returns Constraints
to be used for the component boxes around objects of
Class
cls.
getConstraintsForHBox() -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsFactory
The same as getConstraintsFor(MSBLayout.ConstraintsFactory.HBOX)
.
getConstraintsForVBox() -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsFactory
The same as getConstraintsFor(MSBLayout.ConstraintsFactory.VBOX)
.
getContainer() -
Method in class de.winterdrache.layout.MSBLayout
If this MSBLayout
knows its Container
, it will be returned.
getDefaultConstraintsFactory() -
Static method in class de.winterdrache.layout.MSBLayout
Returns the static ConstraintsFactory
that is used by
MSBLayout
s that have no individual factory set.
getLayoutAlignmentX(Container) -
Method in class de.winterdrache.layout.MSBLayout
Returns 0.5f.
getLayoutAlignmentY(Container) -
Method in class de.winterdrache.layout.MSBLayout
Returns 0.5f.
getLayoutStyle() -
Method in class de.winterdrache.layout.MSBLayout
Returns the LayoutStyle
set via MSBLayout.setLayoutStyle(LayoutStyle)
or null if the
global style from LayoutStyle.getInstance()
is used.
GLUE -
Static variable in class de.winterdrache.layout.MSBLayout.ConstraintsFactory
Constant for accessing the Constraints
for a glue;
glue() -
Method in class de.winterdrache.layout.MSBLayout
Adds an empty box to the layout that will eat up excess space.
glue(int) -
Method in class de.winterdrache.layout.MSBLayout
Adds a spacer that has the given length as its minimum, preferred and maximum dimensions.
glue(int, int, int) -
Method in class de.winterdrache.layout.MSBLayout
Adds a spacer with the given minimum, preferred and maximum dimensions.
glue(int, int, int, int, int, int) -
Method in class de.winterdrache.layout.MSBLayout
Adds a spacer with the given dimensions to this layout.
group(String) -
Method in class de.winterdrache.layout.MSBLayout
Returns the Group
with name groupName.
groups() -
Method in interface de.winterdrache.layout.MSBLayout.Constraints
Returns the names of all Group
s this box is member of.
groups -
Variable in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
The MSBLayout.ConstraintsImpl.groups()
list.
groups() -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
groups(String[]) -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
groups(String) -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
groups(String) -
Method in interface de.winterdrache.layout.MSBLayout.MutableConstraints
Takes a comma-separated list of group
names (that must not contain spurious
whitespace) that will replace the list of groups this box is currently part of.
groups(String[]) -
Method in interface de.winterdrache.layout.MSBLayout.MutableConstraints
Takes a list of group
names that will replace the list of groups this box is
currently part of.
H
halign() -
Method in interface de.winterdrache.layout.MSBLayout.Constraints
Returns the horizontal alignment of this box, i.e. its horizontal placement within
the containing parent box.
halign -
Variable in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
The MSBLayout.ConstraintsImpl.halign()
value.
halign(float) -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
halign() -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
halign(float) -
Method in class de.winterdrache.layout.MSBLayout.Group
If halign is not Float.NaN
, it will be set on all current and all future members.
halign(float) -
Method in interface de.winterdrache.layout.MSBLayout.MutableConstraints
When this box is contained in a box that has excess blank space, the alignment determines
where that blank space will be relative to this box.
HBOX -
Static variable in class de.winterdrache.layout.MSBLayout.ConstraintsFactory
Constant for accessing the Constraints
for a hbox.
hbox() -
Method in class de.winterdrache.layout.MSBLayout
Inserts an hbox at the current insert location and sets the insert cursor inside this hbox.
hbox(MSBLayout.Constraints) -
Method in class de.winterdrache.layout.MSBLayout
Inserts an hbox at the current insert location and sets the insert cursor inside this hbox.
hbox(Container) -
Method in class de.winterdrache.layout.MSBLayout
Inserts an hbox with a background component that can be used to provide a border, background
image or similar.
hbox(Border) -
Method in class de.winterdrache.layout.MSBLayout
(Swing-only) Inserts an hbox with a border.
hbox(String) -
Method in class de.winterdrache.layout.MSBLayout
(Swing-only) A shortcut for hbox(new TitledBorder(title))
.
hbox(Container, MSBLayout.Constraints) -
Method in class de.winterdrache.layout.MSBLayout
If background is non-null behaves like MSBLayout.hbox(Container)
; if constraints is non-null
behaves like MSBLayout.hbox(Constraints)
; if both are non-null combines both; if both are null
behaves like MSBLayout.hbox()
.
hfill() -
Method in interface de.winterdrache.layout.MSBLayout.Constraints
Returns the box's willingness to grow horizontally to fill excess space.
hfill -
Variable in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
The MSBLayout.ConstraintsImpl.hfill()
value.
hfill(int) -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
hfill() -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
hfill(int) -
Method in class de.winterdrache.layout.MSBLayout.Group
If hfill >= 0, it will be set on all current and all future members.
hfill(int) -
Method in interface de.winterdrache.layout.MSBLayout.MutableConstraints
Sets the box's willingness to grow horizontally to fill excess space. 0 means the Box insists
on its preferred size. 1 means this Box is willing to grow to its maximum size if required. 2
means the Box is willing to grow beyond its maximum size if there is still too much space
after all boxes with willingness == 1 have been grown to their max sizes.
hscale() -
Method in interface de.winterdrache.layout.MSBLayout.Constraints
A box that is part of a Group
with tieWidth()
uses the
group's tied minimum, preferred and maximum widths multiplied by this factor.
hscale -
Variable in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
The MSBLayout.ConstraintsImpl.hscale()
value.
hscale(float) -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
hscale() -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
hscale(float) -
Method in interface de.winterdrache.layout.MSBLayout.MutableConstraints
A box that is part of a Group
with tieWidth()
uses the
group's tied minimum, preferred and maximum widths multiplied by this factor.
hshrink() -
Method in interface de.winterdrache.layout.MSBLayout.Constraints
When several sibling boxes are shrunk smaller than their preferred widths because the
container is too small, the hshrink() value determines the relative amount that is taken away
from a box's width.
hshrink -
Variable in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
The MSBLayout.ConstraintsImpl.hshrink()
value.
hshrink(int) -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
hshrink() -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
hshrink(int) -
Method in class de.winterdrache.layout.MSBLayout.Group
If hshrink > 0, it will be set on all current and all future members.
hshrink(int) -
Method in interface de.winterdrache.layout.MSBLayout.MutableConstraints
When boxes are shrunk below their preferred sizes because their container is too small, the
weight value determines the relative amount of space this Box will lose.
hweight() -
Method in interface de.winterdrache.layout.MSBLayout.Constraints
When several sibling boxes are grown larger than their preferred widths to fill excess
space in the containing box, the hweight() value determines the relative amounts of
additional width the boxes get.
hweight -
Variable in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
The MSBLayout.ConstraintsImpl.hweight()
value.
hweight(int) -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
hweight() -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
hweight(int) -
Method in class de.winterdrache.layout.MSBLayout.Group
If hweight > 0, it will be set on all current and all future members.
hweight(int) -
Method in interface de.winterdrache.layout.MSBLayout.MutableConstraints
When boxes are grown to fill excess space in the parent container, the weight value
determines the relative portion of space this Box will get.
I
invalidateLayout(Container) -
Method in class de.winterdrache.layout.MSBLayout
Does nothing; particularly does not call MSBLayout.recomputeMargins()
.
L
layoutContainer(Container) -
Method in class de.winterdrache.layout.MSBLayout
Computes and sets the sizes and positions of all components in the Container
via
Component.setBounds(java.awt.Rectangle)
.
leavebox() -
Method in class de.winterdrache.layout.MSBLayout
Places the insert cursor after the container box it is currently in, i.e. in the parent
box of that box.
left() -
Method in interface de.winterdrache.layout.MSBLayout.Constraints
Returns the left margin which is either a non-negative number of pixels or one of the
Gap
constants.
left(int) -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
left() -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
left(int) -
Method in interface de.winterdrache.layout.MSBLayout.MutableConstraints
Sets the left margin and leaves the other margins unchanged.
M
main(String[]) -
Static method in class de.winterdrache.layout.Examples
mapClass2Constraints -
Variable in class de.winterdrache.layout.MSBLayout.ConstraintsFactory
Maps a Class
to a MutableConstraints
object that holds the
constraints for that class.
margin() -
Method in interface de.winterdrache.layout.MSBLayout.Constraints
Returns the amount of blank space added around the box's content where each of the top, left,
bottom and right values is either a non-negative number of pixels or one of the Gap
constants.
margin(Insets) -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
margin(int, int, int, int) -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
margin() -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
margin(Insets) -
Method in interface de.winterdrache.layout.MSBLayout.MutableConstraints
Sets an amount of blank space to be added around the box's content.
margin(int, int, int, int) -
Method in interface de.winterdrache.layout.MSBLayout.MutableConstraints
Sets an amount of blank space to be added around the box's content.
marginBotton -
Variable in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
The MSBLayout.ConstraintsImpl.bottom()
value.
marginLeft -
Variable in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
The MSBLayout.ConstraintsImpl.left()
value.
marginRight -
Variable in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
The MSBLayout.ConstraintsImpl.right()
value.
marginTop -
Variable in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
The MSBLayout.ConstraintsImpl.top()
value.
MAX_WEIGHT_SHRINK -
Static variable in class de.winterdrache.layout.MSBLayout
Maximum value for the hweight
,
vweight
, hshrink
and vshrink
constraints.
maximumLayoutSize(Container) -
Method in class de.winterdrache.layout.MSBLayout
Calculates the maximum size for this layout.
minimumLayoutSize(Container) -
Method in class de.winterdrache.layout.MSBLayout
Calculates the minimum size for this layout.
modifyConstraintsFor(Class<?>) -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsFactory
Returns a MutableConstraints
object that you can modify to affect
all future calls to getConstraintsFor(Class)
for the given class.
modifyConstraintsFor(Class<?>) -
Method in class de.winterdrache.layout.MSBLayout
Allows access to the initial default Constraints
used when a
Component
of the given class is added to the layout and no accompanying
Constraints
object is provided.
modifyConstraintsForHBox() -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsFactory
The same as modifyConstraintsFor(MSBLayout.ConstraintsFactory.HBOX)
.
modifyConstraintsForVBox() -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsFactory
The same as modifyConstraintsFor(MSBLayout.ConstraintsFactory.VBOX)
.
modifyDefaultConstraints() -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsFactory
Returns a MutableConstraints
object that you can modify to affect
all future calls to getConstraintsFor(Class)
for classes that have no specialized
constraints.
MSBLayout - Class in de.winterdrache.layout MSBLayout is a LayoutManager that combines the nested-boxes approach of BoxLayout
with
flexible constraints as used by GridBagLayout
, but surpasses both its spiritual parents
in flexibility and ease of use. MSBLayout() -
Constructor for class de.winterdrache.layout.MSBLayout
Creates a new MSBLayout
whose outer-most box is a vbox.
MSBLayout(MSBLayout.ConstraintsFactory) -
Constructor for class de.winterdrache.layout.MSBLayout
Creates a new MSBLayout
whose outer-most box is a vbox and that uses the given factory
to provide default constraints for all boxes.
MSBLayout(Container) -
Constructor for class de.winterdrache.layout.MSBLayout
Creates a new MSBLayout
whose outer-most box is a vbox and sets it as LayoutManager on
a given Container.
MSBLayout(Container, MSBLayout.ConstraintsFactory) -
Constructor for class de.winterdrache.layout.MSBLayout
Creates a new MSBLayout
and installs it on the given Container
; the outer-most
box is a vbox; Constraints will be taken from the given factory.
MSBLayout(String) -
Constructor for class de.winterdrache.layout.MSBLayout
Creates a new MSBLayout
with the given hbox/vbox structure.
MSBLayout(String, MSBLayout.ConstraintsFactory) -
Constructor for class de.winterdrache.layout.MSBLayout
Creates a new MSBLayout
with the given hbox/vbox structure; the given factory will be
used to provide default constraints for all boxes.
MSBLayout(String, Container) -
Constructor for class de.winterdrache.layout.MSBLayout
Creates a new MSBLayout
with the given hbox/vbox structure and installs it as
LayoutManager
on the given Container
.
MSBLayout(String, Container, MSBLayout.ConstraintsFactory) -
Constructor for class de.winterdrache.layout.MSBLayout
Creates a new MSBLayout
with the given hbox/vbox structure and installs it as
LayoutManager
on the given Container; the given factory will be used to provide default
Constraint
for boxes.
MSBLayout.Constraints - Interface in de.winterdrache.layout
Every box in an MSBLayout is associated with a Constraints object that controls the sizing and
placement behaviour of the box. MSBLayout.ConstraintsFactory - Class in de.winterdrache.layout
When a new box is added to an MSBLayout without an accompanying Constraints
object, MSBLayout uses a ConstraintsFactory to provide the Constraints. MSBLayout.ConstraintsFactory() -
Constructor for class de.winterdrache.layout.MSBLayout.ConstraintsFactory
Creates a new ConstraintsFactory that contains only a default Constraints
object but no specialized constraints.
MSBLayout.ConstraintsFactory(MSBLayout.ConstraintsFactory) -
Constructor for class de.winterdrache.layout.MSBLayout.ConstraintsFactory
Creates a new ConstraintsFactory that starts with an independent copy of all
Constraints
from orig.
MSBLayout.ConstraintsImpl - Class in de.winterdrache.layout A straightforward implementation of the MutableConstraints
interface. MSBLayout.ConstraintsImpl() -
Constructor for class de.winterdrache.layout.MSBLayout.ConstraintsImpl
Creates a default set of MutableConstraints
.
MSBLayout.ConstraintsImpl(MSBLayout.Constraints) -
Constructor for class de.winterdrache.layout.MSBLayout.ConstraintsImpl
Creates a copy of the Constraints
from orig.
MSBLayout.ConstraintsImpl(int, int, float, float, Insets, int, int, Dimension, float, float, int, int) -
Constructor for class de.winterdrache.layout.MSBLayout.ConstraintsImpl
Creates a new ConstraintsImpl object for the given constraints.
MSBLayout.Gap - Class in de.winterdrache.layout The Gap class contains constants that can be used as
margin constraints
instead of fixed pixel
values to get automatic context-dependent gaps. MSBLayout.Group - Class in de.winterdrache.layout A Group's primary purpose is to force certain aspects (most importantly width and height) of
several boxes to be the same; furthermore it allows you to change the constraints of all member
boxes in a single statement. MSBLayout.MutableConstraints - Interface in de.winterdrache.layout Extends the (read-only) Constraints
interface with methods to modify the
constraints.
N
NO_GROUPS -
Static variable in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
Constant String[]{} that can (but need not be) used as return value for
MSBLayout.ConstraintsImpl.groups()
.
P
padding() -
Method in interface de.winterdrache.layout.MSBLayout.Constraints
Returns an amount of space that is added to the box's minimum, preferred and maximum sizes
when doing size computations.
padding(Dimension) -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
padding(int, int) -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
padding() -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
padding(Dimension) -
Method in interface de.winterdrache.layout.MSBLayout.MutableConstraints
Sets an amount of space to be added to the box's minimum, preferred and maximum sizes when
doing size computations.
padding(int, int) -
Method in interface de.winterdrache.layout.MSBLayout.MutableConstraints
Sets an amount of space to be added to the box's minimum, preferred and maximum sizes when
doing size computations.
paddingHeight -
Variable in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
The height component of MSBLayout.ConstraintsImpl.padding()
.
paddingWidth -
Variable in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
The width component of MSBLayout.ConstraintsImpl.padding()
.
preferredLayoutSize(Container) -
Method in class de.winterdrache.layout.MSBLayout
Calculates the preferred size for this layout.
R
recomputeMargins() -
Method in class de.winterdrache.layout.MSBLayout
Translates context-dependent margin gaps as specified by the Gap
constants into
actual pixel values.
RELATED -
Static variable in class de.winterdrache.layout.MSBLayout.Gap
Specifies a gap between Component
s that are logically related in a dialog, such as a
textfield and its label.
remove(Component) -
Method in class de.winterdrache.layout.MSBLayout
Removes comp from the Container
this MSBLayout is LayoutManager
for and sets
the insert cursor to the old position of comp in the box hierarchy, so that adding a new
component immediately after removing comp will result in replacing comp.
removeLayoutComponent(Component) -
Method in class de.winterdrache.layout.MSBLayout
If the Component
comp is part of this layout, removes comp from it and
sets the insert cursor to the old position of comp in the box hierarchy, so that adding
a new component immediately after the removal will result in replacing comp .
right() -
Method in interface de.winterdrache.layout.MSBLayout.Constraints
Returns the right margin which is either a non-negative number of pixels or one of the
Gap
constants.
right(int) -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
right() -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
right(int) -
Method in interface de.winterdrache.layout.MSBLayout.MutableConstraints
Sets the right margin and leaves the other margins unchanged.
S
seek(Component) -
Method in class de.winterdrache.layout.MSBLayout
Find the given Component
in the box hierarchy, place the insert cursor before it and
make it available via MSBLayout.current()
.
separator() -
Method in class de.winterdrache.layout.MSBLayout
(Swing-only) Inserts a separator at the current insert cursor position.
setConstraints(MSBLayout.Constraints) -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
setConstraints(MSBLayout.Constraints) -
Method in interface de.winterdrache.layout.MSBLayout.MutableConstraints
Copies the settings from orig to this MutableConstraints
object.
setConstraintsFactory(MSBLayout.ConstraintsFactory) -
Method in class de.winterdrache.layout.MSBLayout
Sets the provided factory as the new ConstraintsFactory
for this
MSBLayout
.
setConstraintsFor(Class<?>, MSBLayout.Constraints) -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsFactory
Tells this factory to return the given constraints on future calls to
getConstraintsFor(Class)
for class cls.
setContainer(Container) -
Method in class de.winterdrache.layout.MSBLayout
Tells this MSBLayout that containerToLayout is the Container for which the MSBLayout will be
used.
setDefaultConstraints(MSBLayout.Constraints) -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsFactory
Tells this factory to use the given constraints Object as the Constraints
to be used whenever no specialized constraints have been defined.
setDefaultConstraintsFactory(MSBLayout.ConstraintsFactory) -
Static method in class de.winterdrache.layout.MSBLayout
Sets the provided factory as the ConstraintsFactory
to be used for
MSBLayout
's that don't have their own individually set.
setLayoutStyle(LayoutStyle) -
Method in class de.winterdrache.layout.MSBLayout
(Swing and AWT) Sets the LayoutStyle
this MSBLayout instance should use for
translating context-dependent margin values as specified by the Gap
constants into
actual pixel values.
setSingleBoxJustifyBehaviour(float, float, int, int) -
Method in class de.winterdrache.layout.MSBLayout
Configures how to deal with the situation of a single box whose alignment is set to -1 (meaning
"justify").
T
tieHeight() -
Method in class de.winterdrache.layout.MSBLayout.Group
(tieHeight() is on by default)All boxes belonging to this Group will have the same minimum,
preferred and maximum height (multiplied by their respective vscale
).
tieMargins() -
Method in class de.winterdrache.layout.MSBLayout.Group
(tieMargins() is on by default)All boxes belonging to this Group will have the same margins.
tieMargins(boolean, boolean, boolean, boolean) -
Method in class de.winterdrache.layout.MSBLayout.Group
All boxes belonging to this Group will have the same margins as specified by the top, left,
bottom and right arguments.
tieWidth() -
Method in class de.winterdrache.layout.MSBLayout.Group
(tieWidth() is on by default)All boxes belonging to this Group will have the same minimum,
preferred and maximum width (multiplied by their respective hscale
).
top() -
Method in interface de.winterdrache.layout.MSBLayout.Constraints
Returns the top margin which is either a non-negative number of pixels or one of the
Gap
constants.
top(int) -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
top() -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
top(int) -
Method in interface de.winterdrache.layout.MSBLayout.MutableConstraints
Sets the top margin and leaves the other margins unchanged.
U
UNRELATED -
Static variable in class de.winterdrache.layout.MSBLayout.Gap
Specifies a gap between Component
s that are not logically related in a dialog.
untieAll() -
Method in class de.winterdrache.layout.MSBLayout.Group
Combines MSBLayout.Group.untieWidth()
, MSBLayout.Group.untieHeight()
and MSBLayout.Group.untieMargins()
; useful
when you need a group only for setting Constraints
on all members.
untieHeight() -
Method in class de.winterdrache.layout.MSBLayout.Group
Deactivates MSBLayout.Group.tieHeight()
.
untieMargins() -
Method in class de.winterdrache.layout.MSBLayout.Group
Deactivates MSBLayout.Group.tieMargins()
for top, bottom, left and right margin.
untieWidth() -
Method in class de.winterdrache.layout.MSBLayout.Group
Deactivates MSBLayout.Group.tieWidth()
.
usesDefaultConstraintsFactory() -
Method in class de.winterdrache.layout.MSBLayout
Returns true if and only if this MSBLayout
uses the
default ConstraintsFactory
.
V
valign() -
Method in interface de.winterdrache.layout.MSBLayout.Constraints
Returns the vertical alignment of this box, i.e. its vertical placement within the
containing parent box.
valign -
Variable in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
The MSBLayout.ConstraintsImpl.valign()
value.
valign(float) -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
valign() -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
valign(float) -
Method in class de.winterdrache.layout.MSBLayout.Group
If valign is not Float.NaN
, it will be set on all current and all future members.
valign(float) -
Method in interface de.winterdrache.layout.MSBLayout.MutableConstraints
When this box is contained in a box that has excess blank space, the alignment determines
where that blank space will be relative to this box.
VBOX -
Static variable in class de.winterdrache.layout.MSBLayout.ConstraintsFactory
Constant for accessing the Constraints
for a vbox;
vbox() -
Method in class de.winterdrache.layout.MSBLayout
Inserts a vbox at the current insert location and sets the insert cursor inside this vbox.
vbox(MSBLayout.Constraints) -
Method in class de.winterdrache.layout.MSBLayout
Inserts a vbox at the current insert location and sets the insert cursor inside this vbox.
vbox(Container) -
Method in class de.winterdrache.layout.MSBLayout
Inserts a vbox with a background component that can be used to provide a border, background
image or similar.
vbox(Border) -
Method in class de.winterdrache.layout.MSBLayout
(Swing-only) Inserts a vbox with a border.
vbox(String) -
Method in class de.winterdrache.layout.MSBLayout
(Swing-only) A shortcut for vbox(new TitledBorder(title))
.
vbox(Container, MSBLayout.Constraints) -
Method in class de.winterdrache.layout.MSBLayout
If background is non-null behaves like MSBLayout.vbox(Container)
; if constraints is non-null
behaves like MSBLayout.vbox(Constraints)
; if both are non-null combines both; if both are null
behaves like MSBLayout.vbox()
.
vfill() -
Method in interface de.winterdrache.layout.MSBLayout.Constraints
Returns the box's willingness to grow vertically to fill excess space.
vfill -
Variable in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
The MSBLayout.ConstraintsImpl.vfill()
value.
vfill(int) -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
vfill() -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
vfill(int) -
Method in class de.winterdrache.layout.MSBLayout.Group
If vfill >= 0, it will be set on all current and all future members.
vfill(int) -
Method in interface de.winterdrache.layout.MSBLayout.MutableConstraints
Sets the box's willingness to grow vertically to fill excess space. 0 means the Box insists
on its preferred size. 1 means this Box is willing to grow to its maximum size if required. 2
means the Box is willing to grow beyond its maximum size if there is still too much space
after all boxes with willingness == 1 have been grown to their max sizes.
vscale() -
Method in interface de.winterdrache.layout.MSBLayout.Constraints
A box that is part of a Group
with Group.tieHeight()
uses the group's tied minimum, preferred and maximum heights multiplied by this factor.
vscale -
Variable in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
The MSBLayout.ConstraintsImpl.vscale()
value.
vscale(float) -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
vscale() -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
vscale(float) -
Method in interface de.winterdrache.layout.MSBLayout.MutableConstraints
A box that is part of a Group
with tieHeight()
uses
the group's tied minimum, preferred and maximum heights multiplied by this factor.
vshrink() -
Method in interface de.winterdrache.layout.MSBLayout.Constraints
When several sibling boxes are shrunk smaller than their preferred heights because the
container is too small, the vshrink() value determines the relative amount that is taken away
from a box's height.
vshrink -
Variable in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
The MSBLayout.ConstraintsImpl.vshrink()
value.
vshrink(int) -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
vshrink() -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
vshrink(int) -
Method in class de.winterdrache.layout.MSBLayout.Group
If vshrink > 0, it will be set on all current and all future members.
vshrink(int) -
Method in interface de.winterdrache.layout.MSBLayout.MutableConstraints
When boxes are shrunk below their preferred sizes because their container is too small, the
weight value determines the relative amount of space this Box will lose.
vweight() -
Method in interface de.winterdrache.layout.MSBLayout.Constraints
When several sibling boxes are grown larger than their preferred heights to fill
excess space in the containing box, the vweight() value determines the relative amounts of
additional height the boxes get.
vweight -
Variable in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
The MSBLayout.ConstraintsImpl.vweight()
value.
vweight(int) -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
vweight() -
Method in class de.winterdrache.layout.MSBLayout.ConstraintsImpl
vweight(int) -
Method in class de.winterdrache.layout.MSBLayout.Group
If vweight > 0, it will be set on all current and all future members.
vweight(int) -
Method in interface de.winterdrache.layout.MSBLayout.MutableConstraints
When boxes are grown to fill excess space in the parent container, the weight value
determines the relative portion of space this Box will get.
W
WEAK_RELATED -
Static variable in class de.winterdrache.layout.MSBLayout.Gap
Like MSBLayout.Gap.RELATED
, but when a WEAK_ gap and a non-WEAK_ gap conflict, the non-WEAK_ gap
overrides.
WEAK_UNRELATED -
Static variable in class de.winterdrache.layout.MSBLayout.Gap
Like MSBLayout.Gap.UNRELATED
, but when a WEAK_ gap and a non-WEAK_ gap conflict, the non-WEAK_ gap
overrides.
A B C D E G H I L M N P R S T U V W
Copyright © 2010 Matthias S. Benkmann. See LICENSE file for licensing details.
Hosted on