public function CreateNavButtons()
 {
     if (!$this->blnCreateNavButtonsCalled) {
         $cssClass = MJaxApplication::CssClass('cmdLineButton');
         $this->AddCssClass(MJaxApplication::CssClass('caseStudyPanel'));
         $this->btnNext = new MJaxLinkButton($this, $this->strControlId . '_btnNext');
         $objPlugin = new MJaxScrollToPlugin($this->objForm, '#' . $this->objForm->GetCaseStudyIndex($this->strControlId, +1), array(), 1200);
         $objPlugin->SetTargetControl($this->objForm->MainWindow);
         $objPlugin->UseFirstChild = true;
         $this->btnNext->AddAction(new MJaxClickEvent(), new MJaxPluginAction($objPlugin));
         $this->btnNext->Text = "next/";
         $this->btnNext->ActionParameter = $this->strControlId;
         $this->btnNext->AddCssClass($cssClass);
         $this->btnPrev = new MJaxLinkButton($this, $this->strControlId . '_btnPrev');
         $objPlugin = new MJaxScrollToPlugin($this->objForm, '#' . $this->objForm->GetCaseStudyIndex($this->strControlId, -1), array(), 1200);
         $objPlugin->SetTargetControl($this->objForm->MainWindow);
         $objPlugin->UseFirstChild = true;
         $this->btnPrev->AddAction(new MJaxClickEvent(), new MJaxPluginAction($objPlugin));
         $this->btnPrev->Text = "previous/";
         $this->btnPrev->ActionParameter = $this->strControlId;
         $this->btnPrev->AddCssClass($cssClass);
         $this->blnCreateNavButtonsCalled = true;
     } else {
         throw new QCallerException("Function CreateNavButtons has already been called");
     }
 }
 public function __construct(MJaxTouchPage $objParentControl, $strControlId = null)
 {
     parent::__construct($objParentControl, $strControlId);
     $this->objForm->RegisterScreen($this);
     $this->AddCssClass(MJaxApplication::CssClass(MJaxTouchCssClass::MJaxTouchForm));
     $this->Attr('action', $_SERVER[MLCServer::REQUEST_URI]);
     $this->strTransition = $this->objForm->DefaultTransition;
 }
 public function __construct($objParentControl, $strControlId = null, $intIncriment = 400)
 {
     parent::__construct($objParentControl, $strControlId);
     $this->intIncriment = $intIncriment;
     $cssClass = MJaxApplication::CssClass(MJaxCssClass::SCROLLBAR_HOLDER);
     $this->AddCssClass($cssClass);
     $cssClass = MJaxApplication::CssClass(MJaxCssClass::SCROLLBAR_SLIDER);
     $this->pnlSlider = new MJaxPanel($this, 'pnlSlider' . $this->strControlId);
     $this->pnlSlider->AddCssClass($cssClass);
 }
 public function __construct($objParentControl, $strControlId = null)
 {
     parent::__construct($objParentControl, $strControlId);
     $this->AddCssClass(MJaxApplication::CssClass('MJaxTouchLinkButton'));
     $this->Attr('href', '#');
 }
 public function AddCssClass($mixCssClass)
 {
     if ($mixCssClass instanceof MJaxCssClass) {
         $this->blnModified = true;
         $this->arrCssClasses[$mixCssClass->ClassName] = $mixCssClass;
     } elseif (is_string($mixCssClass)) {
         $this->blnModified = true;
         $this->arrCssClasses[$mixCssClass] = MJaxApplication::CssClass($mixCssClass);
     } else {
         throw new QCallerException("AddCssClass must have either a string or a MJaxCssClass passed in as the first argument");
     }
 }
 public function __construct($objParentControl, $strControlId = null)
 {
     parent::__construct($objParentControl, $strControlId);
     $this->AddCssClass(MJaxApplication::CssClass(MLCCssClass::CASESTUDY_LAB));
 }