Class LongSwtParameter

All Implemented Interfaces:
SwtParameter<Long>

public class LongSwtParameter extends BaseSwtParameter<LongSwtParameter, Long>
  • Field Details

    • valueWhenBlank

      private long valueWhenBlank
    • colorHidden

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

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

      private long iMinValue
    • iMaxValue

      private long 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

    • LongSwtParameter

      public LongSwtParameter(org.eclipse.swt.widgets.Composite composite, LongParameterImpl param)
    • LongSwtParameter

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

      public LongSwtParameter(org.eclipse.swt.widgets.Composite composite, String paramID, String labelKey, String suffixLabelKey, long minValue, long maxValue, SwtParameterValueProcessor<LongSwtParameter, Long> valueProcessor)
      Make a long 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