< prev index next >

modules/javafx.controls/src/main/java/javafx/scene/control/ResizeFeaturesBase.java

Print this page




  39 
  40   /**
  41    * Creates an instance of this class, with the provided TableColumnBase and
  42    * delta values being set and stored in this immutable instance.
  43    *
  44    * @param column The column upon which the resize is occurring, or null
  45    *      if this ResizeFeatures instance is being created as a result of a
  46    *      resize operation.
  47    * @param delta The amount of horizontal space added or removed in the
  48    *      resize operation.
  49    */
  50   public ResizeFeaturesBase(@NamedArg("column") TableColumnBase<S,?> column, @NamedArg("delta") Double delta) {
  51       this.column = column;
  52       this.delta = delta;
  53   }
  54 
  55   /**
  56    * Returns the column upon which the resize is occurring, or null
  57    * if this ResizeFeatures instance was created as a result of a
  58    * resize operation.

  59    */
  60   public TableColumnBase<S,?> getColumn() { return column; }
  61 
  62   /**
  63    * Returns the amount of horizontal space added or removed in the
  64    * resize operation.


  65    */
  66   public Double getDelta() { return delta; }
  67 }


  39 
  40   /**
  41    * Creates an instance of this class, with the provided TableColumnBase and
  42    * delta values being set and stored in this immutable instance.
  43    *
  44    * @param column The column upon which the resize is occurring, or null
  45    *      if this ResizeFeatures instance is being created as a result of a
  46    *      resize operation.
  47    * @param delta The amount of horizontal space added or removed in the
  48    *      resize operation.
  49    */
  50   public ResizeFeaturesBase(@NamedArg("column") TableColumnBase<S,?> column, @NamedArg("delta") Double delta) {
  51       this.column = column;
  52       this.delta = delta;
  53   }
  54 
  55   /**
  56    * Returns the column upon which the resize is occurring, or null
  57    * if this ResizeFeatures instance was created as a result of a
  58    * resize operation.
  59    * @return the column upon which the resize is occurring
  60    */
  61   public TableColumnBase<S,?> getColumn() { return column; }
  62 
  63   /**
  64    * Returns the amount of horizontal space added or removed in the
  65    * resize operation.
  66    * @return the amount of horizontal space added or removed in the
  67    * resize operation
  68    */
  69   public Double getDelta() { return delta; }
  70 }
< prev index next >