Package org.nikkii.alertify4j

Examples of org.nikkii.alertify4j.AlertifyBuilder


*
*/
public class NotificationHandler {
  public static void displayAlert(final Font font, final Icon icon,
      final String message, final AlertifyType type, final int time) {
    Alertify.show(new AlertifyBuilder().font(font).icon(icon).type(type)
        .text(message).autoClose(time).build());

  }
View Full Code Here


  }

  public static void displayAlert(final Font font, final String message,
      final AlertifyType type) {
    Alertify.show(new AlertifyBuilder().font(font).type(type).text(message)
        .build());

  }
View Full Code Here

  }

  public static void displayAlert(final Font font, final String message,
      final AlertifyType type, final int time) {
    Alertify.show(new AlertifyBuilder().font(font).type(type).text(message)
        .autoClose(time).build());

  }
View Full Code Here

  }

  public static void displayAlert(final Icon icon, final String message,
      final AlertifyType type) {
    Alertify.show(new AlertifyBuilder().icon(icon).type(type).text(message)
        .build());

  }
View Full Code Here

  }

  public static void displayAlert(final Icon icon, final String message,
      final AlertifyType type, final int time) {
    Alertify.show(new AlertifyBuilder().icon(icon).type(type).text(message)
        .autoClose(time).build());
  }
View Full Code Here

        .autoClose(time).build());
  }

  public static void displayAlert(final String message,
      final AlertifyType type) {
    Alertify.show(new AlertifyBuilder().type(type).text(message).build());

  }
View Full Code Here

  }

  public static void displayAlert(final String message,
      final AlertifyType type, final int time) {
    Alertify.show(new AlertifyBuilder().type(type).text(message)
        .autoClose(time).build());

  }
View Full Code Here

TOP

Related Classes of org.nikkii.alertify4j.AlertifyBuilder

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.