|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.progeeks.meta.swing.editor.FileEditorFactory
public class FileEditorFactory
Factory for FileEditors.
Constructor Summary | |
---|---|
FileEditorFactory()
|
Method Summary | |
---|---|
MetaPropertyEditor |
createPropertyEditor(MetaPropertyContext viewContext)
Creates an editor for a specific set of property types. |
java.lang.String |
getExtension()
|
java.lang.String |
getTypeDescription()
|
void |
setExtension(java.lang.String e)
Sets the comma delimited list of file extensions. |
void |
setTypeDescription(java.lang.String d)
Sets the description of the file format that will appear in any file choosers. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileEditorFactory()
Method Detail |
---|
public void setTypeDescription(java.lang.String d)
public java.lang.String getTypeDescription()
public void setExtension(java.lang.String e)
public java.lang.String getExtension()
public MetaPropertyEditor createPropertyEditor(MetaPropertyContext viewContext)
createPropertyEditor
in interface EditorFactory
viewContext
- The context within which this editor will be operating.
It is up to the caller (usually the FactoryRegistry) to
initialize the view with this view context. It is merely
provide in case context information is necessary to decide
which renderer to create.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |