|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContentType
Specifies a content-type (aka mime-type) for a Drawing document created by an editor-kit.
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 ?
Method Summary | |
---|---|
void |
configure(Properties p)
Configure the EditorKit and the FormatterFactory returned by the factory methods, from the given Properties |
AbstractCustomizer |
createCustomizer(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 |
String |
getPresentationName()
Return the presentation name of this content-type |
Method Detail |
---|
String getPresentationName()
ViewFactory createViewFactory()
FormatterFactory createFormatter()
void configure(Properties p)
AbstractCustomizer createCustomizer(Properties prop)
prop
- used to init the component or to store preferences on-demand.
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |