public interface IMigLayout extends ILayouter
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getColumnConstraints()
Returns the column layout constraints either as a
String or net.miginfocom.layout.AC . |
java.util.Map<IControl,java.lang.Object> |
getConstraintMap()
Returns a shallow copy of the constraints map.
|
java.lang.Object |
getLayoutConstraints()
Returns layout constraints eighter as a
String or net.miginfocom.layout.LC depending what was sent in
to the constructor or set with setLayoutConstraints(Object) . |
java.lang.Object |
getRowConstraints()
Returns the row layout constraints as a String representation.
|
boolean |
isManagingComponent(IControl control)
Returns if this layout manager is currently managing this component.
|
void |
setColumnConstraints(java.lang.Object constraints)
Sets the column layout constraints for the layout manager instance as a String.
|
void |
setConstraintMap(java.util.Map<IControl,java.lang.Object> map)
Sets the constraints map.
|
void |
setLayoutConstraints(java.lang.Object constraints)
Sets the layout constraints for the layout manager instance as a String.
|
void |
setRowConstraints(java.lang.Object constraints)
Sets the row layout constraints for the layout manager instance as a String.
|
getMaxSize, getMinSize, getPreferredSize, invalidate, layout
void setLayoutConstraints(java.lang.Object constraints)
See the class JavaDocs for information on how this string is formatted.
constraints
- The layout constraints as a String representation. null
is converted to ""
for
storage.java.lang.RuntimeException
- if the constaint was not valid.java.lang.Object getLayoutConstraints()
String
or net.miginfocom.layout.LC
depending what was sent in
to the constructor or set with setLayoutConstraints(Object)
.String
or net.miginfocom.layout.LC
depending what was sent
in
to the constructor or set with setLayoutConstraints(Object)
. Never null
.void setColumnConstraints(java.lang.Object constraints)
See the class JavaDocs for information on how this string is formatted.
constraints
- The column layout constraints as a String representation. null
is converted to
""
for storage.java.lang.RuntimeException
- if the constaint was not valid.java.lang.Object getColumnConstraints()
String
or net.miginfocom.layout.AC
.String
or net.miginfocom.layout.LC
depending what was sent
in
to the constructor or set with setLayoutConstraints(Object)
. Never null
.void setRowConstraints(java.lang.Object constraints)
See the class JavaDocs for information on how this string is formatted.
constraints
- The row layout constraints as a String representation. null
is converted to ""
for
storage.java.lang.RuntimeException
- if the constaint was not valid.java.lang.Object getRowConstraints()
setRowConstraints(Object)
or sent into the constructor.
See the class JavaDocs for information on how this string is formatted.
null
.void setConstraintMap(java.util.Map<IControl,java.lang.Object> map)
map
- The map. Will be copied.java.util.Map<IControl,java.lang.Object> getConstraintMap()
null
.boolean isManagingComponent(IControl control)
control
- The component to check. If null
then false
will be returned.Siehe auch Jowidgets Nutzerhandbuch