You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ca...@apache.org on 2014/02/28 00:02:49 UTC

git commit: [flex-asjs] [refs/heads/develop] - added TodoListEvent

Repository: flex-asjs
Updated Branches:
  refs/heads/develop 0a0c80fc2 -> 1b912af64


added TodoListEvent


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/1b912af6
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/1b912af6
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/1b912af6

Branch: refs/heads/develop
Commit: 1b912af643d8953089ec043fff79786c64884795
Parents: 0a0c80f
Author: Carlos Rovira <ca...@apache.org>
Authored: Fri Feb 28 00:01:11 2014 +0100
Committer: Carlos Rovira <ca...@apache.org>
Committed: Fri Feb 28 00:01:11 2014 +0100

----------------------------------------------------------------------
 .../src/event/TodoListEvent.as                  | 35 ++++++++++++++++++++
 1 file changed, 35 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1b912af6/examples/TodoListSampleApp/src/event/TodoListEvent.as
----------------------------------------------------------------------
diff --git a/examples/TodoListSampleApp/src/event/TodoListEvent.as b/examples/TodoListSampleApp/src/event/TodoListEvent.as
new file mode 100644
index 0000000..4d3cdc7
--- /dev/null
+++ b/examples/TodoListSampleApp/src/event/TodoListEvent.as
@@ -0,0 +1,35 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package event {
+    import org.apache.flex.events.Event;
+
+    public class TodoListEvent extends Event {
+
+        public static const LOG_TODO:String = "logTodoEvent";
+
+        /**
+         * the todo to log
+         */
+        public var todo:String = null;
+
+        public function TodoListEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false) {
+            super(type, bubbles, cancelable);
+        }
+    }
+}