Examples of FactorySelection


Examples of com.qspin.qtaste.tools.converter.ui.action.FactorySelection

    int rowIndex = 1;
   
    builder.addLabel("Group by :", cc.xy(1, rowIndex));
    ButtonGroup group = new ButtonGroup();
    JRadioButton groupByComponent = new JRadioButton("component(s)", false);
    groupByComponent.addItemListener(new FactorySelection(mTree, ComponentTreeFactory.getInstance()));
    group.add(groupByComponent);
    builder.add(groupByComponent, cc.xy(3, rowIndex));
    JRadioButton groupByEvent = new JRadioButton("event(s)", false);
    groupByEvent.addItemListener(new FactorySelection(mTree, EventTreeFactory.getInstance()));
    group.add(groupByEvent);
    builder.add(groupByEvent, cc.xy(5, rowIndex));
    groupByComponent.setSelected(true);
    rowIndex+=2;
    builder.add(new JScrollPane(mTree), cc.xyw(1, rowIndex, 5));
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.