mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 22:09:38 +07:00
[followup] Let screen reader voice a composite icon
This commit is contained in:
@@ -8,7 +8,7 @@ import javax.swing.*;
|
||||
/**
|
||||
* An icon composing and painting a number of icons.
|
||||
*/
|
||||
public interface CompositeIcon {
|
||||
public interface CompositeIcon extends Icon {
|
||||
/**
|
||||
* Returns the icon count.
|
||||
*/
|
||||
|
||||
@@ -22,10 +22,12 @@ import javax.swing.*;
|
||||
|
||||
|
||||
/**
|
||||
* This class is mostly for testing purposes: in case an icon is hidden behind a private or a restricted interface,
|
||||
* marking it as RetrievableIcon will help get the actual icon and perform checks.
|
||||
* An icon wrapping and painting another icon.
|
||||
*/
|
||||
public interface RetrievableIcon extends Icon {
|
||||
/**
|
||||
* Returns the wrapped icon.
|
||||
*/
|
||||
@Nullable
|
||||
Icon retrieveIcon();
|
||||
}
|
||||
Reference in New Issue
Block a user