Codota Logo
FormLayout$PreferredHeightMeasure.<init>
Code IndexAdd Codota to your IDE (free)

How to use
com.jgoodies.forms.layout.FormLayout$PreferredHeightMeasure
constructor

Best Java code snippets using com.jgoodies.forms.layout.FormLayout$PreferredHeightMeasure.<init> (Showing top 3 results out of 315)

  • Common ways to obtain FormLayout$PreferredHeightMeasure
private void myMethod () {
FormLayout$PreferredHeightMeasure f =
  • Codota IconFormLayout.ComponentSizeCache formLayoutComponentSizeCache;new PreferredHeightMeasure(formLayoutComponentSizeCache)
  • Smart code suggestions by Codota
}
origin: com.jgoodies/forms

/**
 * Constructs a FormLayout using the given column and row specifications.
 *
 * @param colSpecs    an array of column specifications.
 * @param rowSpecs    an array of row specifications.
 * @throws NullPointerException if colSpecs or rowSpecs is {@code null}
 */
public FormLayout(ColumnSpec[] colSpecs, RowSpec[] rowSpecs) {
  if (colSpecs == null)
    throw new NullPointerException("The column specifications must not be null.");
  if (rowSpecs == null)
    throw new NullPointerException("The row specifications must not be null.");
  this.colSpecs  = new ArrayList(Arrays.asList(colSpecs));
  this.rowSpecs  = new ArrayList(Arrays.asList(rowSpecs));
  colGroupIndices = new int[][]{};
  rowGroupIndices = new int[][]{};
  int initialCapacity = colSpecs.length * rowSpecs.length / 4;
  constraintMap       = new HashMap(initialCapacity);
  componentSizeCache  = new ComponentSizeCache(initialCapacity);
  minimumWidthMeasure    = new MinimumWidthMeasure(componentSizeCache);
  minimumHeightMeasure   = new MinimumHeightMeasure(componentSizeCache);
  preferredWidthMeasure  = new PreferredWidthMeasure(componentSizeCache);
  preferredHeightMeasure = new PreferredHeightMeasure(componentSizeCache);
}
origin: net.java.abeille/abeille

/**
 * Constructs an instance of <code>FormLayout</code> using the given
 * column and row specifications.
 * 
 * @param colSpecs
 *            an array of column specifications.
 * @param rowSpecs
 *            an array of row specifications.
 * @throws NullPointerException
 *             if colSpecs or rowSpecs is null
 */
public FormLayout(ColumnSpec[] colSpecs, RowSpec[] rowSpecs) {
  if (colSpecs == null)
    throw new NullPointerException("The column specifications must not be null.");
  if (rowSpecs == null)
    throw new NullPointerException("The row specifications must not be null.");
  this.colSpecs = new ArrayList(Arrays.asList(colSpecs));
  this.rowSpecs = new ArrayList(Arrays.asList(rowSpecs));
  colGroupIndices = new int[][] {};
  rowGroupIndices = new int[][] {};
  int initialCapacity = colSpecs.length * rowSpecs.length / 4;
  constraintMap = new HashMap(initialCapacity);
  componentSizeCache = new ComponentSizeCache(initialCapacity);
  minimumWidthMeasure = new MinimumWidthMeasure(componentSizeCache);
  minimumHeightMeasure = new MinimumHeightMeasure(componentSizeCache);
  preferredWidthMeasure = new PreferredWidthMeasure(componentSizeCache);
  preferredHeightMeasure = new PreferredHeightMeasure(componentSizeCache);
}
origin: com.jgoodies/jgoodiesforms

/**
 * Constructs a FormLayout using the given column and row specifications.
 *
 * @param colSpecs    an array of column specifications.
 * @param rowSpecs    an array of row specifications.
 * @throws NullPointerException if {@code colSpecs} or {@code rowSpecs}
 *     is {@code null}
 */
public FormLayout(ColumnSpec[] colSpecs, RowSpec[] rowSpecs) {
  checkNotNull(colSpecs, "The column specifications must not be null.");
  checkNotNull(rowSpecs, "The row specifications must not be null.");
  this.colSpecs  = new ArrayList<ColumnSpec>(Arrays.asList(colSpecs));
  this.rowSpecs  = new ArrayList<RowSpec>(Arrays.asList(rowSpecs));
  colGroupIndices = new int[][]{};
  rowGroupIndices = new int[][]{};
  int initialCapacity = colSpecs.length * rowSpecs.length / 4;
  constraintMap       = new HashMap<Component, CellConstraints>(initialCapacity);
  componentSizeCache  = new ComponentSizeCache(initialCapacity);
  minimumWidthMeasure    = new MinimumWidthMeasure(componentSizeCache);
  minimumHeightMeasure   = new MinimumHeightMeasure(componentSizeCache);
  preferredWidthMeasure  = new PreferredWidthMeasure(componentSizeCache);
  preferredHeightMeasure = new PreferredHeightMeasure(componentSizeCache);
}
com.jgoodies.forms.layoutFormLayout$PreferredHeightMeasure<init>

Popular methods of FormLayout$PreferredHeightMeasure

    Popular in Java

    • Parsing JSON documents to java classes using gson
    • setContentView (Activity)
    • getResourceAsStream (ClassLoader)
      Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
    • notifyDataSetChanged (ArrayAdapter)
    • ObjectMapper (com.fasterxml.jackson.databind)
      This mapper (or, data binder, or codec) provides functionality for converting between Java objects (
    • RandomAccessFile (java.io)
      Allows reading from and writing to a file in a random-access manner. This is different from the uni-
    • System (java.lang)
      Provides access to system-related information and resources including standard input and output. Ena
    • MessageDigest (java.security)
      Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
    • ResultSet (java.sql)
      An interface for an object which represents a database table entry, returned as the result of the qu
    • Manifest (java.util.jar)
      The Manifest class is used to obtain attribute information for a JarFile and its entries.
    Codota Logo
    • Products

      Search for Java codeSearch for JavaScript codeEnterprise
    • IDE Plugins

      IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
    • Company

      About UsContact UsCareers
    • Resources

      FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
    Get Codota for your IDE now