|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of MSBLayout.MutableConstraints in de.winterdrache.layout |
---|
Classes in de.winterdrache.layout that implement MSBLayout.MutableConstraints | |
---|---|
static class |
MSBLayout.ConstraintsImpl
A straightforward implementation of the MutableConstraints
interface. |
Fields in de.winterdrache.layout declared as MSBLayout.MutableConstraints | |
---|---|
protected MSBLayout.MutableConstraints |
MSBLayout.ConstraintsFactory.defaultConstraints
The Constraints returned when MSBLayout.ConstraintsFactory.mapClass2Constraints does not contain a mapping for a
given class. |
Fields in de.winterdrache.layout with type parameters of type MSBLayout.MutableConstraints | |
---|---|
protected Map<Class<?>,MSBLayout.MutableConstraints> |
MSBLayout.ConstraintsFactory.mapClass2Constraints
Maps a Class to a MutableConstraints object that holds the
constraints for that class. |
Methods in de.winterdrache.layout that return MSBLayout.MutableConstraints | |
---|---|
MSBLayout.MutableConstraints |
MSBLayout.add(Component compo)
Adds compo to the Container this MSBLayout is LayoutManager for. |
MSBLayout.MutableConstraints |
MSBLayout.add(Component compo,
MSBLayout.Constraints constraints)
Adds compo to the Container this MSBLayout is LayoutManager for using the
provided Constraints rather than those from the ConstraintsFactory . |
MSBLayout.MutableConstraints |
MSBLayout.autobox(String structure)
Configures this MSBLayout to automatically create hboxes and vboxes according to the given structure when components are added to the layout. |
MSBLayout.MutableConstraints |
MSBLayout.MutableConstraints.bottom(int bottomMargin)
Sets the bottom margin and leaves the other margins unchanged. |
MSBLayout.MutableConstraints |
MSBLayout.ConstraintsImpl.bottom(int margin)
|
MSBLayout.MutableConstraints |
MSBLayout.current()
Returns a MutableConstraints reference through which you can set the
behaviour of the most recently added box. |
MSBLayout.MutableConstraints |
MSBLayout.currentbox()
Returns a MutableConstraints reference through which you can set the
behaviour of the parent box of MSBLayout.current() . |
MSBLayout.MutableConstraints |
MSBLayout.glue()
Adds an empty box to the layout that will eat up excess space. |
MSBLayout.MutableConstraints |
MSBLayout.glue(int length)
Adds a spacer that has the given length as its minimum, preferred and maximum dimensions. |
MSBLayout.MutableConstraints |
MSBLayout.glue(int min,
int pref,
int max)
Adds a spacer with the given minimum, preferred and maximum dimensions. |
MSBLayout.MutableConstraints |
MSBLayout.glue(int minWidth,
int minHeight,
int prefWidth,
int prefHeight,
int maxWidth,
int maxHeight)
Adds a spacer with the given dimensions to this layout. |
MSBLayout.MutableConstraints |
MSBLayout.MutableConstraints.groups(String groups)
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. |
MSBLayout.MutableConstraints |
MSBLayout.ConstraintsImpl.groups(String grps)
|
MSBLayout.MutableConstraints |
MSBLayout.MutableConstraints.groups(String[] groups)
Takes a list of group names that will replace the list of groups this box is
currently part of. |
MSBLayout.MutableConstraints |
MSBLayout.ConstraintsImpl.groups(String[] grp)
|
MSBLayout.MutableConstraints |
MSBLayout.MutableConstraints.halign(float a)
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. |
MSBLayout.MutableConstraints |
MSBLayout.ConstraintsImpl.halign(float a)
|
MSBLayout.MutableConstraints |
MSBLayout.hbox()
Inserts an hbox at the current insert location and sets the insert cursor inside this hbox. |
MSBLayout.MutableConstraints |
MSBLayout.hbox(Border border)
(Swing-only) Inserts an hbox with a border. |
MSBLayout.MutableConstraints |
MSBLayout.hbox(Container background)
Inserts an hbox with a background component that can be used to provide a border, background image or similar. |
MSBLayout.MutableConstraints |
MSBLayout.hbox(Container background,
MSBLayout.Constraints constraints)
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() . |
MSBLayout.MutableConstraints |
MSBLayout.hbox(MSBLayout.Constraints constraints)
Inserts an hbox at the current insert location and sets the insert cursor inside this hbox. |
MSBLayout.MutableConstraints |
MSBLayout.hbox(String title)
(Swing-only) A shortcut for hbox(new TitledBorder(title)) . |
MSBLayout.MutableConstraints |
MSBLayout.MutableConstraints.hfill(int fill)
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. |
MSBLayout.MutableConstraints |
MSBLayout.ConstraintsImpl.hfill(int fill)
|
MSBLayout.MutableConstraints |
MSBLayout.MutableConstraints.hscale(float scale)
A box that is part of a Group with tieWidth() uses the
group's tied minimum, preferred and maximum widths multiplied by this factor. |
MSBLayout.MutableConstraints |
MSBLayout.ConstraintsImpl.hscale(float scale)
|
MSBLayout.MutableConstraints |
MSBLayout.MutableConstraints.hshrink(int weight)
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. |
MSBLayout.MutableConstraints |
MSBLayout.ConstraintsImpl.hshrink(int weight)
|
MSBLayout.MutableConstraints |
MSBLayout.MutableConstraints.hweight(int weight)
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. |
MSBLayout.MutableConstraints |
MSBLayout.ConstraintsImpl.hweight(int weight)
|
MSBLayout.MutableConstraints |
MSBLayout.MutableConstraints.left(int leftMargin)
Sets the left margin and leaves the other margins unchanged. |
MSBLayout.MutableConstraints |
MSBLayout.ConstraintsImpl.left(int margin)
|
MSBLayout.MutableConstraints |
MSBLayout.MutableConstraints.margin(Insets insets)
Sets an amount of blank space to be added around the box's content. |
MSBLayout.MutableConstraints |
MSBLayout.ConstraintsImpl.margin(Insets insets)
|
MSBLayout.MutableConstraints |
MSBLayout.MutableConstraints.margin(int top,
int left,
int bottom,
int right)
Sets an amount of blank space to be added around the box's content. |
MSBLayout.MutableConstraints |
MSBLayout.ConstraintsImpl.margin(int top,
int left,
int bottom,
int right)
|
MSBLayout.MutableConstraints |
MSBLayout.modifyConstraintsFor(Class<?> cls)
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. |
MSBLayout.MutableConstraints |
MSBLayout.ConstraintsFactory.modifyConstraintsFor(Class<?> cls)
Returns a MutableConstraints object that you can modify to affect
all future calls to MSBLayout.ConstraintsFactory.getConstraintsFor(Class) for the given class. |
MSBLayout.MutableConstraints |
MSBLayout.ConstraintsFactory.modifyConstraintsForHBox()
The same as modifyConstraintsFor(MSBLayout.ConstraintsFactory.HBOX) . |
MSBLayout.MutableConstraints |
MSBLayout.ConstraintsFactory.modifyConstraintsForVBox()
The same as modifyConstraintsFor(MSBLayout.ConstraintsFactory.VBOX) . |
MSBLayout.MutableConstraints |
MSBLayout.ConstraintsFactory.modifyDefaultConstraints()
Returns a MutableConstraints object that you can modify to affect
all future calls to MSBLayout.ConstraintsFactory.getConstraintsFor(Class) for classes that have no specialized
constraints. |
MSBLayout.MutableConstraints |
MSBLayout.MutableConstraints.padding(Dimension insets)
Sets an amount of space to be added to the box's minimum, preferred and maximum sizes when doing size computations. |
MSBLayout.MutableConstraints |
MSBLayout.ConstraintsImpl.padding(Dimension padding)
|
MSBLayout.MutableConstraints |
MSBLayout.MutableConstraints.padding(int width,
int height)
Sets an amount of space to be added to the box's minimum, preferred and maximum sizes when doing size computations. |
MSBLayout.MutableConstraints |
MSBLayout.ConstraintsImpl.padding(int width,
int height)
|
MSBLayout.MutableConstraints |
MSBLayout.MutableConstraints.right(int rightMargin)
Sets the right margin and leaves the other margins unchanged. |
MSBLayout.MutableConstraints |
MSBLayout.ConstraintsImpl.right(int margin)
|
MSBLayout.MutableConstraints |
MSBLayout.seek(Component comp)
Find the given Component in the box hierarchy, place the insert cursor before it and
make it available via MSBLayout.current() . |
MSBLayout.MutableConstraints |
MSBLayout.separator()
(Swing-only) Inserts a separator at the current insert cursor position. |
MSBLayout.MutableConstraints |
MSBLayout.MutableConstraints.setConstraints(MSBLayout.Constraints orig)
Copies the settings from orig to this MutableConstraints object. |
MSBLayout.MutableConstraints |
MSBLayout.ConstraintsImpl.setConstraints(MSBLayout.Constraints orig)
|
MSBLayout.MutableConstraints |
MSBLayout.MutableConstraints.top(int topMargin)
Sets the top margin and leaves the other margins unchanged. |
MSBLayout.MutableConstraints |
MSBLayout.ConstraintsImpl.top(int margin)
|
MSBLayout.MutableConstraints |
MSBLayout.MutableConstraints.valign(float a)
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. |
MSBLayout.MutableConstraints |
MSBLayout.ConstraintsImpl.valign(float a)
|
MSBLayout.MutableConstraints |
MSBLayout.vbox()
Inserts a vbox at the current insert location and sets the insert cursor inside this vbox. |
MSBLayout.MutableConstraints |
MSBLayout.vbox(Border border)
(Swing-only) Inserts a vbox with a border. |
MSBLayout.MutableConstraints |
MSBLayout.vbox(Container background)
Inserts a vbox with a background component that can be used to provide a border, background image or similar. |
MSBLayout.MutableConstraints |
MSBLayout.vbox(Container background,
MSBLayout.Constraints constraints)
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() . |
MSBLayout.MutableConstraints |
MSBLayout.vbox(MSBLayout.Constraints constraints)
Inserts a vbox at the current insert location and sets the insert cursor inside this vbox. |
MSBLayout.MutableConstraints |
MSBLayout.vbox(String title)
(Swing-only) A shortcut for vbox(new TitledBorder(title)) . |
MSBLayout.MutableConstraints |
MSBLayout.MutableConstraints.vfill(int fill)
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. |
MSBLayout.MutableConstraints |
MSBLayout.ConstraintsImpl.vfill(int fill)
|
MSBLayout.MutableConstraints |
MSBLayout.MutableConstraints.vscale(float scale)
A box that is part of a Group with tieHeight() uses
the group's tied minimum, preferred and maximum heights multiplied by this factor. |
MSBLayout.MutableConstraints |
MSBLayout.ConstraintsImpl.vscale(float scale)
|
MSBLayout.MutableConstraints |
MSBLayout.MutableConstraints.vshrink(int weight)
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. |
MSBLayout.MutableConstraints |
MSBLayout.ConstraintsImpl.vshrink(int weight)
|
MSBLayout.MutableConstraints |
MSBLayout.MutableConstraints.vweight(int weight)
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. |
MSBLayout.MutableConstraints |
MSBLayout.ConstraintsImpl.vweight(int weight)
|
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright © 2010 Matthias S. Benkmann. See LICENSE file for licensing details.
Hosted on