Package org.freeplane.features.filter.condition

Examples of org.freeplane.features.filter.condition.DefaultConditionRenderer


    filterToolbar.add(applyFindPreviousBtn);
    filterToolbar.add(applyFindNextBtn);
    filterToolbar.add(applyQuickSelectBtn);
    filterToolbar.add(applyQuickFilterBtn);
    filterToolbar.add(applyQuickHighlightBtn);
    final DefaultConditionRenderer toolbarConditionRenderer = new DefaultConditionRenderer(TextUtils.getText("filter_no_filtering"), false);
    activeFilterConditionComboBox.setRenderer(toolbarConditionRenderer);
    return filterToolbar;
  }
View Full Code Here


    return conditionFactory;
  }

  DefaultConditionRenderer getConditionRenderer() {
    if (conditionRenderer == null) {
      conditionRenderer = new DefaultConditionRenderer(TextUtils.getText("filter_no_filtering"), true);
    }
    return conditionRenderer;
  }
View Full Code Here

      setRowSelectionAllowed(true);
      final TableColumnModel columnModel = getColumnModel();
      setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
//      setSelectionBackground(DefaultConditionRenderer.SELECTED_BACKGROUND);
      setRowHeight(20);
    conditionRenderer = new DefaultConditionRenderer(TextUtils.getText("always"), true);
    columnModel.getColumn(1).setCellRenderer(conditionRenderer);
    columnModel.getColumn(1).setCellEditor(new ConditionEditor());
    final JComboBox styleBox = new JComboBox();
    styleBox.setEditable(false);
    columnModel.getColumn(2).setCellEditor(new DefaultCellEditor(styleBox){
View Full Code Here

      (((NamedObject)selectedProperty).objectEquals(FILTER_LINK) &&
          selectedCondition.objectEquals(ConditionFactory.FILTER_EXIST)))
    {
      // don't return null as this would make FilterConditionEditor fall back to filterController.getConditionRenderer()
      // (and that would put in a default string like "No Filtering (remove)"!)
      return new DefaultConditionRenderer("", true);
    }
    else
    {
      return null;
    }
View Full Code Here

  }

  public ListCellRenderer getValueRenderer(Object selectedProperty, NamedObject selectedCondition) {
    // don't return null as this would make FilterConditionEditor fall back to filterController.getConditionRenderer()
    // (and that would put in a default string like "No Filtering (remove)"!)
    return new DefaultConditionRenderer("", true);
    }
View Full Code Here

    }
    return null;
  }

  public ListCellRenderer getValueRenderer(Object selectedProperty, NamedObject selectedCondition) {
    return new DefaultConditionRenderer("", true);
    }
View Full Code Here

TOP

Related Classes of org.freeplane.features.filter.condition.DefaultConditionRenderer

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.