Java Code Examples for com.alee.utils.SwingUtils#isEmpty()
The following examples show how to use
com.alee.utils.SwingUtils#isEmpty() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: AbstractComponentPreview.java From weblaf with GNU General Public License v3.0 | 5 votes |
/** * Creates and returns {@link Insets} text. * * @param insets {@link Insets} to render * @param color text color * @return {@link Insets} text */ @NotNull protected String renderInsets ( @Nullable final Insets insets, @NotNull final String color ) { final String text; if ( !SwingUtils.isEmpty ( insets ) ) { text = " {[ " + InsetsConverter.insetsToString ( insets ) + " ]:b;c(" + color + ")}"; } else { text = ""; } return text; }
Example 2
Source File: WebEditorPane.java From weblaf with GNU General Public License v3.0 | 2 votes |
/** * Returns whether or not this editor is empty. * * @return {@code true} if this editor is empty, {@code false} otherwise */ public boolean isEmpty () { return SwingUtils.isEmpty ( this ); }
Example 3
Source File: WebFormattedTextField.java From weblaf with GNU General Public License v3.0 | 2 votes |
/** * Returns whether or not this editor is empty. * * @return {@code true} if this editor is empty, {@code false} otherwise */ public boolean isEmpty () { return SwingUtils.isEmpty ( this ); }
Example 4
Source File: WebTextPane.java From weblaf with GNU General Public License v3.0 | 2 votes |
/** * Returns whether or not this editor is empty. * * @return {@code true} if this editor is empty, {@code false} otherwise */ public boolean isEmpty () { return SwingUtils.isEmpty ( this ); }
Example 5
Source File: WebTextField.java From weblaf with GNU General Public License v3.0 | 2 votes |
/** * Returns whether or not this editor is empty. * * @return {@code true} if this editor is empty, {@code false} otherwise */ public boolean isEmpty () { return SwingUtils.isEmpty ( this ); }
Example 6
Source File: WebPasswordField.java From weblaf with GNU General Public License v3.0 | 2 votes |
/** * Returns whether or not this editor is empty. * * @return {@code true} if this editor is empty, {@code false} otherwise */ public boolean isEmpty () { return SwingUtils.isEmpty ( this ); }
Example 7
Source File: WebTextArea.java From weblaf with GNU General Public License v3.0 | 2 votes |
/** * Returns whether or not this editor is empty. * * @return {@code true} if this editor is empty, {@code false} otherwise */ public boolean isEmpty () { return SwingUtils.isEmpty ( this ); }