Source: vclsd/controller/WKcController.js

/*jslint plusplus: true, white: true, indent: 2, maxlen: 90 */
/*global $wk$ */
/**
 *  @author    Wolfgang Kowarschick
 *  @copyright 2012-2013, Wolfgang Kowarschick
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted under the terms of the 
 *  Creative Commons License Attribution-NonCommercial-ShareAlike 3.0 Unported    
 *  (CC BY-NC-SA 3.0: http://creativecommons.org/licenses/by-nc-sa/3.0/). 
 */

 
////////////////////////////////////////////////////////////////////////////////
// Class "$wk$.vclsd.controller.WKcController"
////////////////////////////////////////////////////////////////////////////////

$wk$("$wk$.WKcClass", 
function($)
{ "use strict";

  /** 
   * <code>WKcController</code> objects can be used listen on user 
   * interaction. Their main purpose is to inform
   * logic components about user actions.
   * Before, they may cleanup the user data.
   * 
   * @class
   * @name $wk$.vclsd.controller.WKcController
   * @returns {Object} A new logic object.
   */
  var WKcController =
  new $.WKcClass
  ({fullName: "$wk$.vclsd.controller.WKcController",
    
    private: 
    { v_logic: null
    },
    
    methods: 
    { /**
       * Sets the logic object that can be accessed by the contoller.
       * 
       * @method
       * @name $wk$.vclsd.controller.WKcController#logic
       * @writeonly
       * 
       * @param {$wk$.vclsd.logic.WKcService} p_logic  A logic object.
       */
      set logic(p_logic) { this.v_logic = p_logic; }
    }    

  });

  $.moduleAdd({ name:   "$wk$.vclsd.controller.WKcController",
                module: { WKcController: WKcController }
             });
});

////////////////////////////////////////////////////////////////////////////////
// End of Class "$wk$.ldvcs.controller.WKcController"
////////////////////////////////////////////////////////////////////////////////
W. Kowarschick © 2013 (CC BY-NC-SA 3.0: http://creativecommons.org/licenses/by-nc-sa/3.0/)
Documentation generated by JSDoc 3.3.0-dev on Sat Oct 05 2013 15:14:39 GMT+0200 (MESZ) using the DocStrap template.