| CODENOTIFIER | HelpYou are not signed inSign in |
Project: gwt-ext
Revision: 1817
Author: mlim1972
Date: 04 Sep 2008 02:08:04
Changes:Issue 402. Added static method to get an instance of GridPanel to facilitate JSNI integration.
Files:| ... | ...@@ -124,6 +124,16 @@ | |
| 124 | 124 | setStore(store); |
| 125 | 125 | setColumnModel(columnModel); |
| 126 | 126 | } |
| 127 | ||
| 128 | /** | |
| 129 | * Static method which returns the GridPanel instance based | |
| 130 | * on the JavaScriptObject | |
| 131 | * @param jsObj the JavaScript Object that represents the GridPanel | |
| 132 | * @return The GridPanel instance based on the JavaScriptObject passed in | |
| 133 | */ | |
| 134 | public static GridPanel instance(JavaScriptObject jsObj) { | |
| 135 | return new GridPanel(jsObj); | |
| 136 | } | |
| 127 | 137 | |
| 128 | 138 | /** |
| 129 | 139 | * Creates a new Grid. |