eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Tools::StringSearchTool':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: StringSearchTool (in Tools)


Inheritance:

   Object
   |
   +--Model
      |
      +--ApplicationModel
         |
         +--Tools::StringSearchTool
            |
            +--Tools::StringSearchToolForTextView

Package:
stx:libtool
Category:
Interface-Tools
Version:
rev: 1.24 date: 2018/01/18 16:03:23
user: cg
file: Tools__StringSearchTool.st directory: libtool
module: stx stc-classLibrary: libtool
Author:
User (User@FELIXM)

Description:


documentation to be added.


[instance variables:]

[class variables:]


Related information:



Class protocol:

accessing
o  lastMatchCase

o  lastMatchCase: aBoolean

o  lastRestart

o  lastRestart: aBoolean

image specs
o  closeSearchBarIcon
This resource specification was automatically generated
by the ImageEditor of ST/X.

o  restartSearchBarIcon
This resource specification was automatically generated
by the ImageEditor of ST/X.

usage example(s):

     self restartSearchBarIcon inspect
     ImageEditor openOnClass:self andSelector:#restartSearchBarIcon
     Icon flushCachedIcons

o  searchNextIcon
This resource specification was automatically generated
by the ImageEditor of ST/X.

usage example(s):

     self searchNextIcon inspect
     ImageEditor openOnClass:self andSelector:#searchNextIcon
     Icon flushCachedIcons

o  searchPreviousIcon
This resource specification was automatically generated
by the ImageEditor of ST/X.

usage example(s):

     self searchPreviousIcon inspect
     ImageEditor openOnClass:self andSelector:#searchPreviousIcon
     Icon flushCachedIcons

o  searchToolBarIcon
This resource specification was automatically generated
by the ImageEditor of ST/X.

usage example(s):

     self searchToolBarIcon inspect
     ImageEditor openOnClass:self andSelector:#searchToolBarIcon
     Icon flushCachedIcons

o  warningSearchBarIcon
This resource specification was automatically generated
by the ImageEditor of ST/X.

usage example(s):

     self warningSearchBarIcon inspect
     ImageEditor openOnClass:self andSelector:#warningSearchBarIcon
     Icon flushCachedIcons

interface specs
o  windowSpec
This resource specification was automatically generated
by the UIPainter of ST/X.

usage example(s):

     UIPainter new openOnClass:Tools::StringSearchTool andSelector:#windowSpec
     Tools::StringSearchTool new openInterface:#windowSpec
     Tools::StringSearchTool open


Instance protocol:

accessing
o  closeBlock

o  closeBlock: something

o  ignoreCase

o  initialSearchString: aString

o  matchCheckboxVisible

o  restartSearch

o  searchNextBlock

o  searchNextBlock: something

o  searchPreviousBlock

o  searchPreviousBlock: something

o  searchText

aspects
o  matchCaseHolder
if your app needs to be notified of changes, uncomment one of the lines below:

usage example(s):

matchCaseHolder addDependent:self.

o  restartHolder
if your app needs to be notified of changes, uncomment one of the lines below:

usage example(s):

restartHolder addDependent:self.

o  searchBarImageInfoLabelHolder

o  searchBarInfoLabelHolder

o  searchTextHolder
if your app needs to be notified of changes, uncomment one of the lines below:

usage example(s):

userSelectedHolder onChangeSend:#searchTextHolderChanged to:self.

o  searchTextModifiedHolder
if your app needs to be notified of changes, uncomment one of the lines below:

usage example(s):

searchTextModifiedHolder addDependent:self.

change & update
o  matchCaseHolderChanged

o  processEvent: anEvent
Transcript showCR: anEvent key printString.

o  restartHolderChanged

o  searchTextModifiedHolderChanged
Always restart when looking for a typed string

usage example(s):

Transcript showCR: 'searchTextModifiedHolderChanged: ',(self searchTextHolder value ? '').

images
o  restartSearchBarIcon

o  warningSearchBarIcon

initialization & release
o  commonPostOpen

o  postBuildSearchTextView: anEditFieldView

private
o  searchReachEndOrBeginningIcon

o  searchTextRestarted: message

o  setSearchTextFoundColors

o  setSearchTextNotFoundColors

public
o  escapePressed

o  searchBarOpened

o  searchNextTextReachEnd

o  searchPreviousTextReachBeginning

o  searchTextNotFound

o  searchTextNotFound: aMessage

o  searchTextStarted

o  selectAllInSearchTextView

o  setFocusToSearchTextView

searching
o  hideSearchBar

o  searchNextText
self setFocusToSearchTextView.

o  searchNextTextButtonPressed

o  searchNextTextFromBeginning
self parent

o  searchNextTextIncludingCurrentSelection: includeCurrentSelection
self parent

o  searchPreviousText
self setFocusToSearchTextView.

o  searchPreviousTextButtonPressed

o  searchPreviousTextFromEnd
self parent


Examples:


Starting the application:
  Tools::StringSearchTool open

more examples to be added:
  ... add code fragment for 
  ... executable example here ...


ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Fri, 19 Apr 2024 12:00:21 GMT