|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.progeeks.meta.swing.AbstractPropertyUI
org.progeeks.meta.swing.AbstractPropertyEditor
org.progeeks.meta.swing.editor.FileEditor
public class FileEditor
An editor implementation for java.io.File values.
Constructor Summary | |
---|---|
FileEditor()
|
Method Summary | |
---|---|
java.lang.String |
getExtension()
|
static javax.swing.filechooser.FileFilter |
getFilterForType(PropertyType type,
java.lang.String description,
java.lang.String extensions)
Returns an appropriate JFileChooser property type for the specified file type. |
protected FileType |
getType()
|
java.lang.String |
getTypeDescription()
|
java.awt.Component |
getUIComponent()
Returns the component that allows modification of the associated property mutator. |
protected void |
releaseComponent()
Implemented by subclasses to release any component-related resources. |
protected void |
resetComponentValue()
Called to set the component value to a default state. |
protected void |
setComponentValue(java.lang.Object value)
Called to set the current value displayed in the component. |
void |
setExtension(java.lang.String e)
|
void |
setTypeDescription(java.lang.String d)
|
Methods inherited from class org.progeeks.meta.swing.AbstractPropertyEditor |
---|
flushEdits |
Methods inherited from class org.progeeks.meta.swing.AbstractPropertyUI |
---|
getPropertyMutator, getViewContext, initializeView, isLabeled, isSingleColumn, propertyChanged, release, setPropertyMutator, setPropertyValue, setupToolTipText, terminateView |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.progeeks.meta.swing.MetaPropertyUI |
---|
getViewContext, initializeView, isLabeled, isSingleColumn, release, setPropertyMutator |
Constructor Detail |
---|
public FileEditor()
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 java.awt.Component getUIComponent()
getUIComponent
in interface MetaPropertyUI
getUIComponent
in class AbstractPropertyUI
protected void releaseComponent()
releaseComponent
in class AbstractPropertyEditor
protected FileType getType()
public static javax.swing.filechooser.FileFilter getFilterForType(PropertyType type, java.lang.String description, java.lang.String extensions)
protected void setComponentValue(java.lang.Object value)
setComponentValue
in class AbstractPropertyUI
protected void resetComponentValue()
resetComponentValue
in class AbstractPropertyUI
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |