[operations] [attributes] [fields] [template] [definition]
[implementation] [documentation]
To use the search tool you need to use a browser which supports JAVA (c)

[next] [prev] [superclass] [next peer] [prev peer] [subclass] [index] [hierarchy]

CanBeSearched

mixes in with Viewable

CanBeSearched



Operations

Get list of all operations

SearchForObject
SearchSubviews


Attributes

Get list of all attributes

Class CanBeSearched defines no new attributes.


Fields

No fields are defined by CanBeSearched or any of its superclasses.


Instance template

Class CanBeSearched cannot be instantiated.


Class definition

Define Class CanBeSearched;
    mixes in with Viewable;

    operation SearchForObject(searchCriteria: Object; reportTo: SearchingWindow);
        // calls SearchSubviews on self
        // override often to additionally check whether self or objects other than
        // subviews match search criteria

    intrinsic SearchSubviews(viewable: Viewable; searchCriteria: Object; reportTo: SearchingWindow);
        // for each deep subview of <viewable>, if subview implements CanBeSearched then calls AddSearchCandidate on subview;
        // otherwise calls AddSearchResult if subview matches <searchCriteria>
        // call sometimes from overrides of SearchForObject to include another viewable in search
end class;