Uses of Class
net.sf.jguiraffe.gui.layout.CellConstraints
-
Packages that use CellConstraints Package Description net.sf.jguiraffe.gui.builder.components.tags A package with tag handler classes for creating GUI components.net.sf.jguiraffe.gui.layout This package contains the platform-independent base classes and helper classes for the layout managers provided by the JGUIraffe library. -
-
Uses of CellConstraints in net.sf.jguiraffe.gui.builder.components.tags
Methods in net.sf.jguiraffe.gui.builder.components.tags that return CellConstraints Modifier and Type Method Description protected abstract CellConstraintsPercentCellConstraintsTag. createConstraints()Creates the constraints object for the string defined by the user.protected CellConstraintsPercentColConstraintsTag. createConstraints()Creates the constraints object.protected CellConstraintsPercentRowConstraintsTag. createConstraints()Creates the constraints object.Methods in net.sf.jguiraffe.gui.builder.components.tags that return types with arguments of type CellConstraints Modifier and Type Method Description Collection<CellConstraints>PercentLayoutTag. getColConstraints()Returns the collection with the column constraints.Collection<CellConstraints>PercentLayoutTag. getRowConstraints()Returns the collection with the row constraints.Methods in net.sf.jguiraffe.gui.builder.components.tags with parameters of type CellConstraints Modifier and Type Method Description voidPercentLayoutTag. addColConstraints(CellConstraints c)Adds the specified constraints object to the list of column constraints.protected abstract voidPercentCellConstraintsTag. addConstraints(PercentLayoutTag parent, CellConstraints c)Passes the newly created constraints object to the corresponding percent layout tag.protected voidPercentColConstraintsTag. addConstraints(PercentLayoutTag parent, CellConstraints c)Adds the new constraints to the percent layout tag.protected voidPercentRowConstraintsTag. addConstraints(PercentLayoutTag parent, CellConstraints c)Adds the new constraints to the percent layout tag.voidPercentLayoutTag. addRowConstraints(CellConstraints c)Adds the specified constraints object to the list of row constraints. -
Uses of CellConstraints in net.sf.jguiraffe.gui.layout
Methods in net.sf.jguiraffe.gui.layout that return CellConstraints Modifier and Type Method Description protected CellConstraintsPercentLayoutBase. constraintsFor(PercentData pd, boolean vert)Returns the constraints object for the specified percent data and the given orientation.CellConstraintsCellConstraints.Builder. create()Returns aCellConstraintsinstance for the properties defined so far.CellConstraintsCellConstraints.Builder. fromString(String spec)Parses a string with the specification of aCellConstraintsobject and returns a corresponding instance.CellConstraints[]PercentLayoutBase. getAllColumnConstraints()Returns an array with the current column constraints.CellConstraints[]PercentLayoutBase. getAllRowConstraints()Returns an array with the current row constraints.CellConstraintsPercentData. getColumnConstraints()Returns the associated constraints object for the column.CellConstraintsPercentLayoutBase. getColumnConstraints(int idx)Returns the column constraints object for the column with the given index.CellConstraintsPercentData. getConstraints(boolean vert)A convenience method for determining the cell constraints object for the specified orientation.protected CellConstraints[]PercentLayoutBase. getInternalAllColumnConstraints()Returns the internal array of all cell constraints objects for the layout's column.protected CellConstraints[]PercentLayoutBase. getInternalAllRowConstraints()Returns the internal array of all cell constraints objects for the layout's rows.CellConstraintsPercentData. getRowConstraints()Returns the associated constraints object for the row.CellConstraintsPercentLayoutBase. getRowConstraints(int idx)Returns the row constraints object for the row with the given index.Methods in net.sf.jguiraffe.gui.layout with parameters of type CellConstraints Modifier and Type Method Description protected voidPercentLayoutBase. applyWeightFactors(int[] sizes, int containerSize, CellConstraints[] constraints, int totalWeight)Processes the cells with a weight factor larger than 0.protected int[]PercentLayoutBase. calcCellSizes(CellConstraints[] constraints, int count, Object container, boolean minimum, boolean vert)Calculates the minimum size of either the columns or the rows in the layout.protected int[]PercentLayoutBase. calcCellSizesWithGroups(CellConstraints[] constraints, int count, Collection<CellGroup> cellGroups, Object container, boolean minimum, boolean vert)Calculates the sizes of all columns or rows.protected intPercentLayoutBase. calcComponentSizes(CellConstraints constraints, int index, int count, Object container, boolean minimum, boolean vert)Calculates the size of either a column or a row in the layout.int[]PercentLayoutBase. calcSizes(CellConstraints[] constraints, int count, Collection<CellGroup> cellGroups, Object container, int containerSize, boolean vert)Calculates the final cell sizes in one direction (horizontal or vertical).protected intPercentLayoutBase. calcTotalWeight(CellConstraints[] constraints)Helper method for calculating the total weight factor.protected voidPercentLayoutBase. handleMultiSpans(int[] sizes, CellConstraints[] constraints, List<net.sf.jguiraffe.gui.layout.PercentLayoutBase.CellData> components, Object container, boolean minimum, boolean vert)Checks the sizes of components that span multiple cells.voidPercentLayoutBase. setColumnConstraints(int idx, CellConstraints cc)Sets the column constraints object for the column with the given index.voidPercentLayoutBase. setRowConstraints(int idx, CellConstraints cc)Sets the row constraints object for the row with the given index.PercentData.BuilderPercentData.Builder. withColumnConstraints(CellConstraints cc)Sets aCellConstraintsreference for the column for thePercentDatainstance to be created.PercentData.BuilderPercentData.Builder. withRowConstraints(CellConstraints cc)Sets aCellConstraintsreference for the row for thePercentDatainstance to be created.Method parameters in net.sf.jguiraffe.gui.layout with type arguments of type CellConstraints Modifier and Type Method Description protected voidPercentLayoutBase. initFromCollections(Collection<? extends CellConstraints> colConstr, Collection<? extends CellConstraints> rowConstr)Initializes this instance from the given collections withCellConstraintsobjects.Constructor parameters in net.sf.jguiraffe.gui.layout with type arguments of type CellConstraints Constructor Description PercentLayout(Collection<? extends CellConstraints> colConstr, Collection<? extends CellConstraints> rowConstr)Creates a new instance ofPercentLayoutand initializes it from the specified collections withCellConstraintsobjects.PercentLayoutBase(Collection<? extends CellConstraints> colConstr, Collection<? extends CellConstraints> rowConstr)Creates a new instance ofPercentLayoutBaseand initializes it.
-