Package timeflow.app.ui.filter

Examples of timeflow.app.ui.filter.FilterCategoryPanel


  public void note(TFEvent e) {
    Field color=getModel().getColorField();
    if (color!=null && color!=oldColor)
    {
        removeAll();
        final FilterCategoryPanel p=new FilterCategoryPanel("Color Legend: '"+color.getName()+"'",
            color, this);
        add(p);
        Bag<String> data=DBUtils.countValues(getModel().getDB().all(), color);
        p.setData(data);
        p.dataList.addListSelectionListener(new ListSelectionListener() {       
          @Override
          public void valueChanged(ListSelectionEvent e) {
            ValueFilter f=(ValueFilter)p.defineFilter()
            getModel().setGrayFilter(f, this);
          }
        });
       
        oldColor=color;
View Full Code Here

TOP

Related Classes of timeflow.app.ui.filter.FilterCategoryPanel

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.