mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-13 23:37:13 -06:00
fixed javadoc warnings and errors
This commit is contained in:
@@ -96,7 +96,7 @@ public class Animator
|
|||||||
* Sets the duration of the animation in milliseconds.
|
* Sets the duration of the animation in milliseconds.
|
||||||
*
|
*
|
||||||
* @throws IllegalStateException if animation is running
|
* @throws IllegalStateException if animation is running
|
||||||
* @throws IllegalArgumentException if duration is <= zero
|
* @throws IllegalArgumentException if duration is <= zero
|
||||||
*/
|
*/
|
||||||
public void setDuration( int duration ) {
|
public void setDuration( int duration ) {
|
||||||
throwExceptionIfRunning();
|
throwExceptionIfRunning();
|
||||||
@@ -118,7 +118,7 @@ public class Animator
|
|||||||
*
|
*
|
||||||
* @param resolution the resolution of the animation in milliseconds
|
* @param resolution the resolution of the animation in milliseconds
|
||||||
* @throws IllegalStateException if animation is running
|
* @throws IllegalStateException if animation is running
|
||||||
* @throws IllegalArgumentException if resolution is <= zero
|
* @throws IllegalArgumentException if resolution is <= zero
|
||||||
*/
|
*/
|
||||||
public void setResolution( int resolution ) {
|
public void setResolution( int resolution ) {
|
||||||
throwExceptionIfRunning();
|
throwExceptionIfRunning();
|
||||||
|
|||||||
@@ -73,10 +73,10 @@ import com.formdev.flatlaf.util.UIScale;
|
|||||||
* <p>
|
* <p>
|
||||||
* When the UI inspector is active some additional keys are available:
|
* When the UI inspector is active some additional keys are available:
|
||||||
* <ul>
|
* <ul>
|
||||||
* <li>press <kbd>Esc</kbd> key to disable UI inspector</li>
|
* <li>press {@code Esc} key to disable UI inspector</li>
|
||||||
* <li>press <kbd>Ctrl</kbd> key to increase inspection level, which shows
|
* <li>press {@code Ctrl} key to increase inspection level, which shows
|
||||||
* information about parent of UI component at mouse location</li>
|
* information about parent of UI component at mouse location</li>
|
||||||
* <li>press <kbd>Shift</kbd> key to decrease inspection level</li>
|
* <li>press {@code Shift} key to decrease inspection level</li>
|
||||||
* </ul>
|
* </ul>
|
||||||
*
|
*
|
||||||
* @author Karl Tauber
|
* @author Karl Tauber
|
||||||
@@ -106,6 +106,8 @@ public class FlatInspector
|
|||||||
/**
|
/**
|
||||||
* Installs a key listener into the application that allows enabling and disabling
|
* Installs a key listener into the application that allows enabling and disabling
|
||||||
* the UI inspector with the given keystroke (e.g. "ctrl shift alt X").
|
* the UI inspector with the given keystroke (e.g. "ctrl shift alt X").
|
||||||
|
*
|
||||||
|
* @param activationKeys a keystroke (e.g. "ctrl shift alt X")
|
||||||
*/
|
*/
|
||||||
public static void install( String activationKeys ) {
|
public static void install( String activationKeys ) {
|
||||||
KeyStroke keyStroke = KeyStroke.getKeyStroke( activationKeys );
|
KeyStroke keyStroke = KeyStroke.getKeyStroke( activationKeys );
|
||||||
|
|||||||
@@ -76,6 +76,8 @@ public class FlatUIDefaultsInspector
|
|||||||
/**
|
/**
|
||||||
* Installs a key listener into the application that allows enabling and disabling
|
* Installs a key listener into the application that allows enabling and disabling
|
||||||
* the UI inspector with the given keystroke (e.g. "ctrl shift alt Y").
|
* the UI inspector with the given keystroke (e.g. "ctrl shift alt Y").
|
||||||
|
*
|
||||||
|
* @param activationKeys a keystroke (e.g. "ctrl shift alt Y")
|
||||||
*/
|
*/
|
||||||
public static void install( String activationKeys ) {
|
public static void install( String activationKeys ) {
|
||||||
KeyStroke keyStroke = KeyStroke.getKeyStroke( activationKeys );
|
KeyStroke keyStroke = KeyStroke.getKeyStroke( activationKeys );
|
||||||
|
|||||||
Reference in New Issue
Block a user