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

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


   * Constructor.
   */
  public GroupLayoutDemo() {
    super(ComponentDemoId.panelGroupLayout, "Group Layout");

    addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Horizontal, this,
                new String[]{
                        "/components/layout/groupLayout/panelGroupLayoutHorizontal.xhtml"
                }));
    addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Vertical, this,
                new String[]{
                        "/components/layout/groupLayout/panelGroupLayoutVertical.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Dynamic,this,
                new String[]{
                        "/components/layout/groupLayout/panelGroupLayoutDynamic.xhtml"
                }, getSummaryResourcePath(),
                "/org/apache/myfaces/trinidaddemo/components/layout/panelGroupLayout/GroupLayoutDynamicBean.java"));

View Full Code Here


   * Constructor.
   */
  public FormLayoutDemo() {
    super(ComponentDemoId.panelFormLayout, "Form Layout");

        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.LabelLeft, "Label left", this,
                new String[]{
                        "/components/layout/formLayout/panelFormLayoutLabelLeft.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.LabelTop, "Label top", this,
                new String[]{
                        "/components/layout/formLayout/panelFormLayoutLabelTop.xhtml"
                }));

        setDefaultVariant(VARIANTS.LabelLeft);
View Full Code Here

   * Constructor.
   */
  public HorizontalLayoutDemo() {
    super(ComponentDemoId.panelHorizontalLayout, "Horizontal Layout");

        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Left, this,
                new String[]{
                        "/components/layout/horizontalLayout/panelHorizontalLayoutLeft.xhtml"
                }));

        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Middle, this,
                new String[]{
                        "/components/layout/horizontalLayout/panelHorizontalLayoutMiddle.xhtml"
                }));

        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Right, this,
                new String[]{
                        "/components/layout/horizontalLayout/panelHorizontalLayoutRight.xhtml"
                }));

        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Top, this,
                new String[]{
                        "/components/layout/horizontalLayout/panelHorizontalLayoutTop.xhtml"
                }));

        setDefaultVariant(VARIANTS.Left);
View Full Code Here

   * Constructor.
   */
  public SelectBooleanRadioDemo() {
    super(ComponentDemoId.selectBooleanRadio, "Select Boolean Radio");

        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Detailed, "Detailed", this,
                new String[]{
                        "/components/select/selectBooleanRadio/selectBooleanRadioDetailed.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Simple, "Simple", this,
                new String[]{
                        "/components/select/selectBooleanRadio/selectBooleanRadioSimple.xhtml"
                }));

        setDefaultVariant(VARIANTS.Detailed);
View Full Code Here

   * Constructor.
   */
  public SpacerDemo() {
    super(ComponentDemoId.spacer, "Spacer");

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

        setDefaultVariant(VARIANTS.Default);
View Full Code Here

   * Constructor.
   */
  public SelectOneChoiceDemo() {
    super(ComponentDemoId.selectOneChoice, "Select One Choice");

        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Simple, this,
                new String[]{
                        "/components/select/selectOneChoice/selectOneChoiceSimple.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Detailed, this,
                new String[]{
                        "/components/select/selectOneChoice/selectOneChoiceDetailed.xhtml"
                }));

        setDefaultVariant(VARIANTS.Detailed);
View Full Code Here

   * Constructor.
   */
  public InputTextDemo() {
    super(ComponentDemoId.inputText, "Input Text");

        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Simple, this,
                new String[]{
                        "/components/input/inputText/inputTextSimple.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Detailed, this,
                new String[]{
                        "/components/input/inputText/inputTextDetailed.xhtml"
                }));

        setDefaultVariant(VARIANTS.Detailed);       
View Full Code Here

   * Constructor.
   */
  public OutputLabelDemo() {
    super(ComponentDemoId.outputLabel, "Output Label");

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

        setDefaultVariant(VARIANTS.Default);
View Full Code Here

   * Constructor.
   */
  public ProgressIndicatorDemo() {
    super(ComponentDemoId.progressIndicator, "Progress Indicator");

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

        setDefaultVariant(VARIANTS.Default);
View Full Code Here

   * Constructor.
   */
  public TrainDemo() {
    super(ComponentDemoId.train, "Train");
       
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.PlusOne, "Plus One", this,
                new String[]{
                    "/components/navigation/train/generalInfo.xhtml",
                    "/components/navigation/train/companyInfo.xhtml",
                    "/components/navigation/train/jsfSurvey.xhtml",
                    "/components/navigation/train/trinidadSurvey.xhtml",
                    "/components/navigation/train/youAreDone.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.MaxVisited, "Max Visited", this,
                new String[]{
                    "/components/navigation/train/generalInfo.xhtml",
                    "/components/navigation/train/companyInfo.xhtml",
                    "/components/navigation/train/jsfSurvey.xhtml",
                    "/components/navigation/train/trinidadSurvey.xhtml",
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.