| 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.LayeredLayoutConstraint.Inset |
LayeredLayout.LayeredLayoutConstraint.bottom()
Gets the bottom inset.
|
LayeredLayout.LayeredLayoutConstraint.Inset |
LayeredLayout.LayeredLayoutConstraint.Inset.bottom()
Gets the bottom inset in this constraint.
|
LayeredLayout.LayeredLayoutConstraint.Inset |
LayeredLayout.LayeredLayoutConstraint.Inset.changeReference(Container parent,
Component newRef,
float pos)
Changes the reference component, while updating the value to remain in the same
absolute position.
|
LayeredLayout.LayeredLayoutConstraint.Inset |
LayeredLayout.LayeredLayoutConstraint.Inset.changeUnits(byte unit)
Deprecated.
|
LayeredLayout.LayeredLayoutConstraint.Inset |
LayeredLayout.LayeredLayoutConstraint.Inset.changeUnits(byte unit,
Component cmp)
Deprecated.
|
LayeredLayout.LayeredLayoutConstraint.Inset |
LayeredLayout.LayeredLayoutConstraint.Inset.changeUnitsTo(byte unit,
Container parent)
Changes the units of this inset, and updates the value to remain
the same as the current value.
|
LayeredLayout.LayeredLayoutConstraint.Inset |
LayeredLayout.LayeredLayoutConstraint.Inset.changeUnitsTo(byte unit,
Rectangle refBox) |
LayeredLayout.LayeredLayoutConstraint.Inset |
LayeredLayout.LayeredLayoutConstraint.Inset.copy()
Creates a copy of this inset.
|
LayeredLayout.LayeredLayoutConstraint.Inset |
LayeredLayout.LayeredLayoutConstraint.Inset.copyTo(Component cmp)
Copies this inset into the corresponding inset of the provided component.
|
LayeredLayout.LayeredLayoutConstraint.Inset |
LayeredLayout.LayeredLayoutConstraint.Inset.copyTo(LayeredLayout.LayeredLayoutConstraint.Inset dest)
Copies this inset into another inset.
|
LayeredLayout.LayeredLayoutConstraint.Inset |
LayeredLayout.LayeredLayoutConstraint.Inset.copyTo(LayeredLayout.LayeredLayoutConstraint dest)
Copies this inset to the corresponding inset of the provided constraint.
|
LayeredLayout.LayeredLayoutConstraint.Inset |
LayeredLayout.getInset(Component cmp,
int side)
Gets an
LayeredLayout.LayeredLayoutConstraint.Inset associated with the provided component |
LayeredLayout.LayeredLayoutConstraint.Inset |
LayeredLayout.LayeredLayoutConstraint.getInset(int inset)
Gets the inset for a particular side.
|
LayeredLayout.LayeredLayoutConstraint.Inset |
LayeredLayout.LayeredLayoutConstraint.Inset.getOppositeInset()
Gets the opposite inset of this inset within its parent constraint.
|
LayeredLayout.LayeredLayoutConstraint.Inset |
LayeredLayout.LayeredLayoutConstraint.left()
Gets the left inset.
|
LayeredLayout.LayeredLayoutConstraint.Inset |
LayeredLayout.LayeredLayoutConstraint.Inset.left()
Gets the left inset in this constraint.
|
LayeredLayout.LayeredLayoutConstraint.Inset |
LayeredLayout.LayeredLayoutConstraint.Inset.referenceComponent(Component cmp)
Sets the reference component for this inset.
|
LayeredLayout.LayeredLayoutConstraint.Inset |
LayeredLayout.LayeredLayoutConstraint.Inset.referencePosition(float position)
Sets the reference position for this inset.
|
LayeredLayout.LayeredLayoutConstraint.Inset |
LayeredLayout.LayeredLayoutConstraint.right()
Gets the right inset.
|
LayeredLayout.LayeredLayoutConstraint.Inset |
LayeredLayout.LayeredLayoutConstraint.Inset.right()
Gets the right inset in the constraint.
|
LayeredLayout.LayeredLayoutConstraint.Inset |
LayeredLayout.LayeredLayoutConstraint.Inset.setAuto()
Sets the units to "auto" (i.e.
|
LayeredLayout.LayeredLayoutConstraint.Inset |
LayeredLayout.LayeredLayoutConstraint.Inset.setDips()
Sets the units to "dips" (millimetres).
|
LayeredLayout.LayeredLayoutConstraint.Inset |
LayeredLayout.LayeredLayoutConstraint.Inset.setDips(float dips)
Sets the inset value to the provided dips/millimetre value.
|
LayeredLayout.LayeredLayoutConstraint.Inset |
LayeredLayout.LayeredLayoutConstraint.Inset.setPercent()
Sets the units to percent.
|
LayeredLayout.LayeredLayoutConstraint.Inset |
LayeredLayout.LayeredLayoutConstraint.Inset.setPercent(float percent)
Sets the inset value in percentage.
|
LayeredLayout.LayeredLayoutConstraint.Inset |
LayeredLayout.LayeredLayoutConstraint.Inset.setPixels()
Sets the units to pixels.
|
LayeredLayout.LayeredLayoutConstraint.Inset |
LayeredLayout.LayeredLayoutConstraint.Inset.setPixels(int px)
Sets the inset value to the provided number of pixels.
|
LayeredLayout.LayeredLayoutConstraint.Inset |
LayeredLayout.LayeredLayoutConstraint.Inset.setValueAsString(String value)
Sets the value of this inset as a string.
|
LayeredLayout.LayeredLayoutConstraint.Inset |
LayeredLayout.LayeredLayoutConstraint.top()
Gets the top inset
|
LayeredLayout.LayeredLayoutConstraint.Inset |
LayeredLayout.LayeredLayoutConstraint.Inset.top()
Gets the top inset in this constraint.
|
LayeredLayout.LayeredLayoutConstraint.Inset |
LayeredLayout.LayeredLayoutConstraint.Inset.translateMM(float delta,
boolean preferMM,
Container parent)
Translates the inset by delta millimetres.
|
LayeredLayout.LayeredLayoutConstraint.Inset |
LayeredLayout.LayeredLayoutConstraint.Inset.translatePixels(int delta,
boolean preferMM,
Container parent)
Translates the inset by delta pixels.
|
LayeredLayout.LayeredLayoutConstraint.Inset |
LayeredLayout.LayeredLayoutConstraint.Inset.unit(byte unit)
Sets the unit for this constraint.
|
LayeredLayout.LayeredLayoutConstraint.Inset |
LayeredLayout.LayeredLayoutConstraint.Inset.value(float value)
Sets the value of this inset.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<LayeredLayout.LayeredLayoutConstraint.Inset> |
LayeredLayout.LayeredLayoutConstraint.getFixedInsets()
Gets the set of insets on this constraint that are fixed.
|
Collection<LayeredLayout.LayeredLayoutConstraint.Inset> |
LayeredLayout.LayeredLayoutConstraint.getFlexibleInsets()
Gets the set of insets in this constraint that are flexible.
|
| Modifier and Type | Method and Description |
|---|---|
LayeredLayout.LayeredLayoutConstraint.Inset |
LayeredLayout.LayeredLayoutConstraint.Inset.copyTo(LayeredLayout.LayeredLayoutConstraint.Inset dest)
Copies this inset into another inset.
|
Copyright © 2021. All rights reserved.