Class SashResizer

java.lang.Object
org.pentaho.di.ui.spoon.tree.extension.SashResizer

public class SashResizer extends Object
Handles simplified resizing weights for a SashForm, storing last known sizes and normalizing them to 100.
  • Constructor Details

    • SashResizer

      public SashResizer(int[] iniFormWeights)
      Parameters:
      iniFormWeights - initial weights (may not be normalized)
  • Method Details

    • enable

      public int[] enable(int pos, int[] formWeights)
    • disable

      public int[] disable(int pos, int[] formWeights)
    • weights

      public int[] weights()