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

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


     * Constructor.
     */
    public ChartDemo() {
        super(ComponentDemoId.chart, "Chart");

        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.VerticalBar, this,
                new String[]{
                        "/components/output/chart/chartVerticalBar.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Area, this,
                new String[]{
                        "/components/output/chart/chartArea.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.HorizontalBar, this,
                new String[]{
                        "/components/output/chart/chartHorizontalBar.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.LegendButtom, this,
                new String[]{
                        "/components/output/chart/chartLegendButtom.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.LegendTop, this,
                new String[]{
                        "/components/output/chart/chartLegendTop.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Pie, this,
                new String[]{
                        "/components/output/chart/chartPie.xhtml"
                }));

        setDefaultVariant(VARIANTS.VerticalBar);
View Full Code Here


   * Constructor.
   */
  public ChooseDateDemo() {
    super(ComponentDemoId.chooseDate, "Choose Date");

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

        setDefaultVariant(VARIANTS.Default);
View Full Code Here

   * Constructor.
   */
  public ShowDetailDemo() {
    super(ComponentDemoId.showDetail, "Show Detail");

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

        setDefaultVariant(VARIANTS.Default);
View Full Code Here

     * Constructor.
     */
    public ColumnDemo() {
        super(ComponentDemoId.column, "Column");

        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Start, this,
                new String[]{
                        "/components/table/column/columnStart.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Center, this,
                new String[]{
                        "/components/table/column/columnCenter.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Right, this,
                new String[]{
                        "/components/table/column/columnRight.xhtml"
                }));

        setDefaultVariant(VARIANTS.Start);
View Full Code Here

   * Constructor.
   */
  public SelectManyShuttleDemo() {
    super(ComponentDemoId.selectManyShuttle, "Select Many Shuttle");

        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.HideDescription, "Hide description", this,
                new String[]{
                        "/components/select/selectManyShuttle/selectManyShuttleHideDescription.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.ShowDescription, "Show description", this,
                new String[]{
                        "/components/select/selectManyShuttle/selectManyShuttleShowDescription.xhtml"
                }));

        setDefaultVariant(VARIANTS.HideDescription);
View Full Code Here

   * Constructor.
   */
  public SelectManyListboxDemo() {
    super(ComponentDemoId.selectManyListbox, "Select Many Listbox");

        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Simple, this,
                new String[]{
                        "/components/select/selectManyListbox/selectManyListboxSimple.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Detailed, this,
                new String[]{
                        "/components/select/selectManyListbox/selectManyListboxDetailed.xhtml"
                }));

        setDefaultVariant(VARIANTS.Detailed);
View Full Code Here

   * Constructor.
   */
  public SelectBooleanCheckboxDemo() {
    super(ComponentDemoId.selectBooleanCheckbox, "Select Boolean Checkbox");

        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Detailed, this,
                new String[]{
                        "/components/select/selectBooleanCheckbox/selectBooleanCheckboxDetailed.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Simple, this,
                new String[]{
                        "/components/select/selectBooleanCheckbox/selectBooleanCheckboxSimple.xhtml"
                }));

        setDefaultVariant(VARIANTS.Detailed);
View Full Code Here

   * Constructor.
   */
  public SelectItemDemo() {
    super(ComponentDemoId.selectItem, "Select Item");

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

        setDefaultVariant(VARIANTS.Default);
View Full Code Here

   * Constructor.
   */
  public PanelListDemo() {
    super(ComponentDemoId.panelList, "Panel List");

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

        setDefaultVariant(VARIANTS.Default);
View Full Code Here

   * Constructor.
   */
  public MediaDemo() {
    super(ComponentDemoId.media, "Media");

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

        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.AllControls, "All controls", this,
                new String[]{
                        "/components/graphic/media/mediaAllControls.xhtml"
                }));

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

        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.NoControls, "No controls", this,
                new String[]{
                        "/components/graphic/media/mediaNoControls.xhtml"
                }));

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

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

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

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