Updated javadoc in DarculaComboBoxUI

GitOrigin-RevId: aa74c76874e937cc70276e6e5977063e552f5411
This commit is contained in:
Pavel Porvatov
2024-03-25 17:25:43 +00:00
committed by intellij-monorepo-bot
parent ad531c09fd
commit 2c458c48a2
@@ -72,6 +72,9 @@ public class DarculaComboBoxUI extends BasicComboBoxUI implements Border, ErrorB
myPaintArrowButton = paintArrowButton;
}
/**
* @deprecated Parameter {@code c} is not used. Please use {@link #DarculaComboBoxUI()} constructor instead
*/
@SuppressWarnings("unused")
@Deprecated
public DarculaComboBoxUI(JComboBox c) {
@@ -92,8 +95,8 @@ public class DarculaComboBoxUI extends BasicComboBoxUI implements Border, ErrorB
* <li>Remove Border and ErrorBorderCapable implementations from DarculaComboBoxUI.
* Extract border functionality from {@link DarculaComboBoxUI} into a separate class like OldDarculaComboBoxBorder, add it into base themes
* <li>Remove isNewBorderSupported method
* <li>Use {@link DarculaComboBoxBorder} or its descendants
* </ol>
* and use {@link DarculaComboBoxBorder} or its descendants instead.
*
* @return true if this DarculaComboBoxUI has no specific customization for Border, so {@link DarculaComboBoxBorder} can use own rendering
*/
@@ -272,6 +275,9 @@ public class DarculaComboBoxUI extends BasicComboBoxUI implements Border, ErrorB
}
}
/**
* @deprecated The method is not used anymore
*/
@SuppressWarnings("unused")
@Deprecated(forRemoval = true)
protected Color getArrowButtonFillColor(Color defaultColor) {