Examples of ComponentVariantDemoImpl


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

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

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

        setDefaultVariant(VARIANTS.Default);
View Full Code Here

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

   * Constructor.
   */
  public CommandNavigationItemDemo() {
    super(ComponentDemoId.commandNavigationItem, "Command Navigation Item");

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

        setDefaultVariant(VARIANTS.Default);
View Full Code Here

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

   * Constructor.
   */
  public MessagesDemo() {
    super(ComponentDemoId.messages, "Messages");

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

        setDefaultVariant(VARIANTS.Default);
View Full Code Here

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

   * Constructor.
   */
  public PanelTabbedDemo() {
    super(ComponentDemoId.panelTabbed, "Panel Tabbed");
       
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Above, this,
                new String[]{
                        "/components/panel/panelTabbed/panelTabbedAbove.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Below, this,
                new String[]{
                        "/components/panel/panelTabbed/panelTabbedBelow.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Both, this,
                new String[]{
                        "/components/panel/panelTabbed/panelTabbedBoth.xhtml"
                }));

        setDefaultVariant(VARIANTS.Both);
View Full Code Here

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

   * Constructor.
   */
  public SelectOneRadioDemo() {
    super(ComponentDemoId.selectOneRadio, "Select One Radio");

        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Simple, this,
                new String[]{
                        "/components/select/selectOneRadio/selectOneRadioSimple.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Detailed, this,
                new String[]{
                        "/components/select/selectOneRadio/selectOneRadioDetailed.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Horizontal, this,
                new String[]{
                        "/components/select/selectOneRadio/selectOneRadioHorizontal.xhtml"
                }));

        setDefaultVariant(VARIANTS.Detailed);
View Full Code Here

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

   * Constructor.
   */
  public InputListOfValuesDemo() {
    super(ComponentDemoId.inputListOfValues, "Input List Of Values");

        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Simple, this,
                new String[]{
                        "/components/input/inputListOfValues/inputListOfValuesSimple.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Detailed, this,
                new String[]{
                        "/components/input/inputListOfValues/inputListOfValuesDetailed.xhtml"
                }));

        setDefaultVariant(VARIANTS.Detailed);
View Full Code Here

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

   * Constructor.
   */
  public PanelRadioDemo() {
    super(ComponentDemoId.panelRadio, "Panel Radio");

        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Center, this,
                new String[]{
                        "/components/panel/panelRadio/panelRadioCenter.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.End, this,
                new String[]{
                        "/components/panel/panelRadio/panelRadioEnd.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Start, this,
                new String[]{
                        "/components/panel/panelRadio/panelRadioStart.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Top, this,
                new String[]{
                        "/components/panel/panelRadio/panelRadioTop.xhtml"
                }));

        setDefaultVariant(VARIANTS.Center);
View Full Code Here

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

   * Constructor.
   */
  public TreeTableDemo() {
    super(ComponentDemoId.treeTable, "Tree Table");

        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Detailed, this,
                new String[]{
                        "/components/table/treeTable/treeTableDetailed.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Simple, this,
                new String[]{
                        "/components/table/treeTable/treeTableSimple.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.NoGridLines, "No grid lines", this,
                new String[]{
                        "/components/table/treeTable/treeTableNoGridLines.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.SingleRowSelection, "Single selection", this,
                new String[]{
                        "/components/table/treeTable/treeTableSingleRowSelection.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.MultipleRowSelection, "Multiple selection", this,
                new String[]{
                        "/components/table/treeTable/treeTableMultipleRowSelection.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.PathStamp, "Path Stamp", this,
                new String[]{
                        "/components/table/treeTable/treeTablePathStamp.xhtml"
                }));

        setDefaultVariant(VARIANTS.Detailed);
View Full Code Here

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

   * Constructor.
   */
  public TableDemo() {
    super(ComponentDemoId.table, "Table");

        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.GridLines, "Grid lines", this,
                new String[]{
                        "/components/table/table/tableGridLines.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.NoGridLines, "No grid lines", this,
                new String[]{
                        "/components/table/table/tableNoGridLines.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.SingleRowSelection, "Single Row Selection", this,
                new String[]{
                        "/components/table/table/tableSingleRowSelection.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.MultipleRowSelection, "Multiple Row Selection", this,
                new String[]{
                        "/components/table/table/tableMultipleRowSelection.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.ShowHide, "Show / Hide", this,
                new String[]{
                        "/components/table/table/tableShowHide.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Pagination, this,
                new String[]{
                        "/components/table/table/tablePaginated.xhtml"
                }));

        setDefaultVariant(VARIANTS.GridLines);
View Full Code Here

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

     * Constructor.
     */
    public SelectOrderShuttleDemo() {
        super(ComponentDemoId.selectOrderShuttle, "Select Order Shuttle");

        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.HideDescription, "Hide Description", this,
                new String[]{
                        "/components/select/selectOrderShuttle/selectOrderShuttleHideDescription.xhtml"
                }));
        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.ShowDescription, "Show Description", this,
                new String[]{
                        "/components/select/selectOrderShuttle/selectOrderShuttleShowDescription.xhtml"
                }));

        setDefaultVariant(VARIANTS.HideDescription);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.