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

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


   * Constructor.
   */
  public ResetButtonDemo() {
    super(ComponentDemoId.resetButton, "Reset Button");

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

        setDefaultVariant(VARIANTS.Default);
View Full Code Here


     * Constructor.
     */
    public PanelBoxDemo() {
        super(ComponentDemoId.panelBox, "Panel Box");

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

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

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

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

        setDefaultVariant(VARIANTS.Light);
View Full Code Here

   * Constructor.
   */
  public CommandButtonDemo() {
    super(ComponentDemoId.commandButton , "Command Button");

        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.fullSubmit, "Full submit", this,
            new String[]{
                "/components/buttonsAndLinks/commandButton/commandButton.xhtml"
            }));

        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.ajaxSubmit, "Ajax submit", this,
            new String[]{
                "/components/buttonsAndLinks/commandButton/commandButtonAjax.xhtml"
            }));

       setDefaultVariant(VARIANTS.fullSubmit);
View Full Code Here

   * Constructor.
   */
  public ShowDetailHeaderDemo(){
    super(ComponentDemoId.showDetailHeader, "Show Detail Header");

        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.NoneMessage, "None Message", this,
                new String[]{
                        "/components/showDetail/showDetailHeader/showDetailHeaderNoneMessage.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.InfoMessage, "Info Message", this,
                new String[]{
                        "/components/showDetail/showDetailHeader/showDetailHeaderInfoMessage.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.ConfirmationMessage, "Confirmation Message", this,
                new String[]{
                        "/components/showDetail/showDetailHeader/showDetailHeaderConfirmationMessage.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.ErrorMessage, "Error message", this,
                new String[]{
                        "/components/showDetail/showDetailHeader/showDetailHeaderErrorMessage.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.WarningMessage, "Warning message", this,
                new String[]{
                        "/components/showDetail/showDetailHeader/showDetailHeaderWarningMessage.xhtml"
                }));

        setDefaultVariant(VARIANTS.NoneMessage);
View Full Code Here

   * Constructor.
   */
  public GroupDemo() {
    super(ComponentDemoId.group, "Group");

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

        setDefaultVariant(VARIANTS.Default);
View Full Code Here

   * Constructor.
   */
  public CommandLinkDemo() {
    super(ComponentDemoId.commandLink , "Command Link");

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

        setDefaultVariant(VARIANTS.Default);
View Full Code Here

   * Constructor.
   */
  public GoLinkDemo() {
    super(ComponentDemoId.goLink , "Go Link");

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

        setDefaultVariant(VARIANTS.Default);
View Full Code Here

   * Constructor.
   */
  public GoButtonDemo() {
    super(ComponentDemoId.goButton, "Go Button");

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

        setDefaultVariant(VARIANTS.Default);
View Full Code Here

   * Constructor.
   */
  public InputDateDemo() {
    super(ComponentDemoId.inputDate, "Input Date");

        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Simple, "Simple", this,
                new String[]{
                        "/components/input/inputDate/inputDateSimple.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Detailed, "Detailed", this,
                new String[]{
                        "/components/input/inputDate/inputDateDetailed.xhtml"
                }));

        setDefaultVariant(VARIANTS.Detailed);
View Full Code Here

   * Constructor.
   */
  public InputNumberSpinboxDemo() {
    super(ComponentDemoId.inputNumberSpinbox, "Input Number Spinbox");

        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Simple, "Simple", this,
                new String[]{
                        "/components/input/inputNumberSpinbox/inputNumberSpinboxSimple.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Detailed, "Detailed", this,
                new String[]{
                        "/components/input/inputNumberSpinbox/inputNumberSpinboxDetailed.xhtml"
                }));

        setDefaultVariant(VARIANTS.Detailed);
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.