8297210: Add a @sealedGraph tag to selected java.desktop classes
Reviewed-by: prr
This commit is contained in:
parent
2084451193
commit
f4063a3cfd
src/java.desktop/share/classes
@ -38,6 +38,7 @@ import java.util.Arrays;
|
||||
*
|
||||
* @author Nicholas Talian, Vincent Hardy, Jim Graham, Jerry Evans
|
||||
* @since 1.6
|
||||
* @sealedGraph
|
||||
*/
|
||||
public abstract sealed class MultipleGradientPaint implements Paint
|
||||
permits LinearGradientPaint,
|
||||
|
@ -66,6 +66,7 @@ import sun.awt.InputMethodSupport;
|
||||
* @author Sami Shaio
|
||||
* @author Arthur van Hoff
|
||||
* @since 1.0
|
||||
* @sealedGraph
|
||||
*/
|
||||
public sealed class TextComponent extends Component implements Accessible
|
||||
permits TextArea,
|
||||
|
@ -36,6 +36,7 @@ import java.util.EventObject;
|
||||
* {@link java.awt.Desktop} instance of the current desktop context.
|
||||
*
|
||||
* @since 9
|
||||
* @sealedGraph
|
||||
*/
|
||||
public sealed class AppEvent extends EventObject
|
||||
permits AboutEvent,
|
||||
|
@ -37,6 +37,7 @@ import java.util.List;
|
||||
* Auxiliary event containing a list of files.
|
||||
*
|
||||
* @since 9
|
||||
* @sealedGraph
|
||||
*/
|
||||
public sealed class FilesEvent extends AppEvent
|
||||
permits OpenFilesEvent,
|
||||
|
@ -56,6 +56,7 @@ import sun.util.logging.PlatformLogger;
|
||||
* @see MouseMotionAdapter
|
||||
*
|
||||
* @since 1.1
|
||||
* @sealedGraph
|
||||
*/
|
||||
public abstract sealed class InputEvent extends ComponentEvent
|
||||
permits KeyEvent,
|
||||
|
@ -69,6 +69,7 @@ import sun.awt.geom.Curve;
|
||||
*
|
||||
* @author Jim Graham
|
||||
* @since 1.6
|
||||
* @sealedGraph
|
||||
*/
|
||||
public abstract sealed class Path2D implements Shape, Cloneable
|
||||
permits Path2D.Double,
|
||||
|
@ -44,6 +44,7 @@ import javax.swing.Icon;
|
||||
* and SpaceBelow a paragraph."></p>
|
||||
*
|
||||
* @author Timothy Prinzing
|
||||
* @sealedGraph
|
||||
*/
|
||||
public sealed class StyleConstants
|
||||
permits StyleConstants.CharacterConstants,
|
||||
|
Loading…
x
Reference in New Issue
Block a user