protected function getInlineJavaScript()
    {
        return sprintf(
            "var %s_obj = new SwatProgressBar('%s', %s, %s);",
            $this->id,
            $this->id,
            $this->orientation,
            $this->value
        );
    }