public class DefaultContentType extends java.lang.Object implements ContentType
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
mime |
protected java.lang.String |
name |
Constructor and Description |
---|
DefaultContentType() |
Modifier and Type | Method and Description |
---|---|
void |
configure(java.util.Properties p)
Configure the EditorKit and the FormatterFactory (as returned by 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 suited for the JPIC-XML content-type
|
ViewFactory |
createViewFactory()
Creates a ViewFactory that's suited for this content-type
|
java.lang.String |
getPresentationName()
Return the presentation name of the JPIC-XML content-type
|
public java.lang.String getPresentationName()
getPresentationName
in interface ContentType
public ViewFactory createViewFactory()
createViewFactory
in interface ContentType
public FormatterFactory createFormatter()
createFormatter
in interface ContentType
public AbstractCustomizer createCustomizer(java.util.Properties prop)
createCustomizer
in interface ContentType
prop
- used to init the component or to store preferences on-demand.public void configure(java.util.Properties p)
configure
in interface ContentType
Submit a bug : syd@jpicedt.org