< prev index next >
src/java.desktop/share/classes/java/awt/DefaultFocusTraversalPolicy.java
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
@@ -74,10 +74,15 @@
* serialVersionUID
*/
private static final long serialVersionUID = 8876966522510157497L;
/**
+ * Constructs a {@code DefaultFocusTraversalPolicy}.
+ */
+ public DefaultFocusTraversalPolicy() {}
+
+ /**
* Determines whether a Component is an acceptable choice as the new
* focus owner. The Component must be visible, displayable, and enabled
* to be accepted. If client code has explicitly set the focusability
* of the Component by either overriding
* {@code Component.isFocusTraversable()} or
< prev index next >