code: public void setRatioButton(boolean down, boolean enabled, String disableMessage) {
  
          m_ratioLock.setDown(down);
          if (enabled) {
              m_ratioLock.enable();
          } else {
              m_ratioLock.disable(disableMessage);
          }
      }
docs: Sets the state of the ratio lock button.<p>
  
  @param down if <code>true</code> button will be set down / lock open
  @param enabled if <code>true</code> button will be enabled
  @param disableMessage message to show for disabled button