fixed javadocs + version

This commit is contained in:
nathan 2016-02-11 02:34:08 +01:00
parent 50f79571ef
commit 24218faa3a
2 changed files with 22 additions and 7 deletions

View File

@ -50,7 +50,7 @@ This project is **kept in sync** with the utilities library, so "jar hell" is no
<dependency> <dependency>
<groupId>com.dorkbox</groupId> <groupId>com.dorkbox</groupId>
<artifactId>Notify</artifactId> <artifactId>Notify</artifactId>
<version>1.2</version> <version>2.0</version>
</dependency> </dependency>
``` ```
@ -58,9 +58,18 @@ Or if you don't want to use Maven, you can access the files directly here:
https://oss.sonatype.org/content/repositories/releases/com/dorkbox/Notify/ https://oss.sonatype.org/content/repositories/releases/com/dorkbox/Notify/
https://oss.sonatype.org/content/repositories/releases/com/dorkbox/Notify-Dorkbox-Util/ https://oss.sonatype.org/content/repositories/releases/com/dorkbox/Notify-Dorkbox-Util/
https://oss.sonatype.org/content/repositories/releases/com/dorkbox/TweenEngine/
https://oss.sonatype.org/content/repositories/releases/com/dorkbox/ObjectPool/
https://repo1.maven.org/maven2/org/slf4j/slf4j-api/
<h2>License</h2> <h2>License</h2>
This project is distributed under the terms of the Apache v2.0 License. See file "LICENSE" for further references. This project is distributed under the terms of the Apache v2.0 License. See file "LICENSE" for further references.

View File

@ -31,15 +31,17 @@ import java.util.Map;
/** /**
* Popup notification messages, similar to the popular "Growl" notification system on macosx, that display in the corner of the monitor. * Popup notification messages, similar to the popular "Growl" notification system on macosx, that display in the corner of the monitor.
* </p> They can follow the mouse (if the screen is unspecified), and have a variety of features, such as "shaking" to draw attention, * </p>
* animating upon movement (for collating w/ multiple in a single location), and automatically hiding after a set duration. </p> These * They can follow the mouse (if the screen is unspecified), and have a variety of features, such as "shaking" to draw attention,
* notifications are for a single screen only, and cannot be anchored to an application. * animating upon movement (for collating w/ multiple in a single location), and automatically hiding after a set duration.
* <p> * </p>
* These notifications are for a single screen only, and cannot be anchored to an application.
*
* <pre> * <pre>
* {@code * {@code
* Notify.create() * Notify.create()
* .title("Title Text") * .title("Title Text")
* .text("Hello World 0!") * .text("Hello World!")
* .useDarkStyle() * .useDarkStyle()
* .showWarning(); * .showWarning();
* } * }
@ -61,7 +63,7 @@ class Notify {
*/ */
public static public static
String getVersion() { String getVersion() {
return "1.2"; return "2.0";
} }
/** /**
@ -366,3 +368,7 @@ class Notify {