src/share/classes/javax/swing/text/StyledEditorKit.java
Print this page
*** 373,382 ****
--- 373,383 ----
* the same version of Swing. As of 1.4, support for long term storage
* of all JavaBeans™
* has been added to the <code>java.beans</code> package.
* Please see {@link java.beans.XMLEncoder}.
*/
+ @SuppressWarnings("serial") // Same-version serialization only
public abstract static class StyledTextAction extends TextAction {
/**
* Creates a new StyledTextAction from a string action name.
*
*** 492,501 ****
--- 493,503 ----
* the same version of Swing. As of 1.4, support for long term storage
* of all JavaBeans™
* has been added to the <code>java.beans</code> package.
* Please see {@link java.beans.XMLEncoder}.
*/
+ @SuppressWarnings("serial") // Same-version serialization only
public static class FontFamilyAction extends StyledTextAction {
/**
* Creates a new FontFamilyAction.
*
*** 548,557 ****
--- 550,560 ----
* the same version of Swing. As of 1.4, support for long term storage
* of all JavaBeans™
* has been added to the <code>java.beans</code> package.
* Please see {@link java.beans.XMLEncoder}.
*/
+ @SuppressWarnings("serial") // Same-version serialization only
public static class FontSizeAction extends StyledTextAction {
/**
* Creates a new FontSizeAction.
*
*** 615,624 ****
--- 618,628 ----
* the same version of Swing. As of 1.4, support for long term storage
* of all JavaBeans™
* has been added to the <code>java.beans</code> package.
* Please see {@link java.beans.XMLEncoder}.
*/
+ @SuppressWarnings("serial") // Same-version serialization only
public static class ForegroundAction extends StyledTextAction {
/**
* Creates a new ForegroundAction.
*
*** 681,690 ****
--- 685,695 ----
* the same version of Swing. As of 1.4, support for long term storage
* of all JavaBeans™
* has been added to the <code>java.beans</code> package.
* Please see {@link java.beans.XMLEncoder}.
*/
+ @SuppressWarnings("serial") // Same-version serialization only
public static class AlignmentAction extends StyledTextAction {
/**
* Creates a new AlignmentAction.
*
*** 731,740 ****
--- 736,746 ----
* the same version of Swing. As of 1.4, support for long term storage
* of all JavaBeans™
* has been added to the <code>java.beans</code> package.
* Please see {@link java.beans.XMLEncoder}.
*/
+ @SuppressWarnings("serial") // Same-version serialization only
public static class BoldAction extends StyledTextAction {
/**
* Constructs a new BoldAction.
*/
*** 770,779 ****
--- 776,786 ----
* the same version of Swing. As of 1.4, support for long term storage
* of all JavaBeans™
* has been added to the <code>java.beans</code> package.
* Please see {@link java.beans.XMLEncoder}.
*/
+ @SuppressWarnings("serial") // Same-version serialization only
public static class ItalicAction extends StyledTextAction {
/**
* Constructs a new ItalicAction.
*/
*** 809,818 ****
--- 816,826 ----
* the same version of Swing. As of 1.4, support for long term storage
* of all JavaBeans™
* has been added to the <code>java.beans</code> package.
* Please see {@link java.beans.XMLEncoder}.
*/
+ @SuppressWarnings("serial") // Same-version serialization only
public static class UnderlineAction extends StyledTextAction {
/**
* Constructs a new UnderlineAction.
*/