Class FileProperty

java.lang.Object
com.infoteria.gui.property.AbstractProperty
com.infoteria.gui.property.FileProperty
All Implemented Interfaces:
Property, com.infoteria.gui.property.provider.FileSelectionInfoProvider, Cloneable

public class FileProperty extends AbstractProperty implements com.infoteria.gui.property.provider.FileSelectionInfoProvider
Fileプロパティ
java.io.Fileを扱うためのプロパティです。
  • Field Details

  • Constructor Details

  • Method Details

    • getType

      public String getType()
      Description copied from interface: Property
      プロパティ型を返します。
      Specified by:
      getType in interface Property
    • setValue

      public UndoableEdit setValue(Object o, boolean canUndo) throws PropertyException
      Description copied from interface: Property
      プロパティ値を設定します。
      Undo情報を返す必要がない場合はcanUndoにfalseを指定します。
      Specified by:
      setValue in interface Property
      Specified by:
      setValue in class AbstractProperty
      Throws:
      PropertyException
    • setValueAsString

      public UndoableEdit setValueAsString(String o, boolean canUndo) throws PropertyException
      Description copied from interface: Property
      プロパティ値を文字列で設定します。
      Undo情報を返す必要がない場合はcanUndoにfalseを指定します。
      Specified by:
      setValueAsString in interface Property
      Specified by:
      setValueAsString in class AbstractProperty
      Throws:
      PropertyException
    • getChoosableFileFilters

      public FileFilter[] getChoosableFileFilters()
      Specified by:
      getChoosableFileFilters in interface com.infoteria.gui.property.provider.FileSelectionInfoProvider
    • addChoosableFileFilter

      public void addChoosableFileFilter(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 Object getAdapter(Class<?> clazz)
      Description copied from interface: Property
      Adapterを返します。
      Specified by:
      getAdapter in interface Property
      Overrides:
      getAdapter in class AbstractProperty