Class EepicContentType

  • All Implemented Interfaces:
    ContentType

    public class EepicContentType
    extends java.lang.Object
    implements ContentType
    Specifies content-type for Drawing's created by editor-kits.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String mime  
      protected java.lang.String name  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void configure​(java.util.Properties p)
      Configure the EditorKit and the FormatterFactory returned by the factory methods, from the given Properties
      AbstractCustomizer createCustomizer​(java.util.Properties prop)
      Returns a customizer panel for this content-type
      FormatterFactory createFormatter()
      creates a FormatterFactory that's suited for this content-type default implementation returns null.
      ViewFactory createViewFactory()
      Creates a ViewFactory that's suited for this content-type
      java.lang.String getPresentationName()
      Return the presentation name of this content-type
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • name

        protected java.lang.String name
      • mime

        protected java.lang.String mime
    • Constructor Detail

      • EepicContentType

        public EepicContentType()
    • Method Detail

      • getPresentationName

        public java.lang.String getPresentationName()
        Description copied from interface: ContentType
        Return the presentation name of this content-type
        Specified by:
        getPresentationName in interface ContentType
        Returns:
        the presentation name of this content-type
      • createFormatter

        public FormatterFactory createFormatter()
        creates a FormatterFactory that's suited for this content-type default implementation returns null.
        Specified by:
        createFormatter in interface ContentType
      • createCustomizer

        public AbstractCustomizer createCustomizer​(java.util.Properties prop)
        Returns a customizer panel for this content-type
        Specified by:
        createCustomizer in interface ContentType
        Parameters:
        prop - used to init the component or to store user-preferences on demand
        Returns:
        null if no customizer is available for this content-type
      • configure

        public void configure​(java.util.Properties p)
        Configure the EditorKit and the FormatterFactory returned by the factory methods, from the given Properties
        Specified by:
        configure in interface ContentType