Package org.apache.myfaces.trinidaddemo.support.impl

Examples of org.apache.myfaces.trinidaddemo.support.impl.ComponentVariantDemoImpl


   * Constructor.
   */
  public InputColorDemo() {
    super(ComponentDemoId.inputColor, "Input Color");

        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Compact, this,
                new String[]{
                        "/components/input/inputColor/inputColorCompact.xhtml"
                }));

        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Detailed, this,
                new String[]{
                        "/components/input/inputColor/inputColorDetailed.xhtml"
                }));

        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Simple, this,
                new String[]{
                        "/components/input/inputColor/inputColorSimple.xhtml"
                }));

        setDefaultVariant(VARIANTS.Detailed);
View Full Code Here


   * Constructor.
   */
  public PanelPageDemo() {
    super(ComponentDemoId.panelPage, "Panel Page");

        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Default, "Default", this,
            new String[]{
                    "/components/panel/panelPage/panelPage.xhtml"
            }));

        setDefaultVariant(VARIANTS.Default);
View Full Code Here

   * Constructor.
   */
  public SelectOneListboxDemo() {
    super(ComponentDemoId.selectOneListbox, "Select One Listbox");

        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Simple, this,
                new String[]{
                        "/components/select/selectOneListbox/selectOneListboxSimple.xhtml"
                }, getSummaryResourcePath()));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Detailed, this,
                new String[]{
                        "/components/select/selectOneListbox/selectOneListboxDetailed.xhtml"
                }, getSummaryResourcePath()));

        setDefaultVariant(VARIANTS.Detailed);
View Full Code Here

   * Constructor.
   */
  public ImageDemo() {
    super(ComponentDemoId.image, "Image");

        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Default, "Default", this,
                new String[]{
                        "/components/graphic/image/image.xhtml"
                }));

        setDefaultVariant(VARIANTS.Default);
View Full Code Here

   * Constructor.
   */
  public PanelSideBarDemo() {
    super(ComponentDemoId.panelSideBar, "Panel Side Bar");

        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Default, "Default", this,
            new String[]{
                    "/components/panel/panelSideBar/panelSideBar.xhtml"
            }));

        setDefaultVariant(VARIANTS.Default);       
View Full Code Here

   * Constructor.
   */
  public OutputDocumentDemo() {
    super(ComponentDemoId.outputDocument, "Output Document");

        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Default, "Default", this,
            new String[]{
                    "/components/output/outputDocument/outputDocument.xhtml"
            }));

        setDefaultVariant(VARIANTS.Default);
View Full Code Here

   * Constructor.
   */
  public LegendDemo() {
    super(ComponentDemoId.legend, "Legend");

        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Default, "Default", this,
            new String[]{
                    "/components/output/legend/legend.xhtml"
            }));

        setDefaultVariant(VARIANTS.Default);
View Full Code Here

   * Constructor.
   */
  public OutputFormatedDemo() {
    super(ComponentDemoId.outputFormatted, "Output Formatted");

        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.InContextBrandingStyle, "In context branding style", this,
                new String[]{
                        "/components/output/outputFormated/outputFormatedInContextBrandingStyle.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.InstructionStyle, "Instruction style", this,
                new String[]{
                        "/components/output/outputFormated/outputFormatedInstructionStyle.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.PageStampStyle, "Page stamp style", this,
                new String[]{
                        "/components/output/outputFormated/outputFormatedPageStampStyle.xhtml"
                }));

        setDefaultVariant(VARIANTS.InstructionStyle);
View Full Code Here

   * Constructor.
   */
  public OutputTextDemo() {
    super(ComponentDemoId.outputText, "Output Text");

        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Default, "Default", this,
            new String[]{
                    "/components/output/outputText/outputText.xhtml"
            }));

        setDefaultVariant(VARIANTS.Default);
View Full Code Here

   * Constructor.
   */
  public NavigationPaneDemo() {
    super(ComponentDemoId.navigationPane, "Navigation Pane");

        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Bar, this,
                new String[]{
                       "/components/navigation/navigationPane/navigationPaneBar.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Buttons, this,
                new String[]{
                        "/components/navigation/navigationPane/navigationPaneButtons.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Choice, this,
                new String[]{
                        "/components/navigation/navigationPane/navigationPaneChoice.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.List, this,
                new String[]{
                        "/components/navigation/navigationPane/navigationPaneList.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Tabs, this,
                new String[]{
                        "/components/navigation/navigationPane/navigationPaneTabs.xhtml"
                }));

        setDefaultVariant(VARIANTS.Tabs);
View Full Code Here

TOP

Related Classes of org.apache.myfaces.trinidaddemo.support.impl.ComponentVariantDemoImpl

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.