Class PWSpinner

java.lang.Object
org.eclipse.nebula.widgets.opal.preferencewindow.widgets.PWWidget
org.eclipse.nebula.widgets.opal.preferencewindow.widgets.PWSpinner

public class PWSpinner
extends PWWidget
Instances of this class are spinners
  • Constructor Details

    • PWSpinner

      public PWSpinner​(java.lang.String label, java.lang.String propertyKey, int min, int max)
      Constructor
      Parameters:
      label - associated label
      propertyKey - associated key
      min - minimum value
      max - maximum value
  • Method Details

    • build

      public org.eclipse.swt.widgets.Control build​(org.eclipse.swt.widgets.Composite parent)
      Description copied from class: PWWidget
      Build the widget
      Specified by:
      build in class PWWidget
      Parameters:
      parent - parent composite
      Returns:
      the created control
    • check

      public void check()
      Description copied from class: PWWidget
      Check if the property can be binded to the widget
      Specified by:
      check in class PWWidget