Class IntSwtParameter

All Implemented Interfaces:
SwtParameter<Integer>

public class IntSwtParameter extends BaseSwtParameter<IntSwtParameter,Integer>
SWT widget representing an Int Parameter
  • Field Details

    • valueWhenBlank

      private int valueWhenBlank
    • colorHidden

      private org.eclipse.swt.graphics.Color colorHidden
    • lblSuffix

      private org.eclipse.swt.widgets.Label lblSuffix
    • iMinValue

      private int iMinValue
    • iMaxValue

      private int iMaxValue
    • bTriggerOnFocusOut

      private boolean bTriggerOnFocusOut
    • spinner

      private final org.eclipse.swt.widgets.Spinner spinner
    • timedSaveEvent

      private TimerEvent timedSaveEvent
    • timerEventSave

      private TimerEventPerformer timerEventSave
    • isZeroHidden

      private boolean isZeroHidden
    • disableTimedSave

      private boolean disableTimedSave
  • Constructor Details

    • IntSwtParameter

      public IntSwtParameter(org.eclipse.swt.widgets.Composite composite, IntParameterImpl param)
    • IntSwtParameter

      public IntSwtParameter(org.eclipse.swt.widgets.Composite composite, String paramID, String labelKey, String suffixKey, SwtParameterValueProcessor<IntSwtParameter,Integer> valueProcessor)
    • IntSwtParameter

      public IntSwtParameter(org.eclipse.swt.widgets.Composite composite, String paramID, String labelKey, String suffixLabelKey, int minValue, int maxValue, SwtParameterValueProcessor<IntSwtParameter,Integer> valueProcessor)
      Make a int value selecting ui.

      When parent composite is of GridLayout, resulting new widgets will take 2 columns

      Parameters:
      composite - Where widgets will be placed. Composite is not altered
      paramID - ID of the parameter (usually config id)
      labelKey - Messagebundle key for the text shown before text box. null for no label, "" to allocate blank label
      suffixLabelKey - Messagebundle key for text shown after the text box null for no suffix label, "" to allocate blank suffix label
      valueProcessor - null if you want to use COConfigurationManager
  • Method Details