|
Class: FilenameEditFieldV2
Object
|
+--GraphicsMedium
|
+--DisplaySurface
|
+--SimpleView
|
+--View
|
+--ComboView
|
+--ComboBoxView
|
+--FilenameEditFieldV2
- Package:
- stx:libtool
- Category:
- Interface-Tools-File
- Version:
- rev:
1.22
date: 2023/11/21 13:55:14
- user: cg
- file: FilenameEditFieldV2.st directory: libtool
- module: stx stc-classLibrary: libtool
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.
copyrightCOPYRIGHT (c) 2002 by eXept Software AG
All Rights Reserved
This software is furnished under a license and may be used
only in accordance with the terms of that license and with the
inclusion of the above copyright notice. This software may not
be provided or otherwise made available to, or used by, any
other person. No title to or ownership of the software is
hereby transferred.
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
-
pullMenu
-
pull the menu - triggered from the button
user actions
-
performEntryCompletionForContents: contents
-
-
processEvent: anEvent
-
catch keyEvents in pulled menu (see redefined pullMenu-method).
Return true, if I have eaten the event.
Warning: this is invoked synchronously directly from the display's eventloop
|