code: public void setDensity(@IntRange(from = 0) final int newNum) {
          queueEvent(new Runnable() {
              @Override
              public void run() {
                  scene.setDensity(newNum);
              }
          });
      }
docs: {@inheritDoc}