/**
  * Interval property setter method: sets the interval between timer events.
  *
  * @param interval timer interval in ms
  */
 @DesignerProperty(
     editorType = DesignerProperty.PROPERTY_TYPE_NON_NEGATIVE_INTEGER,
     defaultValue = DEFAULT_INTERVAL + "")
 @SimpleProperty
 public void TimerInterval(int interval) {
   timerInternal.Interval(interval);
 }
 /**
  * Enabled property setter method: starts or stops the timer.
  *
  * @param enabled {@code true} starts the timer, {@code false} stops it
  */
 @DesignerProperty(
     editorType = DesignerProperty.PROPERTY_TYPE_BOOLEAN,
     defaultValue = DEFAULT_ENABLED ? "True" : "False")
 @SimpleProperty
 public void TimerEnabled(boolean enabled) {
   timerInternal.Enabled(enabled);
 }
 /**
  * Interval property getter method.
  *
  * @return timer interval in ms
  */
 @SimpleProperty(category = PropertyCategory.BEHAVIOR)
 public int TimerInterval() {
   return timerInternal.Interval();
 }
 @Override
 public void onDelete() {
   timerInternal.Enabled(false);
 }
 /**
  * Enabled property getter method.
  *
  * @return {@code true} indicates a running timer, {@code false} a stopped timer
  */
 @SimpleProperty(category = PropertyCategory.BEHAVIOR)
 public boolean TimerEnabled() {
   return timerInternal.Enabled();
 }