Esempio n. 1
0
		protected override void InitializeTypeDescriptor (ScriptTypeDescriptor typeDescriptor)
		{
			base.InitializeTypeDescriptor (typeDescriptor);

			/* XXX should make this use Hover/Unhover, but Owner == null is causing exceptions */
			typeDescriptor.AddEvent (new ScriptEventDescriptor ("hover", true));
			typeDescriptor.AddEvent (new ScriptEventDescriptor ("unhover", true));

			typeDescriptor.AddProperty (new ScriptPropertyDescriptor ("hoverElement", ScriptType.Object, false, ""));
			typeDescriptor.AddProperty (new ScriptPropertyDescriptor ("unhoverDelay", ScriptType.Number, false, "UnhoverDelay"));
		}
Esempio n. 2
0
        protected override void InitializeTypeDescriptor(ScriptTypeDescriptor typeDescriptor)
        {
            base.InitializeTypeDescriptor(typeDescriptor);

            /* XXX should make this use Hover/Unhover, but Owner == null is causing exceptions */
            typeDescriptor.AddEvent(new ScriptEventDescriptor("hover", true));
            typeDescriptor.AddEvent(new ScriptEventDescriptor("unhover", true));

            typeDescriptor.AddProperty(new ScriptPropertyDescriptor("hoverElement", ScriptType.Object, false, ""));
            typeDescriptor.AddProperty(new ScriptPropertyDescriptor("unhoverDelay", ScriptType.Number, false, "UnhoverDelay"));
        }
Esempio n. 3
0
        public void IsTypeDescriptorClosed()
        {
            Binding b = new Binding();
            ScriptTypeDescriptor desc = ((IScriptObject)b).GetTypeDescriptor();

            desc.AddEvent(new ScriptEventDescriptor("testEvent", true));
        }
Esempio n. 4
0
        public void IsTypeDescriptorClosed()
        {
            HoverBehavior        a    = new HoverBehavior();
            ScriptTypeDescriptor desc = ((IScriptObject)a).GetTypeDescriptor();

            desc.AddEvent(new ScriptEventDescriptor("testEvent", true));
        }
Esempio n. 5
0
        public void IsTypeDescriptorClosed()
        {
            DraggableListItem    a    = new DraggableListItem();
            ScriptTypeDescriptor desc = ((IScriptObject)a).GetTypeDescriptor();

            desc.AddEvent(new ScriptEventDescriptor("testEvent", true));
        }
Esempio n. 6
0
        public void IsTypeDescriptorClosed()
        {
            ListView             l    = new ListView();
            ScriptTypeDescriptor desc = ((IScriptObject)l).GetTypeDescriptor();

            desc.AddEvent(new ScriptEventDescriptor("testEvent", true));
        }
Esempio n. 7
0
        public void IsTypeDescriptorClosed()
        {
            TextBox t = new TextBox();
            ScriptTypeDescriptor desc = ((IScriptObject)t).GetTypeDescriptor();

            desc.AddEvent(new ScriptEventDescriptor("testEvent", true));
        }
Esempio n. 8
0
		protected override void InitializeTypeDescriptor (ScriptTypeDescriptor typeDescriptor)
		{
			base.InitializeTypeDescriptor (typeDescriptor);

			/* XXX should make this use Click, but Owner == null is causing exceptions */
			typeDescriptor.AddEvent (new ScriptEventDescriptor ("click", true));
		}
Esempio n. 9
0
        public void IsTypeDescriptorClosed()
        {
            ActionPoker          a    = new ActionPoker();
            ScriptTypeDescriptor desc = ((IScriptObject)a).GetTypeDescriptor();

            desc.AddEvent(new ScriptEventDescriptor("testEvent", true));
        }
Esempio n. 10
0
        public void IsTypeDescriptorClosed()
        {
            SetPropertyAction    a    = new SetPropertyAction();
            ScriptTypeDescriptor desc = ((IScriptObject)a).GetTypeDescriptor();

            desc.AddEvent(new ScriptEventDescriptor("testEvent", true));
        }
Esempio n. 11
0
        public void IsTypeDescriptorClosed()
        {
            InvokeMethodAction   a    = new InvokeMethodAction();
            ScriptTypeDescriptor desc = ((IScriptObject)a).GetTypeDescriptor();

            desc.AddEvent(new ScriptEventDescriptor("testEvent", true));
        }
Esempio n. 12
0
        public void IsTypeDescriptorClosed()
        {
            DataSourceDropTarget a    = new DataSourceDropTarget();
            ScriptTypeDescriptor desc = ((IScriptObject)a).GetTypeDescriptor();

            desc.AddEvent(new ScriptEventDescriptor("testEvent", true));
        }
Esempio n. 13
0
        protected override void InitializeTypeDescriptor(ScriptTypeDescriptor typeDescriptor)
        {
            base.InitializeTypeDescriptor(typeDescriptor);

            /* XXX should make this use Click, but Owner == null is causing exceptions */
            typeDescriptor.AddEvent(new ScriptEventDescriptor("click", true));
        }
Esempio n. 14
0
        public void AddAfterClose()
        {
            ActionPoker          a  = new ActionPoker();
            ScriptTypeDescriptor td = new ScriptTypeDescriptor(a);

            td.Close();

            td.AddEvent(new ScriptEventDescriptor("testEvent", true));
        }