Package org.apache.log4j.spi

Examples of org.apache.log4j.spi.Thresholdable


    levelLabel.setText(null);
    levelLabel.setIcon(null);

    if (o instanceof Thresholdable) {
      Thresholdable t = (Thresholdable) o;

      if (t.getThreshold() != null) {
        levelLabel.setIcon(
          (Icon) LevelIconFactory.getInstance().getLevelToIconMap().get(
            t.getThreshold().toString()));

        if (levelLabel.getIcon() == null) {
          levelLabel.setText(t.getThreshold().toString());
        }
      }
    }

    setToolTipText(tooltip);
View Full Code Here

TOP

Related Classes of org.apache.log4j.spi.Thresholdable

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.