com.infoteria.gui.property
Class FileProperty
java.lang.Object
|
+--com.infoteria.gui.property.AbstractProperty
|
+--com.infoteria.gui.property.FileProperty
- All Implemented Interfaces:
- java.lang.Cloneable, com.infoteria.gui.property.provider.FileSelectionInfoProvider, Property
- public class FileProperty
- extends AbstractProperty
- implements com.infoteria.gui.property.provider.FileSelectionInfoProvider
Fileプロパティ
java.io.Fileを扱うためのプロパティです。
| Methods inherited from class com.infoteria.gui.property.AbstractProperty |
addPropertyChangeListener, assign, assignTo, clone, createUndoableEdit, doClone, doGetDifference, doSetValue, getDifference, getDisplayName, getEditor, getName, getOwner, getPropertyChangeListeners, getRenderer, getTooltip, getValue, getValueAsString, isEditable, isVisible, removePropertyChangeListener, setDisplayName, setEditable, setEditor, setOwner, setRenderer, setTooltip, setValue, setValueAsString, setVisible, valueEquals |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROPERTY_TYPE
public static final java.lang.String PROPERTY_TYPE
FileProperty
public FileProperty(PropertyHolder owner,
java.lang.String name)
FileProperty
public FileProperty(java.lang.String name)
getType
public java.lang.String getType()
- Description copied from interface:
Property
- プロパティ型を返します。
setValue
public javax.swing.undo.UndoableEdit setValue(java.lang.Object o,
boolean canUndo)
throws PropertyException
- Description copied from interface:
Property
- プロパティ値を設定します。
Undo情報を返す必要がない場合はcanUndoにfalseを指定します。
- Overrides:
setValue in class AbstractProperty
setValueAsString
public javax.swing.undo.UndoableEdit setValueAsString(java.lang.String o,
boolean canUndo)
throws PropertyException
- Description copied from interface:
Property
- プロパティ値を文字列で設定します。
Undo情報を返す必要がない場合はcanUndoにfalseを指定します。
- Overrides:
setValueAsString in class AbstractProperty
getChoosableFileFilters
public javax.swing.filechooser.FileFilter[] getChoosableFileFilters()
- Specified by:
getChoosableFileFilters in interface com.infoteria.gui.property.provider.FileSelectionInfoProvider
addChoosableFileFilter
public void addChoosableFileFilter(javax.swing.filechooser.FileFilter filter)
clearChoosableFileFilters
public void clearChoosableFileFilters()
getFileSelectionMode
public int getFileSelectionMode()
- Specified by:
getFileSelectionMode in interface com.infoteria.gui.property.provider.FileSelectionInfoProvider
setFileSelectionMode
public void setFileSelectionMode(int mode)
getAdapter
public java.lang.Object getAdapter(java.lang.Class clazz)
- Description copied from interface:
Property
- Adapterを返します。
- Overrides:
getAdapter in class AbstractProperty