[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]

CanShowCompletePurgingList

mixes in with Object
inherits from CanShowPurgingSuggestions

CanShowPurgingSuggestions <- CanShowCompletePurgingList



Operations

Get list of all operations

AddSuggestion
AddSuggestionsFromPurger
BuildFullPurgingList
BuildRecommendedPurgingList
MakeActive
MakeValid


Attributes

Get list of all attributes

PurgingTarget
SuggestionSearchStatusVisible


Fields

Field Type
CanShowCompletePurgingList: statusView: Viewable
moreButton: Viewable
stopButton: Viewable
majorStatusField: TextField
minorStatusField: TextField
quickStatusText: Text
thoroughStatusText: Text


Instance template

Class CanShowCompletePurgingList cannot be instantiated.


Class definition

Define Class CanShowCompletePurgingList;
    mixes in with Object;
    inherits from CanShowPurgingSuggestions;
    
    field statusView: Viewable;
        // viewable that displays status information and stop button during list-building process
    field moreButton: Viewable;
        // viewable that user can touch to initiate complete search
    field stopButton: Viewable;
        // viewable that user can touch to stop list-building process
    field majorStatusField: TextField;
        // text field for displaying rough description (quick or thorough) of list-building process
    field minorStatusField: TextField;
        // text field for displaying specific status (type of object) of list-building process
    field quickStatusText: Text;
        // text displayed in majorStatusField when doing recommended-only search
    field thoroughStatusText: Text;
        // text displayed in majorStatusField when doing complete search

    attribute PurgingTarget: MemoryDevice, noGetter, noSetter;
        // specifies the container device that is subject to purging
    
    overrides MakeValid, MakeActive;
        // make sure that if building the list was interrupted, the viewables
        // are consistent
    overrides AddSuggestion;
        // adds <discardable> to purge list, updates displayed list, and handles
        // touches in stop button
    overrides AddSuggestionsFromPurger;
        // overridden to update statusField based on <purger>
    operation BuildRecommendedPurgingList();
        // displays status box while filling in purge list with recommended items
        // scans the containerDevice specified by Target
    operation BuildFullPurgingList();
        // displays status box while filling in purge list with all discardable items
        // scans the containerDevice specified by Target
    attribute SuggestionSearchStatusVisible: Boolean;
        // getter returns whether statusView is visible
        // setter makes statusView visible, clears minorStatusField, and sets majorStatusField to quickStatusText

end class;