Package com.cosmo.ui.controls

Examples of com.cosmo.ui.controls.HeaderControl


         BreadcrumbsControl navbar = new BreadcrumbsControl(getWorkspace());
         navbar.addItem(new BreadcrumbsItem("Home", "HomePage", Icon.ICON_IMAGE_HOME));
         navbar.addItem(new BreadcrumbsItem("Grid / Formularis", ""));
         pc.addContent(navbar, ContentColumns.MAIN);

         HeaderControl header = new HeaderControl(getWorkspace(), CTRL_HEADER);
         header.setTitle(app.getTitle());
         header.setDescription(app.getDescription());
         pc.addContent(header, ContentColumns.MAIN);

         DynamicMessageControl msg = new DynamicMessageControl(getWorkspace(), CTRL_MESSAGE);
         msg.setVisible(false);
         pc.addContent(msg, ContentColumns.MAIN);
View Full Code Here


            msg.setVisible(true);
            pc.addContent(msg, ContentColumns.MAIN);
         }
         else
         {
            HeaderControl header = new HeaderControl(getWorkspace(), "hc");
            header.setTitle("Crear compte d'usuari");
            header.setDescription("Ompleni el formulari per crear un nou compte d'usuari.");
            pc.addContent(header, ContentColumns.MAIN);

            DynamicMessageControl msg = new DynamicMessageControl(getWorkspace(), "msg");
            msg.setVisible(false);
            pc.addContent(msg, ContentColumns.MAIN);
View Full Code Here

      BreadcrumbsControl navbar = new BreadcrumbsControl(getWorkspace());
      navbar.addItem(new BreadcrumbsItem("Inici", "HomePage", Icon.ICON_IMAGE_HOME));
      navbar.addItem(new BreadcrumbsItem("Tests de seguretat"));
      pc.addContent(navbar, ContentColumns.MAIN);

      HeaderControl header = new HeaderControl(getWorkspace(), "head");
      header.setTitle("Tests de seguretat");
      pc.addContent(header, ContentColumns.MAIN);

      XhtmlControl xhtml = new XhtmlControl(getWorkspace(), "content");
      xhtml.appendParagraph("Aquesta p�gina cont� els tests per verificar que el m�dul de seguretat de de '''Cosmo Framework''' est� funcionant correctament.");
      pc.addContent(xhtml, ContentColumns.MAIN);
View Full Code Here

      BreadcrumbsControl navbar = new BreadcrumbsControl(getWorkspace());
      navbar.addItem(new BreadcrumbsItem("Inici", "HomePage", Icon.ICON_IMAGE_HOME));
      navbar.addItem(new BreadcrumbsItem("Llistes", ""));
      pc.addContent(navbar, ContentColumns.MAIN);

      HeaderControl header = new HeaderControl(getWorkspace());
      header.setTitle("ListView Control");
      header.setDescription("Exemple d'�s del control " + XhtmlControl.formatBold("ListViewControl")
            + " per generar llistats de contingut (tipus bloc).");
      pc.addContent(header, ContentColumns.MAIN);

      ListViewControl olc = new ListViewControl(getWorkspace());
      olc.addListItem(new ListViewItem(
View Full Code Here

      navbar.addItem(new BreadcrumbsItem("Home", "HomePage", Icon.ICON_IMAGE_HOME));
      navbar.addItem(new BreadcrumbsItem("Samples", "SamplesPage"));
      navbar.addItem(new BreadcrumbsItem("Form sample", ""));
      pc.addContent(navbar, ContentColumns.MAIN);

      HeaderControl header = new HeaderControl(getWorkspace());
      header.setTitle("Form Control");
      header.setDescription("Exemple de formulari. Per consultar el contingut de les dades que s'introdueixen en aquest formulari, consultar l'exemple de Grid Control.");
      pc.addContent(header, ContentColumns.MAIN);

      DynamicMessageControl message = new DynamicMessageControl(getWorkspace(), ID_MSG);
      pc.addContent(message, ContentColumns.MAIN);
View Full Code Here

      BreadcrumbsControl navbar = new BreadcrumbsControl(getWorkspace());
      navbar.addItem(new BreadcrumbsItem("Home", "HomePage", Icon.ICON_IMAGE_HOME));
      navbar.addItem(new BreadcrumbsItem("Grid / Formularis", ""));
      pc.addContent(navbar, ContentColumns.MAIN);

      HeaderControl header = new HeaderControl(getWorkspace());
      header.setTitle("Grid / Formularis");
      header.setDescription("Exemple d'utilitzaci� combinada del control GridControl i FormControl.");
      pc.addContent(header, ContentColumns.MAIN);

      DynamicMessageControl msg = new DynamicMessageControl(getWorkspace(), ID_MSG);
      msg.setVisible(false);
      pc.addContent(msg, ContentColumns.MAIN);
View Full Code Here

      BreadcrumbsControl navbar = new BreadcrumbsControl(getWorkspace());
      navbar.addItem(new BreadcrumbsItem("Inici", "HomePage", Icon.ICON_IMAGE_HOME));
      navbar.addItem(new BreadcrumbsItem("Slider", ""));
      pc.addContent(navbar, ContentColumns.MAIN);

      HeaderControl header = new HeaderControl(getWorkspace());
      header.setTitle("Slider Control");
      header.setDescription("Exemple d'�s del control " + XhtmlControl.formatBold("SliderControl")
            + " per generar presentacions d'imatges i/o contingut XHTML.");
      pc.addContent(header, ContentColumns.MAIN);

      SliderControl slider = new SliderControl(getWorkspace());
      slider.setWidth(550);
View Full Code Here

      navbar.addItem(new BreadcrumbsItem("Home", "HomePage", Icon.ICON_IMAGE_HOME));
      navbar.addItem(new BreadcrumbsItem("Samples", "SamplesPage"));
      navbar.addItem(new BreadcrumbsItem("ORM Form sample", ""));
      pc.addContent(navbar, ContentColumns.MAIN);

      HeaderControl header = new HeaderControl(getWorkspace());
      header.setTitle("ORM Form Control");
      header.setDescription("Exemple de formulari que fa us de CORM (Cormo ORM).");
      pc.addContent(header, ContentColumns.MAIN);

      XhtmlControl xhtml = new XhtmlControl(getWorkspace());
      xhtml.append("Per consultar el contingut de les dades que s'introdueixen en aquest formulari, consultar l'exemple de Grid Control.");
      pc.addContent(xhtml, ContentColumns.MAIN);
View Full Code Here

      BreadcrumbsControl navbar = new BreadcrumbsControl(getWorkspace());
      navbar.addItem(new BreadcrumbsItem("Home", "HomePage", Icon.ICON_IMAGE_HOME));
      navbar.addItem(new BreadcrumbsItem("Gesti� d'usuaris"));
      pc.addContent(navbar, ContentColumns.MAIN);

      HeaderControl header = new HeaderControl(getWorkspace());
      header.setTitle("Gesti� d'usuaris");
      pc.addContent(header, ContentColumns.MAIN);

      DynamicMessageControl msg = new DynamicMessageControl(getWorkspace(), ID_MSG);
      msg.setVisible(false);
      pc.addContent(msg, ContentColumns.MAIN);
View Full Code Here

      BreadcrumbsControl navbar = new BreadcrumbsControl(getWorkspace());
      navbar.addItem(new BreadcrumbsItem("Inici", "HomePage", Icon.ICON_IMAGE_HOME));
      navbar.addItem(new BreadcrumbsItem("Informaci� de seguretat"));
      pc.addContent(navbar, ContentColumns.MAIN);

      HeaderControl header = new HeaderControl(getWorkspace(), "head");
      header.setTitle("Informaci� de seguretat");
      pc.addContent(header, ContentColumns.MAIN);

      XhtmlControl xInfo = new XhtmlControl(getWorkspace(), "info");
      xInfo.appendParagraph("La seg�ent p�gina mostra les configuracions actuals dels agents de seguretat que s'han llegit a l'arxiu //cosmo.config.xml//, que cont� la configuraci� de '''Cosmo Framnework'''.");
      pc.addContent(xInfo, ContentColumns.MAIN);
View Full Code Here

TOP

Related Classes of com.cosmo.ui.controls.HeaderControl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.