| Package | Description |
|---|---|
| com.codename1.ui.layouts |
Layout managers allow a
Container to
arrange its components by a set of rules that adapt to specific
densities (ppi - pixels per inch). |
| Modifier and Type | Method and Description |
|---|---|
LayeredLayout |
LayeredLayout.setInsetBottom(Component cmp,
String inset)
Sets the top inset for this component to the prescribed value.
|
LayeredLayout |
LayeredLayout.setInsetLeft(Component cmp,
String inset)
Sets the left inset for this component to the prescribed value.
|
LayeredLayout |
LayeredLayout.setInsetRight(Component cmp,
String inset)
Sets the right inset for this component to the prescribed value.
|
LayeredLayout |
LayeredLayout.setInsets(Component cmp,
String insets)
Sets the insets for the component cmp to the values specified in insets.
|
LayeredLayout |
LayeredLayout.setInsetTop(Component cmp,
String inset)
Sets the top inset for this component to the prescribed value.
|
LayeredLayout |
LayeredLayout.setPercentInsetAnchorHorizontal(Component cmp,
float anchor)
|
LayeredLayout |
LayeredLayout.setPercentInsetAnchorVertical(Component cmp,
float anchor)
|
LayeredLayout |
LayeredLayout.setReferenceComponentBottom(Component cmp,
Component referenceComponent)
Sets the reference component for the bottom inset of the given component.
|
LayeredLayout |
LayeredLayout.setReferenceComponentBottom(Component cmp,
Component referenceComponent,
float position)
Sets the reference component for the bottom inset of the given component.
|
LayeredLayout |
LayeredLayout.setReferenceComponentLeft(Component cmp,
Component referenceComponent)
Sets the reference component for the left inset of the given component.
|
LayeredLayout |
LayeredLayout.setReferenceComponentLeft(Component cmp,
Component referenceComponent,
float position)
Sets the reference component for the left inset of the given component.
|
LayeredLayout |
LayeredLayout.setReferenceComponentRight(Component cmp,
Component referenceComponent)
Sets the reference component for the right inset of the given component.
|
LayeredLayout |
LayeredLayout.setReferenceComponentRight(Component cmp,
Component referenceComponent,
float position)
Sets the reference component for the right inset of the given component.
|
LayeredLayout |
LayeredLayout.setReferenceComponents(Component cmp,
Component... referenceComponents)
Sets the reference components for the insets of cmp.
|
LayeredLayout |
LayeredLayout.setReferenceComponents(Component cmp,
String refs)
Sets the reference components for this component as a string of 1 to 4 component indices separated by spaces.
|
LayeredLayout |
LayeredLayout.setReferenceComponentTop(Component cmp,
Component referenceComponent)
Sets the reference component for the top inset of the given component.
|
LayeredLayout |
LayeredLayout.setReferenceComponentTop(Component cmp,
Component referenceComponent,
float position)
Sets the reference component for the top inset of the given component.
|
LayeredLayout |
LayeredLayout.setReferencePositionBottom(Component cmp,
float position)
Sets the bottom inset reference position.
|
LayeredLayout |
LayeredLayout.setReferencePositionLeft(Component cmp,
float position)
Sets the left inset reference position.
|
LayeredLayout |
LayeredLayout.setReferencePositionRight(Component cmp,
float position)
Sets the right inset reference position.
|
LayeredLayout |
LayeredLayout.setReferencePositions(Component cmp,
float... referencePositions)
Sets the reference positions for reference components.
|
LayeredLayout |
LayeredLayout.setReferencePositions(Component cmp,
String positions)
Sets the reference positions for reference components.
|
LayeredLayout |
LayeredLayout.setReferencePositionTop(Component cmp,
float position)
Sets the top inset reference position.
|
Copyright © 2021. All rights reserved.