jdk/src/java.datatransfer/share/classes/java/awt/datatransfer/DataFlavor.java
changeset 34797 fec9b6fa739e
parent 32869 edd4354e4a09
child 44658 60dab93625a6
equal deleted inserted replaced
34796:2e3991b65560 34797:fec9b6fa739e
   287      * and representation class is the String class.
   287      * and representation class is the String class.
   288      * <pre>
   288      * <pre>
   289      *     representationClass = String
   289      *     representationClass = String
   290      *     mimeType           = "text/html"
   290      *     mimeType           = "text/html"
   291      * </pre>
   291      * </pre>
       
   292      *
       
   293      * @since 1.8
   292      */
   294      */
   293     public static DataFlavor selectionHtmlFlavor = initHtmlDataFlavor("selection");
   295     public static DataFlavor selectionHtmlFlavor = initHtmlDataFlavor("selection");
   294 
   296 
   295     /**
   297     /**
   296      * Represents a piece of an HTML markup. If possible, the markup received
   298      * Represents a piece of an HTML markup. If possible, the markup received
   299      * a {@link Transferable} instance, no additional changes will be made.
   301      * a {@link Transferable} instance, no additional changes will be made.
   300      * <pre>
   302      * <pre>
   301      *     representationClass = String
   303      *     representationClass = String
   302      *     mimeType           = "text/html"
   304      *     mimeType           = "text/html"
   303      * </pre>
   305      * </pre>
       
   306      *
       
   307      * @since 1.8
   304      */
   308      */
   305     public static DataFlavor fragmentHtmlFlavor = initHtmlDataFlavor("fragment");
   309     public static DataFlavor fragmentHtmlFlavor = initHtmlDataFlavor("fragment");
   306 
   310 
   307     /**
   311     /**
   308      * Represents a piece of an HTML markup. If possible, the markup
   312      * Represents a piece of an HTML markup. If possible, the markup
   312      * no additional changes will be made.
   316      * no additional changes will be made.
   313      * <pre>
   317      * <pre>
   314      *     representationClass = String
   318      *     representationClass = String
   315      *     mimeType           = "text/html"
   319      *     mimeType           = "text/html"
   316      * </pre>
   320      * </pre>
       
   321      *
       
   322      * @since 1.8
   317      */
   323      */
   318     public static  DataFlavor allHtmlFlavor = initHtmlDataFlavor("all");
   324     public static  DataFlavor allHtmlFlavor = initHtmlDataFlavor("all");
   319 
   325 
   320     /**
   326     /**
   321      * Constructs a new <code>DataFlavor</code>.  This constructor is
   327      * Constructs a new <code>DataFlavor</code>.  This constructor is