[sandbox.akabana]/trunk/yui-frameworks/yui-air-flex4/src/main/flex/jp/akb7/yui/air/YuiWindowedApplication.as
Parent Directory
|
Revision Log
|
Patch
| revision 1477 by e1arkw, Wed Feb 9 02:36:19 2011 JST | revision 1482 by e1arkw, Tue Feb 15 18:04:33 2011 JST | |
|---|---|---|
| # | Line 21 package org.seasar.akabana.yui.air | Line 21 package org.seasar.akabana.yui.air |
| 21 | import mx.events.AIREvent; | import mx.events.AIREvent; |
| 22 | ||
| 23 | import org.seasar.akabana.yui.framework.core.YuiFrameworkSettings; | import org.seasar.akabana.yui.framework.core.YuiFrameworkSettings; |
| 24 | import org.seasar.akabana.yui.framework.error.YuiFrameworkContainerError; | import org.seasar.akabana.yui.framework.error.YuiFrameworkError; |
| 25 | ||
| 26 | import spark.components.WindowedApplication; | import spark.components.WindowedApplication; |
| 27 | ||
| # | Line 68 package org.seasar.akabana.yui.air | Line 68 package org.seasar.akabana.yui.air |
| 68 | var viewClass:Class = getStyle("rootViewClass") as Class; | var viewClass:Class = getStyle("rootViewClass") as Class; |
| 69 | ||
| 70 | if( viewClass == null ){ | if( viewClass == null ){ |
| 71 | throw new YuiFrameworkContainerError("rootViewClass style is needed."); | throw new YuiFrameworkError("rootViewClass style is needed."); |
| 72 | } else { | } else { |
| 73 | _rootView = new viewClass(); | _rootView = new viewClass(); |
| 74 | _rootView.name = "rootView"; | _rootView.name = "rootView"; |
|
||||||||
| Repository Top ViewVC Help |
![]() |
| Powered by ViewVC |

