Package org.eobjects.datacleaner.widgets

Examples of org.eobjects.datacleaner.widgets.DCCollapsiblePanel


      };

      final String label = "Value distribution for group '" + LabelUtils.getLabel(res.getGroupName()) + "'";

      final ValueCount distinctValue = getDistinctValueCount(res);
      final DCCollapsiblePanel collapsiblePanel;
      if (distinctValue == null) {
        collapsiblePanel = new DCCollapsiblePanel(label, label, false, componentRef);
      } else {
        final String collapsedLabel = label + ": " + LabelUtils.getLabel(distinctValue.getValue()) + "="
            + distinctValue.getCount() + "";
        collapsiblePanel = new DCCollapsiblePanel(collapsedLabel, label, true, componentRef);
      }
      panel.add(collapsiblePanel.toPanel());
    }
    return panel;
  }
View Full Code Here


      };
      final String expandedLabel = "Pattern finder for group '" + LabelUtils.getLabel(entry.getKey() + "'");
      final int patternCount = crosstab.getDimension(
          crosstab.getDimensionIndex(PatternFinderAnalyzer.DIMENSION_NAME_PATTERN)).getCategoryCount();
      final String collapsedLabel = expandedLabel + ": " + patternCount + " patterns";
      final DCCollapsiblePanel collapsiblePanel = new DCCollapsiblePanel(collapsedLabel, expandedLabel, collapsed,
          componentRef);
      panel.add(collapsiblePanel.toPanel());
    }
    return panel;
  }
View Full Code Here

TOP

Related Classes of org.eobjects.datacleaner.widgets.DCCollapsiblePanel

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.