Skip to main content

Home/ Groups/ InfokeyDEV
Benx Shen

Motivating the Data Storm, open source database browser for testing - 0 views

  • public void test_order_save() {    Order orderToBeFound = new Order(SOME_ID, SOME_NAME1);    orderToBeFound.save();    new DataStorm().show( connection, "SELECT * FROM orders o WHERE o.id = " + SOME_ID );    assertNotNull(orderToBeFound.load(SOME_ID));}
  •  
    Data Storm is a free open source data base browser. While there are millions of data base browsers freely available online, Data Storm is different as it can be launched directly from within your Java code. This enables you to see and modify data that otherwise may not be available to you.
Benx Shen

JDT/UI and Text Team Blog » Blog Archive » 3.4 New and Noteworthy - 0 views

  • The most important new features in the JDT are: Rich hovers: Follow links in Javadoc hover Quick fix problems in problem hover Inspect variable values in the debug hover Java Editor Breadcrumb: Know where you are while in the editor Various Content Assist improvements SWT Templates: Build your UI the fast way Format edited lines on save: Keep outgoing changes to a minimum Extract Class refactoring: Replace a set of fields by a new class Compiler supports multi CPU-machines: Compile your workspace faster
Benx Shen

jQuery: AJAX Queue/Synch/Abort/Block Manager - 0 views

  •  
    這個外掛可以更簡單管理重複按鈕事件,以及同步的ajax請求
Benx Shen

DynaCloud - a dynamic JavaScript tag/keyword cloud with jQuery - 0 views

  •  
    jQuery 標籤雲函式庫!
Benx Shen

Javascript Closures - 0 views

  • Closure A "closure" is an expression (typically a function) that can have free variables together with an environment that binds those variables (that "closes" the expression).
  • Example 2: Associating Functions with Object Instance Methods
Benx Shen

Javascript - Event order - 0 views

  • When you use event capturing | | ---------------| |----------------- | element1 | | | | -----------| |----------- | | |element2 \ / | | | ------------------------- | | Event CAPTURING | ----------------------------------- the event handler of element1 fires first, the event handler of element2 fires last. Event bubbling When you use event bubbling / \ ---------------| |----------------- | element1 | | | | -----------| |----------- | | |element2 | | | | | ------------------------- | | Event BUBBLING | ----------------------------------- the event handler of element2 fires first, the event handler of element1 fires last.
  • addEventListener() method explained on the Advanced models page. If its last argument is true the event handler is set for the capturing phase, if it is false the event handler is set for the bubbling phase.
  • In the Microsoft model you must set the event’s cancelBubble property to true. window.event.cancelBubble = true In the W3C model you must call the event’s stopPropagation() method. e.stopPropagation()
« First ‹ Previous 341 - 360 of 467 Next › Last »
Showing 20 items per page