www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgtradeoffgui/@listTableView/pPostSetMessageService.m

    function pPostSetMessageService(obj)
%PPOSTSETMESSAGESERVICE Method that is called when the message service is set
%
%  PPOSTSETMESSAGESERVICE(OBJ) is called in response to a new message
%  service being set in the object.

%  Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc.


obj.super('pPostSetMessageService');

obj.addMessageServiceListener( ...
    { ...
    'TradeoffChanged', ...
    'SavedValueChanged', ...
    'SelectedPointChanged', ...
    }, ...
    { ...
    {@i_redrawtable, obj}, ...
    {@i_redrawtable, obj}, ...
    {@i_movesel, obj}
    } ...
    );

% Update display
obj.pDrawTable;


function i_redrawtable(src, evt, obj)
obj.pDrawTable;

function i_movesel(src, evt, obj)
obj.pDrawSelPoint;