mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
8343037: Missing @since tag on JColorChooser.showDialog overload
Backport-of: bd795946e7
This commit is contained in:
committed by
Vitaly Provodin
parent
00dd7bc2a5
commit
cfe99296c1
@@ -175,7 +175,9 @@ public class JColorChooser extends JComponent implements Accessible {
|
||||
* @return the selected color or <code>null</code> if the user opted out
|
||||
* @throws HeadlessException if GraphicsEnvironment.isHeadless()
|
||||
* returns true.
|
||||
*
|
||||
* @see java.awt.GraphicsEnvironment#isHeadless
|
||||
* @since 9
|
||||
*/
|
||||
@SuppressWarnings("deprecation")
|
||||
public static Color showDialog(Component component, String title,
|
||||
|
||||
@@ -229,6 +229,7 @@ public abstract class AbstractColorChooserPanel extends JPanel {
|
||||
*
|
||||
* @param b true if the transparency of a color can be selected
|
||||
* @see #isColorTransparencySelectionEnabled()
|
||||
* @since 9
|
||||
*/
|
||||
@BeanProperty(description
|
||||
= "Sets the transparency of a color selection on or off.")
|
||||
@@ -241,6 +242,7 @@ public abstract class AbstractColorChooserPanel extends JPanel {
|
||||
*
|
||||
* @return true if the transparency of a color can be selected
|
||||
* @see #setColorTransparencySelectionEnabled(boolean)
|
||||
* @since 9
|
||||
*/
|
||||
public boolean isColorTransparencySelectionEnabled(){
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user