Package org.auraframework.components.ui

Examples of org.auraframework.components.ui.MenuItem


public class MenuTestModel {

    @AuraEnabled
    public List<MenuItem> getData() {
        ArrayList<MenuItem> a = new ArrayList<>(4);
        MenuItem m1 = new MenuItem("checkboxItem1", "San Francisco 49ers", false, "checkbox");
        a.add(m1);
        MenuItem m2 = new MenuItem("checkboxItem2", "Seattle Seahawks", false, "checkbox");
        a.add(m2);
        MenuItem m3 = new MenuItem("checkboxItem3", "St. Louis Rams", false, "checkbox");
        a.add(m3);
        MenuItem m4 = new MenuItem("checkboxItem4", true, "Arizona Cardinals", true, "checkbox");
        a.add(m4);
        return a;
    }
View Full Code Here


    }
   
    @AuraEnabled
    public List<MenuItem> getResorts() {
        ArrayList<MenuItem> a = new ArrayList<>(3);
        MenuItem m1 = new MenuItem("Heavenly", true, "checkbox");
        a.add(m1);
        MenuItem m2 = new MenuItem("North Star", false, "checkbox");
        a.add(m2);
        MenuItem m3 = new MenuItem("Square Valley", true, "checkbox");
        a.add(m3);
        return a;
    }
View Full Code Here

    }
   
    @AuraEnabled
    public List<MenuItem> getPlaces() {
        ArrayList<MenuItem> a = new ArrayList<>(4);
        MenuItem m1 = new MenuItem("actionItem1", false, "Bayern München", false, "action");
        a.add(m1);
        MenuItem m2 = new MenuItem("actionItem2", true, "FC Barcelona", false, "action");
        a.add(m2);
        MenuItem m3 = new MenuItem("actionItem3", false, "Inter Milan", false, "action");
        a.add(m3);
        MenuItem m4 = new MenuItem("actionItem4", false, "Manchester United", false, "action");
        a.add(m4);
        return a;
    }
View Full Code Here

    }
   
    @AuraEnabled
    public List<MenuItem> getImages() {
        ArrayList<MenuItem> a = new ArrayList<>(3);
        MenuItem m1 = new MenuItem("tiger1", "Tiger1", false, "action");
        a.add(m1);
        MenuItem m2 = new MenuItem("tiger3", "Tiger2", false, "action");
        a.add(m2);
        MenuItem m3 = new MenuItem("tiger4", "Tiger3", false, "action");
        a.add(m3);
        return a;
    }
View Full Code Here

public class MenuTestModel {

    @AuraEnabled
    public List<MenuItem> getData() {
        ArrayList<MenuItem> a = new ArrayList<>(4);
        MenuItem m1 = new MenuItem("checkboxItem1", "San Francisco 49ers", false, "checkbox");
        a.add(m1);
        MenuItem m2 = new MenuItem("checkboxItem2", "Seattle Seahawks", false, "checkbox");
        a.add(m2);
        MenuItem m3 = new MenuItem("checkboxItem3", "St. Louis Rams", false, "checkbox");
        a.add(m3);
        MenuItem m4 = new MenuItem("checkboxItem4", true, "Arizona Cardinals", true, "checkbox");
        a.add(m4);
        return a;
    }
View Full Code Here

    }

    @AuraEnabled
    public List<MenuItem> getResorts() {
        ArrayList<MenuItem> a = new ArrayList<>(3);
        MenuItem m1 = new MenuItem("Heavenly", true, "checkbox");
        a.add(m1);
        MenuItem m2 = new MenuItem("North Star", false, "checkbox");
        a.add(m2);
        MenuItem m3 = new MenuItem("Square Valley", true, "checkbox");
        a.add(m3);
        return a;
    }
View Full Code Here

    }

    @AuraEnabled
    public List<MenuItem> getPlaces() {
        ArrayList<MenuItem> a = new ArrayList<>(4);
        MenuItem m1 = new MenuItem("actionItem1", false, "Bayern München", false, "action");
        a.add(m1);
        MenuItem m2 = new MenuItem("actionItem2", true, "FC Barcelona", false, "action");
        a.add(m2);
        MenuItem m3 = new MenuItem("actionItem3", false, "Inter Milan", false, "action");
        a.add(m3);
        MenuItem m4 = new MenuItem("actionItem4", false, "Manchester United", false, "action");
        a.add(m4);
        return a;
    }
View Full Code Here

    }

    @AuraEnabled
    public List<MenuItem> getImages() {
        ArrayList<MenuItem> a = new ArrayList<>(3);
        MenuItem m1 = new MenuItem("tiger1", "Tiger1", false, "action");
        a.add(m1);
        MenuItem m2 = new MenuItem("tiger3", "Tiger2", false, "action");
        a.add(m2);
        MenuItem m3 = new MenuItem("tiger4", "Tiger3", false, "action");
        a.add(m3);
        return a;
    }
View Full Code Here

TOP

Related Classes of org.auraframework.components.ui.MenuItem

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.