|
Class: FilenameEditFieldV2
Object
|
+--GraphicsMedium
|
+--DisplaySurface
|
+--SimpleView
|
+--View
|
+--ComboView
|
+--ComboBoxView
|
+--FilenameEditFieldV2
- Package:
- stx:libtool
- Category:
- Interface-Tools-File
- Version:
- rev:
1.17
date: 2018/04/18 10:17:10
- user: stefan
- file: FilenameEditFieldV2.st directory: libtool
- module: stx stc-classLibrary: libtool
- Author:
- Claus Gittinger
like a normal editField, but does filename-completion on the last word of
the contents, when TAB is pressed.
Filename completion ignores regular files if directoriesOnly is true,
and ignores directories, if filesOnly is true. Both default to false.
accessing
-
acceptOnExpand
-
return the autoAccept on filename expansion flag.
The default is true, which means that an expand accepts
-
acceptOnExpand: aBoolean
-
set/clear autoAccept on filename expansion.
The default is true, which means that an expand accepts
-
contents: someText
-
redefined to add a trailing file-separator if the displayed
filename is a directory
-
contents: someText addSeparatorToDirectories: doAddSeparator
-
optionally add a trailing file-separator if the displayed
filename is a directory.
-
directoriesOnly
-
set to expand names for directories only
-
directory
-
-
directory: aFilename
-
-
filesOnly
-
set to expand names for files only
-
initialText: aString selected: aBoolean
-
redefined to move the cursor to the end
- that's the most interesting part of a filename
-
showsDirectoriesOnly
-
return if expanding names for directories only
-
showsFilesOnly
-
return if expanding names for files only
initialization
-
initialize
-
self menuButton visibilityChannel:(false asValue).
-
realize
-
redefined to move the cursor to the end
- that's the most interesting part of a filename
menu
-
processEvent: anEvent
-
catch keyEvents in pulled menu (see redefined pullMenu-method).
Return true, if I have eaten the event
-
pullMenu
-
pull the menu - triggered from the button
|