Package org.luwrain.popups
Class FilePopup.Model
java.lang.Object
org.luwrain.popups.EditListPopupUtils.DynamicModel
org.luwrain.popups.FilePopup.Model
- All Implemented Interfaces:
EditListPopup.Model
- Enclosing class:
- FilePopup
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetCompletion(String beginning) protected EditListPopup.ItemgetEmptyItem(String context) protected EditListPopup.Item[]protected booleanprotected static booleanprotected EditListPopup.Item[]readDirectory(File dir, File base) protected static Stringrelativize(File file, File base) Methods inherited from class org.luwrain.popups.EditListPopupUtils.DynamicModel
getAlternatives, getListPopupNextItem, getListPopupPreviousItem
-
Field Details
-
defPath
-
skipHidden
protected final boolean skipHidden
-
-
Method Details
-
getItems
- Specified by:
getItemsin classEditListPopupUtils.DynamicModel
-
getEmptyItem
- Specified by:
getEmptyItemin classEditListPopupUtils.DynamicModel
-
getCompletion
- Specified by:
getCompletionin interfaceEditListPopup.Model- Overrides:
getCompletionin classEditListPopupUtils.DynamicModel
-
readDirectory
-
hasWithSameBeginningNearby
-
relativize
-
isRoot
-