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 UnitValueDimConstraint.alignprivate UnitValueLC.alignXprivate UnitValueLC.alignYstatic final UnitValueIDEUtil.BASELINE_IDENTITYA direct reference to the corresponding value for predefined UnitValues inUnitValue.(package private) static final UnitValueUnitValue.BASELINE_IDENTITYstatic final UnitValueIDEUtil.BOTTOMA direct reference to the corresponding value for predefined UnitValues inUnitValue.(package private) static final UnitValueUnitValue.BOTTOMprivate static UnitValuePlatformDefaults.BUTT_PADDINGprivate static UnitValuePlatformDefaults.BUTT_WIDTHstatic final UnitValueIDEUtil.CENTERA direct reference to the corresponding value for predefined UnitValues inUnitValue.(package private) static final UnitValueUnitValue.CENTERprivate static final UnitValue[]PlatformDefaults.DIALOG_INSstatic final UnitValueIDEUtil.INFA direct reference to the corresponding value for predefined UnitValues inUnitValue.(package private) static final UnitValueUnitValue.INFprivate UnitValue[]LC.insetsstatic final UnitValueIDEUtil.LABELA direct reference to the corresponding value for predefined UnitValues inUnitValue.(package private) static final UnitValueUnitValue.LABELstatic final UnitValueIDEUtil.LEADINGA direct reference to the corresponding value for predefined UnitValues inUnitValue.(package private) static final UnitValueUnitValue.LEADINGstatic final UnitValueIDEUtil.LEFTA direct reference to the corresponding value for predefined UnitValues inUnitValue.(package private) static final UnitValueUnitValue.LEFTprivate static final UnitValuePlatformDefaults.LPX11private static final UnitValuePlatformDefaults.LPX12private static final UnitValuePlatformDefaults.LPX16private static final UnitValuePlatformDefaults.LPX18private static final UnitValuePlatformDefaults.LPX20private static final UnitValuePlatformDefaults.LPX6private static final UnitValuePlatformDefaults.LPX7private static final UnitValuePlatformDefaults.LPY11private static final UnitValuePlatformDefaults.LPY12private static final UnitValuePlatformDefaults.LPY16private static final UnitValuePlatformDefaults.LPY18private static final UnitValuePlatformDefaults.LPY20private static final UnitValuePlatformDefaults.LPY6private static final UnitValuePlatformDefaults.LPY7private final UnitValueBoundSize.maxprivate final UnitValueBoundSize.minprivate UnitValue[]CC.paddingprivate static final UnitValue[]PlatformDefaults.PANEL_INSprivate UnitValue[]CC.posprivate final UnitValueBoundSize.prefstatic final UnitValueIDEUtil.RIGHTA direct reference to the corresponding value for predefined UnitValues inUnitValue.(package private) static final UnitValueUnitValue.RIGHTprivate final UnitValue[]UnitValue.subUnitsstatic final UnitValueIDEUtil.TOPA direct reference to the corresponding value for predefined UnitValues inUnitValue.(package private) static final UnitValueUnitValue.TOPstatic final UnitValueIDEUtil.TRAILINGA direct reference to the corresponding value for predefined UnitValues inUnitValue.(package private) static final UnitValueUnitValue.TRAILINGprivate UnitValue[]static final UnitValueIDEUtil.ZEROA direct reference to the corresponding value for predefined UnitValues inUnitValue.(package private) static final UnitValueUnitValue.ZEROFields in net.miginfocom.layout with type parameters of type UnitValueMethods in net.miginfocom.layout that return UnitValueModifier and TypeMethodDescriptionprivate static UnitValueGrid.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 UnitValueLC.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 UnitValueLC.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 UnitValuePlatformDefaults.getDialogInsets(int side) Returns the default dialog insets depending of the current platform.(package private) static UnitValueReturns the insets for the side.final UnitValue[]LC.getInsets()The insets for the layed out panel.final UnitValueBoundSize.getMax()Returns the maximum size as sent into the constructor.final UnitValueBoundSize.getMin()Returns the minimum size as sent into the constructor.static UnitValuePlatformDefaults.getMinimumButtonPadding()static UnitValuePlatformDefaults.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 UnitValuePlatformDefaults.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 UnitValueBoundSize.getPreferred()Returns the preferred size as sent into the constructor.(package private) final UnitValueBoundSize.getSize(int sizeType) Returns the minimum, preferred or maximum size for this bounded size.final UnitValue[]UnitValue.getSubUnits()(package private) final UnitValueUnitValue.getSubUnitValue(int i) static UnitValuePlatformDefaults.getUnitValueX(String unit) Returns the unit value associated with the unit.static UnitValuePlatformDefaults.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 UnitValueConstraintParser.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-4UnitValues.static UnitValueConstraintParser.parseUnitValue(String s, boolean isHor) Parses a single unit value.private static UnitValueConstraintParser.parseUnitValue(String s, UnitValue emptyReplacement, boolean isHor) Parses a single unit value.static UnitValueConstraintParser.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 voidCC.addLinkTargetIDs(ArrayList<String> targets, UnitValue uv) private static UnitValueGrid.correctAlign(CC cc, UnitValue rowAlign, boolean isHor, boolean fromEnd) (package private) static BoundSizeprivate static Stringprivate static Stringprivate static booleanIDEUtil.isDialogInsets(UnitValue[] insets) private static booleanIDEUtil.isPanelInsets(UnitValue[] insets) booleanDoes the actual layout.booleanDeprecated.private booleanGrid.layoutImpl(int[] bounds, UnitValue alignX, UnitValue alignY, boolean debug, boolean trialRun) Does the actual layout.private voidGrid.layoutInOneDim(int refSize, UnitValue align, boolean isRows, Float[] defaultPushWeights) private static UnitValueConstraintParser.parseUnitValue(String s, UnitValue emptyReplacement, boolean isHor) Parses a single unit value.static UnitValueConstraintParser.parseUnitValueOrAlign(String s, boolean isHor, UnitValue emptyReplacement) Parses a single unit value that may also be an alignment as parsed byConstraintParser.parseAlignKeywords(String, boolean).voidSets the alignment used wither as a default value for sub-entities or for this entity.final voidIf 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 voidIf 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 voidGrid.setCompWrapBounds(ContainerWrapper parent, int[][] sizes, ArrayList<Grid.CompWrap> compWraps, UnitValue rowAlign, int start, int size, boolean isHor, boolean fromEnd) private static voidGrid.setCompWrapBounds(ContainerWrapper parent, int[] allSizes, ArrayList<Grid.CompWrap> compWraps, UnitValue rowAlign, int start, int size, boolean isHor, boolean fromEnd) static voidPlatformDefaults.setDialogInsets(UnitValue top, UnitValue left, UnitValue bottom, UnitValue right) Sets the default insets for a dialog.static voidPlatformDefaults.setGridCellGap(UnitValue x, UnitValue y) Sets gap between two cells in the grid.static voidPlatformDefaults.setIndentGap(UnitValue x, UnitValue y) Sets gap value for components that are "intended".final voidThe insets for the layed out panel.static voidPlatformDefaults.setMinimumButtonPadding(UnitValue padding) static voidPlatformDefaults.setMinimumButtonWidth(UnitValue width) Sets the recommended minimum button width.voidCC.setPadding(UnitValue[] sides) Sets the absolute resizing in the last stage of the layout cycle.static voidPlatformDefaults.setPanelInsets(UnitValue top, UnitValue left, UnitValue bottom, UnitValue right) Sets the default insets for a dialog.static voidPlatformDefaults.setParagraphGap(UnitValue x, UnitValue y) Sets paragraph gap value for components.voidSets absolute positioning of one or more of the edges.static voidPlatformDefaults.setRelatedGap(UnitValue x, UnitValue y) Sets gap value for components that are "related".static voidPlatformDefaults.setUnitValue(String[] unitStrings, UnitValue x, UnitValue y) Sets the unit value associated with a unit string.static voidPlatformDefaults.setUnrelatedGap(UnitValue x, UnitValue y) Sets gap value for components that are "unrelated".voidCC.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;