Uses of Class
net.miginfocom.layout.UnitValue
Packages that use UnitValue
-
Uses of UnitValue in net.miginfocom.layout
Fields in net.miginfocom.layout declared as UnitValueModifier and TypeFieldDescriptionprivate UnitValue
DimConstraint.align
private UnitValue
LC.alignX
private UnitValue
LC.alignY
static final UnitValue
IDEUtil.BASELINE_IDENTITY
A direct reference to the corresponding value for predefined UnitValues inUnitValue
.(package private) static final UnitValue
UnitValue.BASELINE_IDENTITY
static final UnitValue
IDEUtil.BOTTOM
A direct reference to the corresponding value for predefined UnitValues inUnitValue
.(package private) static final UnitValue
UnitValue.BOTTOM
private static UnitValue
PlatformDefaults.BUTT_PADDING
private static UnitValue
PlatformDefaults.BUTT_WIDTH
static final UnitValue
IDEUtil.CENTER
A direct reference to the corresponding value for predefined UnitValues inUnitValue
.(package private) static final UnitValue
UnitValue.CENTER
private static final UnitValue[]
PlatformDefaults.DIALOG_INS
static final UnitValue
IDEUtil.INF
A direct reference to the corresponding value for predefined UnitValues inUnitValue
.(package private) static final UnitValue
UnitValue.INF
private UnitValue[]
LC.insets
static final UnitValue
IDEUtil.LABEL
A direct reference to the corresponding value for predefined UnitValues inUnitValue
.(package private) static final UnitValue
UnitValue.LABEL
static final UnitValue
IDEUtil.LEADING
A direct reference to the corresponding value for predefined UnitValues inUnitValue
.(package private) static final UnitValue
UnitValue.LEADING
static final UnitValue
IDEUtil.LEFT
A direct reference to the corresponding value for predefined UnitValues inUnitValue
.(package private) static final UnitValue
UnitValue.LEFT
private static final UnitValue
PlatformDefaults.LPX11
private static final UnitValue
PlatformDefaults.LPX12
private static final UnitValue
PlatformDefaults.LPX16
private static final UnitValue
PlatformDefaults.LPX18
private static final UnitValue
PlatformDefaults.LPX20
private static final UnitValue
PlatformDefaults.LPX6
private static final UnitValue
PlatformDefaults.LPX7
private static final UnitValue
PlatformDefaults.LPY11
private static final UnitValue
PlatformDefaults.LPY12
private static final UnitValue
PlatformDefaults.LPY16
private static final UnitValue
PlatformDefaults.LPY18
private static final UnitValue
PlatformDefaults.LPY20
private static final UnitValue
PlatformDefaults.LPY6
private static final UnitValue
PlatformDefaults.LPY7
private final UnitValue
BoundSize.max
private final UnitValue
BoundSize.min
private UnitValue[]
CC.padding
private static final UnitValue[]
PlatformDefaults.PANEL_INS
private UnitValue[]
CC.pos
private final UnitValue
BoundSize.pref
static final UnitValue
IDEUtil.RIGHT
A direct reference to the corresponding value for predefined UnitValues inUnitValue
.(package private) static final UnitValue
UnitValue.RIGHT
private final UnitValue[]
UnitValue.subUnits
static final UnitValue
IDEUtil.TOP
A direct reference to the corresponding value for predefined UnitValues inUnitValue
.(package private) static final UnitValue
UnitValue.TOP
static final UnitValue
IDEUtil.TRAILING
A direct reference to the corresponding value for predefined UnitValues inUnitValue
.(package private) static final UnitValue
UnitValue.TRAILING
private UnitValue[]
static final UnitValue
IDEUtil.ZERO
A direct reference to the corresponding value for predefined UnitValues inUnitValue
.(package private) static final UnitValue
UnitValue.ZERO
Fields in net.miginfocom.layout with type parameters of type UnitValueMethods in net.miginfocom.layout that return UnitValueModifier and TypeMethodDescriptionprivate static UnitValue
Grid.correctAlign
(CC cc, UnitValue rowAlign, boolean isHor, boolean fromEnd) DimConstraint.getAlign()
Returns the alignment used either as a default value for sub-entities or for this entity.DimConstraint.getAlignOrDefault
(boolean isCols) final UnitValue
LC.getAlignX()
If the laid out components' bounds in total is less than the final size of the container these align values will be used to align the components in the parent.final UnitValue
LC.getAlignY()
If the laid out components' bounds in total is less than the final size of the container these align values will be used to align the components in the parent.static UnitValue
PlatformDefaults.getDialogInsets
(int side) Returns the default dialog insets depending of the current platform.(package private) static UnitValue
Returns the insets for the side.final UnitValue[]
LC.getInsets()
The insets for the layed out panel.final UnitValue
BoundSize.getMax()
Returns the maximum size as sent into the constructor.final UnitValue
BoundSize.getMin()
Returns the minimum size as sent into the constructor.static UnitValue
PlatformDefaults.getMinimumButtonPadding()
static UnitValue
PlatformDefaults.getMinimumButtonWidth()
Returns the recommended minimum button width depending on the current set platform.CC.getPadding()
Returns the absolute resizing in the last stage of the layout cycle.static UnitValue
PlatformDefaults.getPanelInsets
(int side) Returns the default panel insets depending of the current platform.CC.getPos()
Returns the absolute positioning of one or more of the edges.private UnitValue[]
Grid.getPos
(ComponentWrapper cw, CC cc) LayoutCallback.getPosition
(ComponentWrapper comp) Returns a position similar to the "pos" the component constraint.final UnitValue
BoundSize.getPreferred()
Returns the preferred size as sent into the constructor.(package private) final UnitValue
BoundSize.getSize
(int sizeType) Returns the minimum, preferred or maximum size for this bounded size.final UnitValue[]
UnitValue.getSubUnits()
(package private) final UnitValue
UnitValue.getSubUnitValue
(int i) static UnitValue
PlatformDefaults.getUnitValueX
(String unit) Returns the unit value associated with the unit.static UnitValue
PlatformDefaults.getUnitValueY
(String unit) Returns the unit value associated with the unit.CC.getVisualPadding()
Returns the visual padding used when laying out this Component.(package private) static UnitValue
ConstraintParser.parseAlignKeywords
(String s, boolean isHor) Parses alignment keywords and returns the appropriateUnitValue
.static UnitValue[]
ConstraintParser.parseInsets
(String s, boolean acceptPanel) Parses insets which consists of 1-4UnitValue
s.static UnitValue
ConstraintParser.parseUnitValue
(String s, boolean isHor) Parses a single unit value.private static UnitValue
ConstraintParser.parseUnitValue
(String s, UnitValue emptyReplacement, boolean isHor) Parses a single unit value.static UnitValue
ConstraintParser.parseUnitValueOrAlign
(String s, boolean isHor, UnitValue emptyReplacement) Parses a single unit value that may also be an alignment as parsed byConstraintParser.parseAlignKeywords(String, boolean)
.Methods in net.miginfocom.layout with parameters of type UnitValueModifier and TypeMethodDescriptionprivate void
CC.addLinkTargetIDs
(ArrayList<String> targets, UnitValue uv) private static UnitValue
Grid.correctAlign
(CC cc, UnitValue rowAlign, boolean isHor, boolean fromEnd) (package private) static BoundSize
private static String
private static String
private static boolean
IDEUtil.isDialogInsets
(UnitValue[] insets) private static boolean
IDEUtil.isPanelInsets
(UnitValue[] insets) boolean
Does the actual layout.boolean
Deprecated.private boolean
Grid.layoutImpl
(int[] bounds, UnitValue alignX, UnitValue alignY, boolean debug, boolean trialRun) Does the actual layout.private void
Grid.layoutInOneDim
(int refSize, UnitValue align, boolean isRows, Float[] defaultPushWeights) private static UnitValue
ConstraintParser.parseUnitValue
(String s, UnitValue emptyReplacement, boolean isHor) Parses a single unit value.static UnitValue
ConstraintParser.parseUnitValueOrAlign
(String s, boolean isHor, UnitValue emptyReplacement) Parses a single unit value that may also be an alignment as parsed byConstraintParser.parseAlignKeywords(String, boolean)
.void
Sets the alignment used wither as a default value for sub-entities or for this entity.final void
If the laid out components' bounds in total is less than the final size of the container these align values will be used to align the components in the parent.final void
If the laid out components' bounds in total is less than the final size of the container these align values will be used to align the components in the parent.private static void
Grid.setCompWrapBounds
(ContainerWrapper parent, int[][] sizes, ArrayList<Grid.CompWrap> compWraps, UnitValue rowAlign, int start, int size, boolean isHor, boolean fromEnd) private static void
Grid.setCompWrapBounds
(ContainerWrapper parent, int[] allSizes, ArrayList<Grid.CompWrap> compWraps, UnitValue rowAlign, int start, int size, boolean isHor, boolean fromEnd) static void
PlatformDefaults.setDialogInsets
(UnitValue top, UnitValue left, UnitValue bottom, UnitValue right) Sets the default insets for a dialog.static void
PlatformDefaults.setGridCellGap
(UnitValue x, UnitValue y) Sets gap between two cells in the grid.static void
PlatformDefaults.setIndentGap
(UnitValue x, UnitValue y) Sets gap value for components that are "intended".final void
The insets for the layed out panel.static void
PlatformDefaults.setMinimumButtonPadding
(UnitValue padding) static void
PlatformDefaults.setMinimumButtonWidth
(UnitValue width) Sets the recommended minimum button width.void
CC.setPadding
(UnitValue[] sides) Sets the absolute resizing in the last stage of the layout cycle.static void
PlatformDefaults.setPanelInsets
(UnitValue top, UnitValue left, UnitValue bottom, UnitValue right) Sets the default insets for a dialog.static void
PlatformDefaults.setParagraphGap
(UnitValue x, UnitValue y) Sets paragraph gap value for components.void
Sets absolute positioning of one or more of the edges.static void
PlatformDefaults.setRelatedGap
(UnitValue x, UnitValue y) Sets gap value for components that are "related".static void
PlatformDefaults.setUnitValue
(String[] unitStrings, UnitValue x, UnitValue y) Sets the unit value associated with a unit string.static void
PlatformDefaults.setUnrelatedGap
(UnitValue x, UnitValue y) Sets gap value for components that are "unrelated".void
CC.setVisualPadding
(UnitValue[] sides) Sets the visual padding used when laying out this Component.Constructors in net.miginfocom.layout with parameters of type UnitValue
ComponentWrapper.getContentBias()
instead;