public interface ContentType
This interface is aimed at lumping together top-level classes needed by a given content-type
in the View-Model-Control framework : so far this involves obtaining an instance of EditorKit
appropriate for the given content-type, as well as a corresponding FormatterFactory.
A configure
method is provided for conveniently configuring editor-kits and factories before use.
[SR:pending] better move to jpicedt.graphic.io ?
Modifier and Type | Method and 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
|
ViewFactory |
createViewFactory()
Creates a ViewFactory that's suited for this content-type
|
java.lang.String |
getPresentationName()
Return the presentation name of this content-type
|
java.lang.String getPresentationName()
ViewFactory createViewFactory()
FormatterFactory createFormatter()
void configure(java.util.Properties p)
AbstractCustomizer createCustomizer(java.util.Properties prop)
prop
- used to init the component or to store preferences on-demand.Submit a bug : syd@jpicedt.org