www.gusucode.com > mbcguitools 工具箱 matlab 源码程序 > mbcguitools/@mbcwidgets/@itemfilter/clear.m
function clear(obj) %CLEAR Clear the filter and type controls. % % CLEAR(OBJ) % Copyright 2005-2006 The MathWorks, Inc. set( obj.Filter.Control, 'String', '' ); obj.FilterString = ''; set( obj.Type.Control, 'Value', 1 ); obj.SelectedType = 'All'; set( obj.Case.Control, 'Value', 0 ); obj.MatchCase = 0; send( obj, 'FilterChanged', handle.EventData( obj, 'FilterChanged' ) );