You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2013/07/16 09:56:19 UTC
[02/13] git commit: [flex-asjs] [refs/heads/develop] - Remove most
view bead interfaces,
especially ones that were just markers. Added IBeadView and IBeadController.
All views should implement IBeadView and then can additionally implement a
custom inte
Remove most view bead interfaces, especially ones that were just markers. Added IBeadView and IBeadController. All views should implement IBeadView and then can additionally implement a custom interface as the contract between view and controller.
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/0ddf65f1
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/0ddf65f1
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/0ddf65f1
Branch: refs/heads/develop
Commit: 0ddf65f1db5b976dfb912beaf5c0e7902d41a926
Parents: 4b0994a
Author: Alex Harui <ah...@apache.org>
Authored: Fri Jul 12 16:29:26 2013 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Fri Jul 12 16:29:26 2013 -0700
----------------------------------------------------------------------
frameworks/as/defaults.css | 44 ++++++++++----------
.../src/org/apache/flex/core/IBeadController.as | 30 +++++++++++++
.../as/src/org/apache/flex/core/IBeadView.as | 30 +++++++++++++
.../src/org/apache/flex/core/ICheckBoxBead.as | 26 ------------
.../src/org/apache/flex/core/IComboBoxBead.as | 35 ----------------
.../org/apache/flex/core/IRadioButtonBead.as | 32 --------------
.../src/org/apache/flex/core/ITextAreaBead.as | 29 -------------
.../as/src/org/apache/flex/core/ITextBead.as | 29 -------------
.../src/org/apache/flex/core/ITextInputBead.as | 29 -------------
.../flex/createjs/staticControls/TextButton.as | 3 --
.../apache/flex/html/staticControls/Alert.as | 5 ---
.../apache/flex/html/staticControls/CheckBox.as | 4 --
.../apache/flex/html/staticControls/ComboBox.as | 7 ++--
.../flex/html/staticControls/Container.as | 3 --
.../apache/flex/html/staticControls/Label.as | 3 --
.../flex/html/staticControls/NumericStepper.as | 4 --
.../apache/flex/html/staticControls/Panel.as | 11 +----
.../flex/html/staticControls/RadioButton.as | 6 +--
.../flex/html/staticControls/SimpleAlert.as | 11 +----
.../apache/flex/html/staticControls/TextArea.as | 8 ----
.../flex/html/staticControls/TextButton.as | 3 --
.../flex/html/staticControls/TextInput.as | 3 --
.../flex/html/staticControls/beads/AlertBead.as | 3 +-
.../staticControls/beads/CSSTextButtonBead.as | 5 ++-
.../html/staticControls/beads/CheckBoxBead.as | 4 +-
.../html/staticControls/beads/ComboBoxBead.as | 3 +-
.../html/staticControls/beads/ContainerBead.as | 3 +-
.../html/staticControls/beads/IAlertBead.as | 27 ------------
.../html/staticControls/beads/IComboBoxView.as | 37 ++++++++++++++++
.../html/staticControls/beads/IContainerBead.as | 26 ------------
.../staticControls/beads/IDropDownListBead.as | 4 +-
.../staticControls/beads/INumericStepperBead.as | 27 ------------
.../html/staticControls/beads/IPanelBead.as | 27 ------------
.../staticControls/beads/ISimpleAlertBead.as | 26 ------------
.../staticControls/beads/ITextButtonBead.as | 26 ------------
.../staticControls/beads/NumericStepperBead.as | 4 +-
.../flex/html/staticControls/beads/PanelBead.as | 4 +-
.../staticControls/beads/RadioButtonBead.as | 5 +--
.../staticControls/beads/SimpleAlertBead.as | 9 +---
.../html/staticControls/beads/TextButtonBead.as | 3 +-
.../beads/TextButtonMeasurementBead.as | 4 +-
.../staticControls/beads/TextFieldBeadBase.as | 3 +-
.../beads/TextFieldLabelMeasurementBead.as | 6 +--
.../beads/controllers/ComboBoxController.as | 6 +--
44 files changed, 157 insertions(+), 460 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0ddf65f1/frameworks/as/defaults.css
----------------------------------------------------------------------
diff --git a/frameworks/as/defaults.css b/frameworks/as/defaults.css
index cf55157..0239460 100644
--- a/frameworks/as/defaults.css
+++ b/frameworks/as/defaults.css
@@ -56,7 +56,7 @@ Button:active
/* Global style declaration */
global
{
- ITextBead: ClassReference("org.apache.flex.html.staticControls.beads.TextFieldBead");
+ IBeadView: ClassReference("org.apache.flex.html.staticControls.beads.TextFieldBead");
IBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.TextModel");
IStatesImpl: ClassReference("org.apache.flex.core.SimpleStatesImpl");
}
@@ -64,17 +64,17 @@ global
CheckBox
{
IBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.ToggleButtonModel");
- ICheckBoxBead: ClassReference("org.apache.flex.html.staticControls.beads.CheckBoxBead");
+ IBeadView: ClassReference("org.apache.flex.html.staticControls.beads.CheckBoxBead");
}
Container
{
- IContainerBead: ClassReference("org.apache.flex.html.staticControls.beads.ContainerBead")
+ IBeadView: ClassReference("org.apache.flex.html.staticControls.beads.ContainerBead")
}
ComboBox
{
- IComboBoxBead: ClassReference("org.apache.flex.html.staticControls.beads.ComboBoxBead");
+ IBeadView: ClassReference("org.apache.flex.html.staticControls.beads.ComboBoxBead");
IBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.ComboBoxModel");
IPopUp: ClassReference("org.apache.flex.html.staticControls.supportClasses.DropDownListList");
}
@@ -105,18 +105,18 @@ List
RadioButton
{
IBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.ValueToggleButtonModel");
- IRadioButtonBead: ClassReference("org.apache.flex.html.staticControls.beads.RadioButtonBead");
+ IBeadView: ClassReference("org.apache.flex.html.staticControls.beads.RadioButtonBead");
}
TextButton
{
- ITextButtonBead: ClassReference("org.apache.flex.html.staticControls.beads.CSSTextButtonBead");
+ IBeadView: ClassReference("org.apache.flex.html.staticControls.beads.CSSTextButtonBead");
iMeasurementBead: ClassReference("org.apache.flex.html.staticControls.beads.TextButtonMeasurementBead");
}
TextInput
{
- ITextInputBead: ClassReference("org.apache.flex.html.staticControls.beads.TextInputWithBorderBead");
+ IBeadView: ClassReference("org.apache.flex.html.staticControls.beads.TextInputWithBorderBead");
width: 135;
height: 20;
}
@@ -137,7 +137,7 @@ ControlBar
Panel
{
IBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.PanelModel");
- IPanelBead: ClassReference("org.apache.flex.html.staticControls.beads.PanelBead");
+ IBeadView: ClassReference("org.apache.flex.html.staticControls.beads.PanelBead");
iBorderBead: ClassReference("org.apache.flex.html.staticControls.beads.SingleLineBorderBead");
iBackgroundBead: ClassReference("org.apache.flex.html.staticControls.beads.SolidBackgroundBead");
@@ -150,7 +150,7 @@ Panel
SimpleAlert
{
iBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.AlertModel");
- iAlertBead: ClassReference("org.apache.flex.html.staticControls.beads.SimpleAlertBead");
+ IBeadView: ClassReference("org.apache.flex.html.staticControls.beads.SimpleAlertBead");
iBorderBead: ClassReference("org.apache.flex.html.staticControls.beads.SingleLineBorderBead");
iBackgroundBead: ClassReference("org.apache.flex.html.staticControls.beads.SolidBackgroundBead");
@@ -163,7 +163,7 @@ SimpleAlert
Alert
{
iBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.AlertModel");
- iAlertBead: ClassReference("org.apache.flex.html.staticControls.beads.AlertBead");
+ IBeadView: ClassReference("org.apache.flex.html.staticControls.beads.AlertBead");
iBackgroundBead: ClassReference("org.apache.flex.html.staticControls.beads.SolidBackgroundBead");
iBorderBead: ClassReference("org.apache.flex.html.staticControls.beads.SingleLineBorderBead");
@@ -176,13 +176,13 @@ Alert
Spinner
{
iBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.SpinnerModel");
- iSpinnerBead: ClassReference("org.apache.flex.html.staticControls.beads.SpinnerBead");
+ IBeadView: ClassReference("org.apache.flex.html.staticControls.beads.SpinnerBead");
}
NumericStepper
{
iBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.SpinnerModel");
- iNumericStepperBead: ClassReference("org.apache.flex.html.staticControls.beads.NumericStepperBead");
+ IBeadView: ClassReference("org.apache.flex.html.staticControls.beads.NumericStepperBead");
padding: 0px;
border-style: solid;
@@ -197,24 +197,24 @@ NumericStepper
h5|TextButton
{
- ITextButtonBead: ClassReference("org.apache.flex.html.staticControls.beads.CSSTextButtonBead");
+ IBeadView: ClassReference("org.apache.flex.html.staticControls.beads.CSSTextButtonBead");
}
h5|TextInput
{
- ITextInputBead: ClassReference("org.apache.flex.html.staticControls.beads.TextInputWithBorderBead");
+ IBeadView: ClassReference("org.apache.flex.html.staticControls.beads.TextInputWithBorderBead");
}
h5|CheckBox
{
IBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.ToggleButtonModel");
- ICheckBoxBead: ClassReference("org.apache.flex.html.staticControls.beads.CheckBoxBead");
+ IBeadView: ClassReference("org.apache.flex.html.staticControls.beads.CheckBoxBead");
}
h5|RadioButton
{
IBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.ValueToggleButtonModel");
- IRadioButtonBead: ClassReference("org.apache.flex.html.staticControls.beads.RadioButtonBead");
+ IBeadView: ClassReference("org.apache.flex.html.staticControls.beads.RadioButtonBead");
}
h5|List
@@ -230,7 +230,7 @@ h5|DropDownList
h5|ComboBox
{
- IComboBoxBead: ClassReference("org.apache.flex.html.staticControls.beads.ComboBoxBead");
+ IBeadView: ClassReference("org.apache.flex.html.staticControls.beads.ComboBoxBead");
IBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.ComboBoxModel");
IPopUp: ClassReference("org.apache.flex.html.staticControls.supportClasses.DropDownListList");
}
@@ -239,32 +239,32 @@ h5|ComboBox
jq|TextButton
{
- ITextButtonBead: ClassReference("org.apache.flex.html.staticControls.beads.TextButtonBead");
+ IBeadView: ClassReference("org.apache.flex.html.staticControls.beads.TextButtonBead");
}
jq|CheckBox
{
IBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.ToggleButtonModel");
- ICheckBoxBead: ClassReference("org.apache.flex.html.staticControls.beads.CheckBoxBead");
+ IBeadView: ClassReference("org.apache.flex.html.staticControls.beads.CheckBoxBead");
}
jq|RadioButton
{
IBeadModel: ClassReference("org.apache.flex.html.staticControls.beads.models.ValueToggleButtonModel");
- IRadioButtonBead: ClassReference("org.apache.flex.html.staticControls.beads.RadioButtonBead");
+ IBeadView: ClassReference("org.apache.flex.html.staticControls.beads.RadioButtonBead");
}
/* createjs */
createjs|TextButton
{
- ITextButtonBead: ClassReference("org.apache.flex.html.staticControls.beads.TextButtonBead");
+ IBeadView: ClassReference("org.apache.flex.html.staticControls.beads.TextButtonBead");
}
createjs|CheckBox
{
- ICheckBoxBead: ClassReference("org.apache.flex.html.staticControls.beads.CheckBoxBead");
+ IBeadView: ClassReference("org.apache.flex.html.staticControls.beads.CheckBoxBead");
}
}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0ddf65f1/frameworks/as/src/org/apache/flex/core/IBeadController.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/core/IBeadController.as b/frameworks/as/src/org/apache/flex/core/IBeadController.as
new file mode 100644
index 0000000..69ccc58
--- /dev/null
+++ b/frameworks/as/src/org/apache/flex/core/IBeadController.as
@@ -0,0 +1,30 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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 org.apache.flex.core
+{
+ import org.apache.flex.events.IEventDispatcher;
+
+ /**
+ * Marker interface for Controllers
+ */
+ public interface IBeadController extends IBead, IEventDispatcher
+ {
+
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0ddf65f1/frameworks/as/src/org/apache/flex/core/IBeadView.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/core/IBeadView.as b/frameworks/as/src/org/apache/flex/core/IBeadView.as
new file mode 100644
index 0000000..0b6efe2
--- /dev/null
+++ b/frameworks/as/src/org/apache/flex/core/IBeadView.as
@@ -0,0 +1,30 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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 org.apache.flex.core
+{
+ import org.apache.flex.events.IEventDispatcher;
+
+ /**
+ * Marker interface for Views
+ */
+ public interface IBeadView extends IBead
+ {
+
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0ddf65f1/frameworks/as/src/org/apache/flex/core/ICheckBoxBead.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/core/ICheckBoxBead.as b/frameworks/as/src/org/apache/flex/core/ICheckBoxBead.as
deleted file mode 100644
index 50ac716..0000000
--- a/frameworks/as/src/org/apache/flex/core/ICheckBoxBead.as
+++ /dev/null
@@ -1,26 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// 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 org.apache.flex.core
-{
- public interface ICheckBoxBead extends IBead
- {
- function get text():String;
- function set text(value:String):void;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0ddf65f1/frameworks/as/src/org/apache/flex/core/IComboBoxBead.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/core/IComboBoxBead.as b/frameworks/as/src/org/apache/flex/core/IComboBoxBead.as
deleted file mode 100644
index 6fd3e7a..0000000
--- a/frameworks/as/src/org/apache/flex/core/IComboBoxBead.as
+++ /dev/null
@@ -1,35 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// 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 org.apache.flex.core
-{
-
- public interface IComboBoxBead extends IBead
- {
- function get text():String;
- function set text(value:String):void;
-
- function get html():String;
- function set html(value:String):void;
-
- function get popUp():IStrand;
-
- function get popUpVisible():Boolean;
- function set popUpVisible(value:Boolean):void;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0ddf65f1/frameworks/as/src/org/apache/flex/core/IRadioButtonBead.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/core/IRadioButtonBead.as b/frameworks/as/src/org/apache/flex/core/IRadioButtonBead.as
deleted file mode 100644
index be4aa82..0000000
--- a/frameworks/as/src/org/apache/flex/core/IRadioButtonBead.as
+++ /dev/null
@@ -1,32 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// 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 org.apache.flex.core
-{
- public interface IRadioButtonBead extends IBead
- {
- function get text():String;
- function set text(value:String):void;
-
- function get html():String;
- function set html(value:String):void;
-
- function get selected():Boolean;
- function set selected(value:Boolean):void;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0ddf65f1/frameworks/as/src/org/apache/flex/core/ITextAreaBead.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/core/ITextAreaBead.as b/frameworks/as/src/org/apache/flex/core/ITextAreaBead.as
deleted file mode 100644
index 1b2d747..0000000
--- a/frameworks/as/src/org/apache/flex/core/ITextAreaBead.as
+++ /dev/null
@@ -1,29 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// 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 org.apache.flex.core
-{
- public interface ITextAreaBead extends IBead
- {
- function get text():String;
- function set text(value:String):void;
-
- function get html():String;
- function set html(value:String):void;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0ddf65f1/frameworks/as/src/org/apache/flex/core/ITextBead.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/core/ITextBead.as b/frameworks/as/src/org/apache/flex/core/ITextBead.as
deleted file mode 100644
index 3918ea6..0000000
--- a/frameworks/as/src/org/apache/flex/core/ITextBead.as
+++ /dev/null
@@ -1,29 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// 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 org.apache.flex.core
-{
- public interface ITextBead extends IBead
- {
- function get text():String;
- function set text(value:String):void;
-
- function get html():String;
- function set html(value:String):void;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0ddf65f1/frameworks/as/src/org/apache/flex/core/ITextInputBead.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/core/ITextInputBead.as b/frameworks/as/src/org/apache/flex/core/ITextInputBead.as
deleted file mode 100644
index c0ab35c..0000000
--- a/frameworks/as/src/org/apache/flex/core/ITextInputBead.as
+++ /dev/null
@@ -1,29 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// 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 org.apache.flex.core
-{
- public interface ITextInputBead extends IBead
- {
- function get text():String;
- function set text(value:String):void;
-
- function get html():String;
- function set html(value:String):void;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0ddf65f1/frameworks/as/src/org/apache/flex/createjs/staticControls/TextButton.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/createjs/staticControls/TextButton.as b/frameworks/as/src/org/apache/flex/createjs/staticControls/TextButton.as
index 74aa8cd..36f216f 100644
--- a/frameworks/as/src/org/apache/flex/createjs/staticControls/TextButton.as
+++ b/frameworks/as/src/org/apache/flex/createjs/staticControls/TextButton.as
@@ -25,7 +25,6 @@ package org.apache.flex.createjs.staticControls
import org.apache.flex.core.IInitSkin;
import org.apache.flex.core.ValuesManager;
import org.apache.flex.html.staticControls.Button;
- import org.apache.flex.html.staticControls.beads.ITextButtonBead;
public class TextButton extends Button implements IInitSkin
{
@@ -54,8 +53,6 @@ package org.apache.flex.createjs.staticControls
override public function initSkin():void
{
- if (getBeadByType(ITextButtonBead) == null)
- addBead(new (ValuesManager.valuesImpl.getValue(this, "iTextButtonBead")) as IBead);
}
}
}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0ddf65f1/frameworks/as/src/org/apache/flex/html/staticControls/Alert.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/html/staticControls/Alert.as b/frameworks/as/src/org/apache/flex/html/staticControls/Alert.as
index c7dff7d..21cfe87 100644
--- a/frameworks/as/src/org/apache/flex/html/staticControls/Alert.as
+++ b/frameworks/as/src/org/apache/flex/html/staticControls/Alert.as
@@ -25,7 +25,6 @@ package org.apache.flex.html.staticControls
import org.apache.flex.core.UIBase;
import org.apache.flex.core.ValuesManager;
import org.apache.flex.events.Event;
- import org.apache.flex.html.staticControls.beads.IAlertBead;
import org.apache.flex.html.staticControls.beads.IBackgroundBead;
import org.apache.flex.html.staticControls.beads.IBorderBead;
@@ -92,10 +91,6 @@ package org.apache.flex.html.staticControls
public function initSkin():void
{
- if( getBeadByType(IAlertBead) == null ) {
- addBead(new (ValuesManager.valuesImpl.getValue(this, "iAlertBead")) as IBead);
- }
-
addEventListener("close",handleAlertClose);
}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0ddf65f1/frameworks/as/src/org/apache/flex/html/staticControls/CheckBox.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/html/staticControls/CheckBox.as b/frameworks/as/src/org/apache/flex/html/staticControls/CheckBox.as
index 8cf36f5..1558290 100644
--- a/frameworks/as/src/org/apache/flex/html/staticControls/CheckBox.as
+++ b/frameworks/as/src/org/apache/flex/html/staticControls/CheckBox.as
@@ -24,7 +24,6 @@ package org.apache.flex.html.staticControls
import org.apache.flex.core.IBead;
import org.apache.flex.core.IBeadModel;
- import org.apache.flex.core.ICheckBoxBead;
import org.apache.flex.core.IToggleButtonModel;
import org.apache.flex.core.IInitSkin;
import org.apache.flex.core.IStrand;
@@ -63,9 +62,6 @@ package org.apache.flex.html.staticControls
public function initSkin():void
{
- if (getBeadByType(ICheckBoxBead) == null)
- addBead(new (ValuesManager.valuesImpl.getValue(this, "iCheckBoxBead")) as IBead);
-
_width = $width;
_height = $height;
}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0ddf65f1/frameworks/as/src/org/apache/flex/html/staticControls/ComboBox.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/html/staticControls/ComboBox.as b/frameworks/as/src/org/apache/flex/html/staticControls/ComboBox.as
index 6753694..e3e3eb3 100644
--- a/frameworks/as/src/org/apache/flex/html/staticControls/ComboBox.as
+++ b/frameworks/as/src/org/apache/flex/html/staticControls/ComboBox.as
@@ -18,8 +18,7 @@
////////////////////////////////////////////////////////////////////////////////
package org.apache.flex.html.staticControls
{
- import org.apache.flex.core.IBead;
- import org.apache.flex.core.IComboBoxBead;
+ import org.apache.flex.core.IBeadView;
import org.apache.flex.core.IComboBoxModel;
import org.apache.flex.core.IInitSkin;
import org.apache.flex.core.UIBase;
@@ -64,8 +63,8 @@ package org.apache.flex.html.staticControls
public function initSkin():void
{
- if (getBeadByType(IComboBoxBead) == null) {
- var cb:IComboBoxBead = new (ValuesManager.valuesImpl.getValue(this, "iComboBoxBead")) as IComboBoxBead;
+ if (getBeadByType(IBeadView) == null) {
+ var cb:IBeadView = new (ValuesManager.valuesImpl.getValue(this, "iBeadView")) as IBeadView;
addBead(cb);
var lc:ComboBoxController = new ComboBoxController();
addBead(lc);
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0ddf65f1/frameworks/as/src/org/apache/flex/html/staticControls/Container.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/html/staticControls/Container.as b/frameworks/as/src/org/apache/flex/html/staticControls/Container.as
index 6e31c7f..b6a7baf 100644
--- a/frameworks/as/src/org/apache/flex/html/staticControls/Container.as
+++ b/frameworks/as/src/org/apache/flex/html/staticControls/Container.as
@@ -27,7 +27,6 @@ package org.apache.flex.html.staticControls
import org.apache.flex.core.UIBase;
import org.apache.flex.core.ValuesManager;
import org.apache.flex.events.Event;
- import org.apache.flex.html.staticControls.beads.IContainerBead;
[Event(name="change", type="org.apache.flex.events.Event")]
@@ -44,8 +43,6 @@ package org.apache.flex.html.staticControls
public function initSkin():void
{
- if (getBeadByType(IContainerBead) == null)
- addBead(new (ValuesManager.valuesImpl.getValue(this, "iContainerBead")) as IBead);
}
private var actualParent:DisplayObjectContainer;
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0ddf65f1/frameworks/as/src/org/apache/flex/html/staticControls/Label.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/html/staticControls/Label.as b/frameworks/as/src/org/apache/flex/html/staticControls/Label.as
index baf2203..cff219c 100644
--- a/frameworks/as/src/org/apache/flex/html/staticControls/Label.as
+++ b/frameworks/as/src/org/apache/flex/html/staticControls/Label.as
@@ -20,7 +20,6 @@ package org.apache.flex.html.staticControls
{
import org.apache.flex.core.IBead;
import org.apache.flex.core.IInitSkin;
- import org.apache.flex.core.ITextBead;
import org.apache.flex.core.ITextModel;
import org.apache.flex.core.UIBase;
import org.apache.flex.core.ValuesManager;
@@ -61,8 +60,6 @@ package org.apache.flex.html.staticControls
public function initSkin():void
{
- if (getBeadByType(ITextBead) == null)
- addBead(new (ValuesManager.valuesImpl.getValue(this, "iTextBead")) as IBead);
}
override public function set width(value:Number):void
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0ddf65f1/frameworks/as/src/org/apache/flex/html/staticControls/NumericStepper.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/html/staticControls/NumericStepper.as b/frameworks/as/src/org/apache/flex/html/staticControls/NumericStepper.as
index 76339e9..631409d 100644
--- a/frameworks/as/src/org/apache/flex/html/staticControls/NumericStepper.as
+++ b/frameworks/as/src/org/apache/flex/html/staticControls/NumericStepper.as
@@ -21,7 +21,6 @@ package org.apache.flex.html.staticControls
import org.apache.flex.core.IBead;
import org.apache.flex.core.ISpinnerModel;
import org.apache.flex.core.ValuesManager;
- import org.apache.flex.html.staticControls.beads.INumericStepperBead;
[Event(name="valueChanged", type="org.apache.flex.events.Event")]
public class NumericStepper extends Container
@@ -80,9 +79,6 @@ package org.apache.flex.html.staticControls
{
super.initSkin();
- if (getBeadByType(INumericStepperBead) == null ) {
- addBead(new (ValuesManager.valuesImpl.getValue(this, "iNumericStepperBead")) as IBead);
- }
}
}
}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0ddf65f1/frameworks/as/src/org/apache/flex/html/staticControls/Panel.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/html/staticControls/Panel.as b/frameworks/as/src/org/apache/flex/html/staticControls/Panel.as
index abf6016..a5b04c8 100644
--- a/frameworks/as/src/org/apache/flex/html/staticControls/Panel.as
+++ b/frameworks/as/src/org/apache/flex/html/staticControls/Panel.as
@@ -18,12 +18,7 @@
////////////////////////////////////////////////////////////////////////////////
package org.apache.flex.html.staticControls
{
- import org.apache.flex.core.IBead;
import org.apache.flex.core.IPanelModel;
- import org.apache.flex.core.ValuesManager;
- import org.apache.flex.events.Event;
- import org.apache.flex.html.staticControls.beads.IPanelBead;
- import org.apache.flex.html.staticControls.beads.PanelBead;
[Event(name="close", type="org.apache.flex.events.Event")]
@@ -74,11 +69,7 @@ package org.apache.flex.html.staticControls
override public function initSkin():void
{
super.initSkin();
-
- if( getBeadByType(IPanelBead) == null) {
- addBead(new (ValuesManager.valuesImpl.getValue(this,"iPanelBead")) as IBead);
- }
-
+
}
}
}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0ddf65f1/frameworks/as/src/org/apache/flex/html/staticControls/RadioButton.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/html/staticControls/RadioButton.as b/frameworks/as/src/org/apache/flex/html/staticControls/RadioButton.as
index 41bb87a..ad42c4b 100644
--- a/frameworks/as/src/org/apache/flex/html/staticControls/RadioButton.as
+++ b/frameworks/as/src/org/apache/flex/html/staticControls/RadioButton.as
@@ -27,7 +27,7 @@ package org.apache.flex.html.staticControls
import org.apache.flex.core.IBead;
import org.apache.flex.core.IBeadModel;
import org.apache.flex.core.IInitSkin;
- import org.apache.flex.core.IRadioButtonBead;
+ import org.apache.flex.core.IBeadView;
import org.apache.flex.core.IStrand;
import org.apache.flex.core.IValueToggleButtonModel;
import org.apache.flex.core.ValuesManager;
@@ -118,8 +118,8 @@ package org.apache.flex.html.staticControls
public function initSkin():void
{
- if (getBeadByType(IRadioButtonBead) == null)
- addBead(new (ValuesManager.valuesImpl.getValue(this, "iRadioButtonBead")) as IBead);
+ if (getBeadByType(IBeadView) == null)
+ addBead(new (ValuesManager.valuesImpl.getValue(this, "iBeadView")) as IBead);
_width = $width;
_height = $height;
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0ddf65f1/frameworks/as/src/org/apache/flex/html/staticControls/SimpleAlert.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/html/staticControls/SimpleAlert.as b/frameworks/as/src/org/apache/flex/html/staticControls/SimpleAlert.as
index 9b62e3f..f0b528e 100644
--- a/frameworks/as/src/org/apache/flex/html/staticControls/SimpleAlert.as
+++ b/frameworks/as/src/org/apache/flex/html/staticControls/SimpleAlert.as
@@ -19,15 +19,10 @@
package org.apache.flex.html.staticControls
{
import org.apache.flex.core.IAlertModel;
- import org.apache.flex.core.IBead;
import org.apache.flex.core.IInitSkin;
import org.apache.flex.core.IPopUp;
import org.apache.flex.core.UIBase;
- import org.apache.flex.core.ValuesManager;
import org.apache.flex.events.Event;
- import org.apache.flex.html.staticControls.beads.IBackgroundBead;
- import org.apache.flex.html.staticControls.beads.IBorderBead;
- import org.apache.flex.html.staticControls.beads.ISimpleAlertBead;
[Event(name="close", type="org.apache.flex.events.Event")]
@@ -59,11 +54,7 @@ package org.apache.flex.html.staticControls
}
public function initSkin():void
- {
- if( getBeadByType(ISimpleAlertBead) == null ) {
- addBead(new (ValuesManager.valuesImpl.getValue(this, "iAlertBead")) as IBead);
- }
-
+ {
addEventListener("close",handleAlertClose);
}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0ddf65f1/frameworks/as/src/org/apache/flex/html/staticControls/TextArea.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/html/staticControls/TextArea.as b/frameworks/as/src/org/apache/flex/html/staticControls/TextArea.as
index 9eaa7f4..c8812e2 100644
--- a/frameworks/as/src/org/apache/flex/html/staticControls/TextArea.as
+++ b/frameworks/as/src/org/apache/flex/html/staticControls/TextArea.as
@@ -18,13 +18,9 @@
////////////////////////////////////////////////////////////////////////////////
package org.apache.flex.html.staticControls
{
- import org.apache.flex.core.IBead;
import org.apache.flex.core.IInitSkin;
- import org.apache.flex.core.ITextAreaBead;
import org.apache.flex.core.ITextModel;
import org.apache.flex.core.UIBase;
- import org.apache.flex.core.ValuesManager;
- import org.apache.flex.html.staticControls.beads.TextAreaBead;
public class TextArea extends UIBase implements IInitSkin
{
@@ -53,10 +49,6 @@ package org.apache.flex.html.staticControls
public function initSkin():void
{
- if (getBeadByType(ITextAreaBead) == null) {
- var tab:TextAreaBead = new TextAreaBead();
- addBead(tab);
- }
}
}
}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0ddf65f1/frameworks/as/src/org/apache/flex/html/staticControls/TextButton.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/html/staticControls/TextButton.as b/frameworks/as/src/org/apache/flex/html/staticControls/TextButton.as
index b08e5c7..1a302f5 100644
--- a/frameworks/as/src/org/apache/flex/html/staticControls/TextButton.as
+++ b/frameworks/as/src/org/apache/flex/html/staticControls/TextButton.as
@@ -24,7 +24,6 @@ package org.apache.flex.html.staticControls
import org.apache.flex.core.IInitSkin;
import org.apache.flex.core.ITextModel;
import org.apache.flex.core.ValuesManager;
- import org.apache.flex.html.staticControls.beads.ITextButtonBead;
public class TextButton extends Button implements IInitSkin
{
@@ -53,8 +52,6 @@ package org.apache.flex.html.staticControls
override public function initSkin():void
{
- if (getBeadByType(ITextButtonBead) == null)
- addBead(new (ValuesManager.valuesImpl.getValue(this, "iTextButtonBead")) as IBead);
}
}
}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0ddf65f1/frameworks/as/src/org/apache/flex/html/staticControls/TextInput.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/html/staticControls/TextInput.as b/frameworks/as/src/org/apache/flex/html/staticControls/TextInput.as
index 7be663c..c88e253 100644
--- a/frameworks/as/src/org/apache/flex/html/staticControls/TextInput.as
+++ b/frameworks/as/src/org/apache/flex/html/staticControls/TextInput.as
@@ -19,7 +19,6 @@ package org.apache.flex.html.staticControls
{
import org.apache.flex.core.IBead;
import org.apache.flex.core.IInitSkin;
- import org.apache.flex.core.ITextInputBead;
import org.apache.flex.core.ITextModel;
import org.apache.flex.core.UIBase;
import org.apache.flex.core.ValuesManager;
@@ -51,8 +50,6 @@ package org.apache.flex.html.staticControls
public function initSkin():void
{
- if (getBeadByType(ITextInputBead) == null)
- addBead(new (ValuesManager.valuesImpl.getValue(this, "iTextInputBead")) as IBead);
}
}
}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0ddf65f1/frameworks/as/src/org/apache/flex/html/staticControls/beads/AlertBead.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/html/staticControls/beads/AlertBead.as b/frameworks/as/src/org/apache/flex/html/staticControls/beads/AlertBead.as
index f14fd79..87c2668 100644
--- a/frameworks/as/src/org/apache/flex/html/staticControls/beads/AlertBead.as
+++ b/frameworks/as/src/org/apache/flex/html/staticControls/beads/AlertBead.as
@@ -20,6 +20,7 @@ package org.apache.flex.html.staticControls.beads
{
import org.apache.flex.core.IAlertModel;
import org.apache.flex.core.IBead;
+ import org.apache.flex.core.IBeadView;
import org.apache.flex.core.IMeasurementBead;
import org.apache.flex.core.IStrand;
import org.apache.flex.core.UIBase;
@@ -34,7 +35,7 @@ package org.apache.flex.html.staticControls.beads
import org.apache.flex.html.staticControls.TitleBar;
import org.apache.flex.utils.BeadMetrics;
- public class AlertBead implements IAlertBead
+ public class AlertBead implements IBeadView
{
public function AlertBead()
{
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0ddf65f1/frameworks/as/src/org/apache/flex/html/staticControls/beads/CSSTextButtonBead.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/html/staticControls/beads/CSSTextButtonBead.as b/frameworks/as/src/org/apache/flex/html/staticControls/beads/CSSTextButtonBead.as
index 4e3ce57..c447628 100644
--- a/frameworks/as/src/org/apache/flex/html/staticControls/beads/CSSTextButtonBead.as
+++ b/frameworks/as/src/org/apache/flex/html/staticControls/beads/CSSTextButtonBead.as
@@ -27,14 +27,15 @@ package org.apache.flex.html.staticControls.beads
import flash.text.TextField;
import flash.text.TextFieldType;
- import org.apache.flex.core.CSSTextField;
+ import org.apache.flex.core.IBeadView;
+ import org.apache.flex.core.CSSTextField;
import org.apache.flex.core.IStrand;
import org.apache.flex.core.ITextModel;
import org.apache.flex.core.ValuesManager;
import org.apache.flex.events.Event;
import org.apache.flex.utils.SolidBorderUtil;
- public class CSSTextButtonBead implements ITextButtonBead
+ public class CSSTextButtonBead implements IBeadView
{
public function CSSTextButtonBead()
{
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0ddf65f1/frameworks/as/src/org/apache/flex/html/staticControls/beads/CheckBoxBead.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/html/staticControls/beads/CheckBoxBead.as b/frameworks/as/src/org/apache/flex/html/staticControls/beads/CheckBoxBead.as
index 5084cab..0ea1606 100644
--- a/frameworks/as/src/org/apache/flex/html/staticControls/beads/CheckBoxBead.as
+++ b/frameworks/as/src/org/apache/flex/html/staticControls/beads/CheckBoxBead.as
@@ -26,12 +26,12 @@ package org.apache.flex.html.staticControls.beads
import org.apache.flex.core.CSSTextField;
import org.apache.flex.core.IBead;
- import org.apache.flex.core.ICheckBoxBead;
+ import org.apache.flex.core.IBeadView;
import org.apache.flex.core.IStrand;
import org.apache.flex.core.IToggleButtonModel;
import org.apache.flex.events.Event;
- public class CheckBoxBead implements IBead, ICheckBoxBead
+ public class CheckBoxBead implements IBead, IBeadView
{
public function CheckBoxBead()
{
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0ddf65f1/frameworks/as/src/org/apache/flex/html/staticControls/beads/ComboBoxBead.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/html/staticControls/beads/ComboBoxBead.as b/frameworks/as/src/org/apache/flex/html/staticControls/beads/ComboBoxBead.as
index 072489a..40daa21 100644
--- a/frameworks/as/src/org/apache/flex/html/staticControls/beads/ComboBoxBead.as
+++ b/frameworks/as/src/org/apache/flex/html/staticControls/beads/ComboBoxBead.as
@@ -23,7 +23,6 @@ package org.apache.flex.html.staticControls.beads
import flash.display.Sprite;
import org.apache.flex.core.IBead;
- import org.apache.flex.core.IComboBoxBead;
import org.apache.flex.core.IComboBoxModel;
import org.apache.flex.core.IInitSkin;
import org.apache.flex.core.IStrand;
@@ -33,7 +32,7 @@ package org.apache.flex.html.staticControls.beads
import org.apache.flex.html.staticControls.Button;
import org.apache.flex.html.staticControls.TextInput;
- public class ComboBoxBead implements IBead, IComboBoxBead
+ public class ComboBoxBead implements IBead, IComboBoxView
{
public function ComboBoxBead()
{
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0ddf65f1/frameworks/as/src/org/apache/flex/html/staticControls/beads/ContainerBead.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/html/staticControls/beads/ContainerBead.as b/frameworks/as/src/org/apache/flex/html/staticControls/beads/ContainerBead.as
index 761c601..59eb251 100644
--- a/frameworks/as/src/org/apache/flex/html/staticControls/beads/ContainerBead.as
+++ b/frameworks/as/src/org/apache/flex/html/staticControls/beads/ContainerBead.as
@@ -22,11 +22,12 @@ package org.apache.flex.html.staticControls.beads
import flash.display.Sprite;
import org.apache.flex.core.IBead;
+ import org.apache.flex.core.IBeadView;
import org.apache.flex.core.IStrand;
import org.apache.flex.core.ValuesManager;
import org.apache.flex.html.staticControls.Container;
- public class ContainerBead implements IBead, IContainerBead
+ public class ContainerBead implements IBeadView
{
public function ContainerBead()
{
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0ddf65f1/frameworks/as/src/org/apache/flex/html/staticControls/beads/IAlertBead.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/html/staticControls/beads/IAlertBead.as b/frameworks/as/src/org/apache/flex/html/staticControls/beads/IAlertBead.as
deleted file mode 100644
index 3cd360b..0000000
--- a/frameworks/as/src/org/apache/flex/html/staticControls/beads/IAlertBead.as
+++ /dev/null
@@ -1,27 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// 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 org.apache.flex.html.staticControls.beads
-{
- import org.apache.flex.core.IBead;
-
- public interface IAlertBead extends IBead
- {
-
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0ddf65f1/frameworks/as/src/org/apache/flex/html/staticControls/beads/IComboBoxView.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/html/staticControls/beads/IComboBoxView.as b/frameworks/as/src/org/apache/flex/html/staticControls/beads/IComboBoxView.as
new file mode 100644
index 0000000..e3866fc
--- /dev/null
+++ b/frameworks/as/src/org/apache/flex/html/staticControls/beads/IComboBoxView.as
@@ -0,0 +1,37 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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 org.apache.flex.html.staticControls.beads
+{
+ import org.apache.flex.core.IBeadView;
+ import org.apache.flex.core.IStrand;
+
+ public interface IComboBoxView extends IBeadView
+ {
+ function get text():String;
+ function set text(value:String):void;
+
+ function get html():String;
+ function set html(value:String):void;
+
+ function get popUp():IStrand;
+
+ function get popUpVisible():Boolean;
+ function set popUpVisible(value:Boolean):void;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0ddf65f1/frameworks/as/src/org/apache/flex/html/staticControls/beads/IContainerBead.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/html/staticControls/beads/IContainerBead.as b/frameworks/as/src/org/apache/flex/html/staticControls/beads/IContainerBead.as
deleted file mode 100644
index 261d4d4..0000000
--- a/frameworks/as/src/org/apache/flex/html/staticControls/beads/IContainerBead.as
+++ /dev/null
@@ -1,26 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// 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 org.apache.flex.html.staticControls.beads
-{
- import org.apache.flex.core.IBead;
-
- public interface IContainerBead extends IBead
- {
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0ddf65f1/frameworks/as/src/org/apache/flex/html/staticControls/beads/IDropDownListBead.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/html/staticControls/beads/IDropDownListBead.as b/frameworks/as/src/org/apache/flex/html/staticControls/beads/IDropDownListBead.as
index 2824187..cccfa80 100644
--- a/frameworks/as/src/org/apache/flex/html/staticControls/beads/IDropDownListBead.as
+++ b/frameworks/as/src/org/apache/flex/html/staticControls/beads/IDropDownListBead.as
@@ -18,10 +18,10 @@
////////////////////////////////////////////////////////////////////////////////
package org.apache.flex.html.staticControls.beads
{
- import org.apache.flex.core.IBead;
+ import org.apache.flex.core.IBeadView;
import org.apache.flex.core.IStrand;
- public interface IDropDownListBead extends IBead
+ public interface IDropDownListBead extends IBeadView
{
function get popUp():IStrand;
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0ddf65f1/frameworks/as/src/org/apache/flex/html/staticControls/beads/INumericStepperBead.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/html/staticControls/beads/INumericStepperBead.as b/frameworks/as/src/org/apache/flex/html/staticControls/beads/INumericStepperBead.as
deleted file mode 100644
index a79be24..0000000
--- a/frameworks/as/src/org/apache/flex/html/staticControls/beads/INumericStepperBead.as
+++ /dev/null
@@ -1,27 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// 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 org.apache.flex.html.staticControls.beads
-{
- import org.apache.flex.core.IBead;
-
- public interface INumericStepperBead extends IBead
- {
-
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0ddf65f1/frameworks/as/src/org/apache/flex/html/staticControls/beads/IPanelBead.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/html/staticControls/beads/IPanelBead.as b/frameworks/as/src/org/apache/flex/html/staticControls/beads/IPanelBead.as
deleted file mode 100644
index 38331ee..0000000
--- a/frameworks/as/src/org/apache/flex/html/staticControls/beads/IPanelBead.as
+++ /dev/null
@@ -1,27 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// 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 org.apache.flex.html.staticControls.beads
-{
- import org.apache.flex.core.IBead;
-
- public interface IPanelBead extends IBead
- {
-
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0ddf65f1/frameworks/as/src/org/apache/flex/html/staticControls/beads/ISimpleAlertBead.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/html/staticControls/beads/ISimpleAlertBead.as b/frameworks/as/src/org/apache/flex/html/staticControls/beads/ISimpleAlertBead.as
deleted file mode 100644
index 459b213..0000000
--- a/frameworks/as/src/org/apache/flex/html/staticControls/beads/ISimpleAlertBead.as
+++ /dev/null
@@ -1,26 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// 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 org.apache.flex.html.staticControls.beads
-{
- import org.apache.flex.core.IBead;
-
- public interface ISimpleAlertBead extends IBead
- {
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0ddf65f1/frameworks/as/src/org/apache/flex/html/staticControls/beads/ITextButtonBead.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/html/staticControls/beads/ITextButtonBead.as b/frameworks/as/src/org/apache/flex/html/staticControls/beads/ITextButtonBead.as
deleted file mode 100644
index db57e26..0000000
--- a/frameworks/as/src/org/apache/flex/html/staticControls/beads/ITextButtonBead.as
+++ /dev/null
@@ -1,26 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// 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 org.apache.flex.html.staticControls.beads
-{
- import org.apache.flex.core.ITextBead;
-
- public interface ITextButtonBead extends ITextBead
- {
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0ddf65f1/frameworks/as/src/org/apache/flex/html/staticControls/beads/NumericStepperBead.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/html/staticControls/beads/NumericStepperBead.as b/frameworks/as/src/org/apache/flex/html/staticControls/beads/NumericStepperBead.as
index 7f295c4..9b070e2 100644
--- a/frameworks/as/src/org/apache/flex/html/staticControls/beads/NumericStepperBead.as
+++ b/frameworks/as/src/org/apache/flex/html/staticControls/beads/NumericStepperBead.as
@@ -18,7 +18,7 @@
////////////////////////////////////////////////////////////////////////////////
package org.apache.flex.html.staticControls.beads
{
- import org.apache.flex.core.IBead;
+ import org.apache.flex.core.IBeadView;
import org.apache.flex.core.ISpinnerModel;
import org.apache.flex.core.IStrand;
import org.apache.flex.core.UIBase;
@@ -29,7 +29,7 @@ package org.apache.flex.html.staticControls.beads
import org.apache.flex.html.staticControls.TextInput;
import org.apache.flex.html.staticControls.beads.layouts.NonVirtualHorizontalLayout;
- public class NumericStepperBead implements IBead, INumericStepperBead
+ public class NumericStepperBead implements IBeadView
{
public function NumericStepperBead()
{
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0ddf65f1/frameworks/as/src/org/apache/flex/html/staticControls/beads/PanelBead.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/html/staticControls/beads/PanelBead.as b/frameworks/as/src/org/apache/flex/html/staticControls/beads/PanelBead.as
index f3ba9b7..078b93b 100644
--- a/frameworks/as/src/org/apache/flex/html/staticControls/beads/PanelBead.as
+++ b/frameworks/as/src/org/apache/flex/html/staticControls/beads/PanelBead.as
@@ -21,7 +21,7 @@ package org.apache.flex.html.staticControls.beads
import flash.display.DisplayObjectContainer;
import flash.display.Sprite;
- import org.apache.flex.core.IBead;
+ import org.apache.flex.core.IBeadView;
import org.apache.flex.core.IStrand;
import org.apache.flex.core.IUIBase;
import org.apache.flex.core.UIBase;
@@ -35,7 +35,7 @@ package org.apache.flex.html.staticControls.beads
import org.apache.flex.html.staticControls.TitleBar;
import org.apache.flex.utils.BeadMetrics;
- public class PanelBead extends ContainerBead implements IBead, IContainerBead
+ public class PanelBead extends ContainerBead implements IBeadView
{
public function PanelBead()
{
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0ddf65f1/frameworks/as/src/org/apache/flex/html/staticControls/beads/RadioButtonBead.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/html/staticControls/beads/RadioButtonBead.as b/frameworks/as/src/org/apache/flex/html/staticControls/beads/RadioButtonBead.as
index 617e34f..0985373 100644
--- a/frameworks/as/src/org/apache/flex/html/staticControls/beads/RadioButtonBead.as
+++ b/frameworks/as/src/org/apache/flex/html/staticControls/beads/RadioButtonBead.as
@@ -25,13 +25,12 @@ package org.apache.flex.html.staticControls.beads
import flash.text.TextFieldType;
import org.apache.flex.core.CSSTextField;
- import org.apache.flex.core.IBead;
- import org.apache.flex.core.IRadioButtonBead;
+ import org.apache.flex.core.IBeadView;
import org.apache.flex.core.IStrand;
import org.apache.flex.core.IValueToggleButtonModel;
import org.apache.flex.events.Event;
- public class RadioButtonBead implements IBead, IRadioButtonBead
+ public class RadioButtonBead implements IBeadView
{
public function RadioButtonBead()
{
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0ddf65f1/frameworks/as/src/org/apache/flex/html/staticControls/beads/SimpleAlertBead.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/html/staticControls/beads/SimpleAlertBead.as b/frameworks/as/src/org/apache/flex/html/staticControls/beads/SimpleAlertBead.as
index 56afc59..16aecbe 100644
--- a/frameworks/as/src/org/apache/flex/html/staticControls/beads/SimpleAlertBead.as
+++ b/frameworks/as/src/org/apache/flex/html/staticControls/beads/SimpleAlertBead.as
@@ -18,26 +18,21 @@
////////////////////////////////////////////////////////////////////////////////
package org.apache.flex.html.staticControls.beads
{
- import flash.display.DisplayObject;
- import flash.display.DisplayObjectContainer;
-
import org.apache.flex.core.IAlertModel;
import org.apache.flex.core.IBead;
- import org.apache.flex.core.IInitSkin;
+ import org.apache.flex.core.IBeadView;
import org.apache.flex.core.IMeasurementBead;
import org.apache.flex.core.IStrand;
- import org.apache.flex.core.ITextBead;
import org.apache.flex.core.UIBase;
import org.apache.flex.core.UIMetrics;
import org.apache.flex.core.ValuesManager;
import org.apache.flex.events.Event;
import org.apache.flex.events.IEventDispatcher;
- import org.apache.flex.events.ValueChangeEvent;
import org.apache.flex.html.staticControls.Label;
import org.apache.flex.html.staticControls.TextButton;
import org.apache.flex.utils.BeadMetrics;
- public class SimpleAlertBead implements ISimpleAlertBead
+ public class SimpleAlertBead implements IBeadView
{
public function SimpleAlertBead()
{
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0ddf65f1/frameworks/as/src/org/apache/flex/html/staticControls/beads/TextButtonBead.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/html/staticControls/beads/TextButtonBead.as b/frameworks/as/src/org/apache/flex/html/staticControls/beads/TextButtonBead.as
index 8f63425..734de7d 100644
--- a/frameworks/as/src/org/apache/flex/html/staticControls/beads/TextButtonBead.as
+++ b/frameworks/as/src/org/apache/flex/html/staticControls/beads/TextButtonBead.as
@@ -23,11 +23,12 @@ package org.apache.flex.html.staticControls.beads
import flash.text.TextFieldType;
import org.apache.flex.core.CSSTextField;
+ import org.apache.flex.core.IBeadView;
import org.apache.flex.core.IStrand;
import org.apache.flex.core.ITextModel;
import org.apache.flex.events.Event;
- public class TextButtonBead implements ITextButtonBead
+ public class TextButtonBead implements IBeadView
{
public function TextButtonBead()
{
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0ddf65f1/frameworks/as/src/org/apache/flex/html/staticControls/beads/TextButtonMeasurementBead.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/html/staticControls/beads/TextButtonMeasurementBead.as b/frameworks/as/src/org/apache/flex/html/staticControls/beads/TextButtonMeasurementBead.as
index e5fbee2..b6c54f6 100644
--- a/frameworks/as/src/org/apache/flex/html/staticControls/beads/TextButtonMeasurementBead.as
+++ b/frameworks/as/src/org/apache/flex/html/staticControls/beads/TextButtonMeasurementBead.as
@@ -29,14 +29,14 @@ package org.apache.flex.html.staticControls.beads
public function get measuredWidth():Number
{
- var bead:TextButtonBead = _strand.getBeadByType(ITextButtonBead) as TextButtonBead;
+ var bead:TextButtonBead = _strand.getBeadByType(TextButtonBead) as TextButtonBead;
if( bead ) return Math.max(bead.upTextField.textWidth,bead.downTextField.textWidth,bead.overTextField.textWidth);
else return 0;
}
public function get measuredHeight():Number
{
- var bead:TextButtonBead = _strand.getBeadByType(ITextButtonBead) as TextButtonBead;
+ var bead:TextButtonBead = _strand.getBeadByType(TextButtonBead) as TextButtonBead;
if( bead ) return Math.max(bead.upTextField.textHeight,bead.downTextField.textHeight,bead.overTextField.textHeight);
else return 0;
}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0ddf65f1/frameworks/as/src/org/apache/flex/html/staticControls/beads/TextFieldBeadBase.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/html/staticControls/beads/TextFieldBeadBase.as b/frameworks/as/src/org/apache/flex/html/staticControls/beads/TextFieldBeadBase.as
index 6b19447..de9026e 100644
--- a/frameworks/as/src/org/apache/flex/html/staticControls/beads/TextFieldBeadBase.as
+++ b/frameworks/as/src/org/apache/flex/html/staticControls/beads/TextFieldBeadBase.as
@@ -24,11 +24,10 @@ package org.apache.flex.html.staticControls.beads
import org.apache.flex.core.CSSTextField;
import org.apache.flex.core.IBead;
import org.apache.flex.core.IStrand;
- import org.apache.flex.core.ITextBead;
import org.apache.flex.core.ITextModel;
import org.apache.flex.events.Event;
- public class TextFieldBeadBase implements IBead, ITextBead
+ public class TextFieldBeadBase implements IBead
{
public function TextFieldBeadBase()
{
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0ddf65f1/frameworks/as/src/org/apache/flex/html/staticControls/beads/TextFieldLabelMeasurementBead.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/html/staticControls/beads/TextFieldLabelMeasurementBead.as b/frameworks/as/src/org/apache/flex/html/staticControls/beads/TextFieldLabelMeasurementBead.as
index d73a26c..272dbc1 100644
--- a/frameworks/as/src/org/apache/flex/html/staticControls/beads/TextFieldLabelMeasurementBead.as
+++ b/frameworks/as/src/org/apache/flex/html/staticControls/beads/TextFieldLabelMeasurementBead.as
@@ -20,8 +20,6 @@ package org.apache.flex.html.staticControls.beads
{
import org.apache.flex.core.IMeasurementBead;
import org.apache.flex.core.IStrand;
- import org.apache.flex.core.ITextBead;
- import org.apache.flex.core.UIBase;
public class TextFieldLabelMeasurementBead implements IMeasurementBead
{
@@ -31,14 +29,14 @@ package org.apache.flex.html.staticControls.beads
public function get measuredWidth():Number
{
- var bead:TextFieldBead = _strand.getBeadByType(ITextBead) as TextFieldBead;
+ var bead:TextFieldBead = _strand.getBeadByType(TextFieldBead) as TextFieldBead;
if( bead ) return bead.textField.textWidth;
else return 0;
}
public function get measuredHeight():Number
{
- var bead:TextFieldBead = _strand.getBeadByType(ITextBead) as TextFieldBead;
+ var bead:TextFieldBead = _strand.getBeadByType(TextFieldBead) as TextFieldBead;
if( bead ) return bead.textField.textHeight;
else return 0;
}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0ddf65f1/frameworks/as/src/org/apache/flex/html/staticControls/beads/controllers/ComboBoxController.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/html/staticControls/beads/controllers/ComboBoxController.as b/frameworks/as/src/org/apache/flex/html/staticControls/beads/controllers/ComboBoxController.as
index 6439bf8..9ef5821 100644
--- a/frameworks/as/src/org/apache/flex/html/staticControls/beads/controllers/ComboBoxController.as
+++ b/frameworks/as/src/org/apache/flex/html/staticControls/beads/controllers/ComboBoxController.as
@@ -22,7 +22,7 @@ package org.apache.flex.html.staticControls.beads.controllers
import flash.events.MouseEvent;
import org.apache.flex.core.IBead;
- import org.apache.flex.core.IComboBoxBead;
+ import org.apache.flex.html.staticControls.beads.IComboBoxView;
import org.apache.flex.core.ISelectionModel;
import org.apache.flex.core.IStrand;
import org.apache.flex.events.Event;
@@ -44,7 +44,7 @@ package org.apache.flex.html.staticControls.beads.controllers
private function clickHandler(event:MouseEvent):void
{
- var viewBead:IComboBoxBead = _strand.getBeadByType(IComboBoxBead) as IComboBoxBead;
+ var viewBead:IComboBoxView = _strand.getBeadByType(IComboBoxView) as IComboBoxView;
viewBead.popUpVisible = true;
var selectionModel:ISelectionModel = _strand.getBeadByType(ISelectionModel) as ISelectionModel;
var popUpModel:ISelectionModel = viewBead.popUp.getBeadByType(ISelectionModel) as ISelectionModel;
@@ -59,7 +59,7 @@ package org.apache.flex.html.staticControls.beads.controllers
private function changeHandler(event:Event):void
{
- var viewBead:IComboBoxBead = _strand.getBeadByType(IComboBoxBead) as IComboBoxBead;
+ var viewBead:IComboBoxView = _strand.getBeadByType(IComboBoxView) as IComboBoxView;
viewBead.popUpVisible = false;
var selectionModel:ISelectionModel = _strand.getBeadByType(ISelectionModel) as ISelectionModel;
var popUpModel:ISelectionModel = viewBead.popUp.getBeadByType(ISelectionModel) as ISelectionModel;