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.30 date: 2022/10/11 14:18:30
user: cg
file: Tools__StringSearchTool.st directory: libtool
module: stx stc-classLibrary: libtool

Description:


documentation to be added.


[instance variables:]

[class variables:]

copyright

COPYRIGHT (c) 2008 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.

Class protocol:

accessing
o  lastMatchCase

o  lastMatchCase: aBoolean

o  lastRestart

o  lastRestart: aBoolean

help specs
o  helpSpec
This resource specification was automatically generated
by the UIHelpTool of ST/X.

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

Usage example(s):

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

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

Usage example(s):

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

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

Usage example(s):

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

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  searchDownIcon
This resource specification was automatically generated
by the ImageEditor of ST/X.

Usage example(s):

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

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

Usage example(s):

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

o  searchNextIcon

o  searchPreviousIcon

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

Usage example(s):

     self searchRightIcon inspect
     ImageEditor openOnClass:self andSelector:#searchRightIcon
     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  searchUpIcon
This resource specification was automatically generated
by the ImageEditor of ST/X.

Usage example(s):

     self searchUpIcon inspect
     ImageEditor openOnClass:self andSelector:#searchUpIcon
     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

o  restartHolder

o  searchBarImageInfoLabelHolder

o  searchBarInfoLabelHolder

o  searchTextHolder

o  searchTextModifiedHolder

change & update
o  matchCaseHolderChanged

o  processEvent: anEvent
Return true, if I have eaten the event

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
(comment from inherited method)
a common hook for postOpenWith:, postOpenAsSubcanvasWith: and postOpenAsDialogWith:.
Notice: redefined methods should do a super send.
otherwise resources might be undefined.

o  initialize
(comment from inherited method)
nothing done here;
but can be redefined in concrete applications

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.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 06:31:28 GMT