< prev index next >
src/java.desktop/share/classes/javax/swing/text/EditorKit.java
Print this page
*** 38,48 ****
* <p>
* A kit can safely store editing state as an instance
* of the kit will be dedicated to a text component.
* New kits will normally be created by cloning a
* prototype kit. The kit will have its
! * <code>setComponent</code> method called to establish
* its relationship with a JTextComponent.
*
* @author Timothy Prinzing
*/
@SuppressWarnings("serial") // Same-version serialization only
--- 38,48 ----
* <p>
* A kit can safely store editing state as an instance
* of the kit will be dedicated to a text component.
* New kits will normally be created by cloning a
* prototype kit. The kit will have its
! * {@code setComponent} method called to establish
* its relationship with a JTextComponent.
*
* @author Timothy Prinzing
*/
@SuppressWarnings("serial") // Same-version serialization only
*** 54,64 ****
public EditorKit() {
}
/**
* Creates a copy of the editor kit. This is implemented
! * to use <code>Object.clone()</code>. If the kit cannot be cloned,
* null is returned.
*
* @return the copy
*/
public Object clone() {
--- 54,64 ----
public EditorKit() {
}
/**
* Creates a copy of the editor kit. This is implemented
! * to use {@code Object.clone()}. If the kit cannot be cloned,
* null is returned.
*
* @return the copy
*/
public Object clone() {
< prev index next >