You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by pe...@apache.org on 2018/02/14 20:27:48 UTC
[royale-asjs] branch feature/DividedBox updated: Removed the
direction property from the DividedBoxModel and DividedBox component.
This is an automated email from the ASF dual-hosted git repository.
pent pushed a commit to branch feature/DividedBox
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/feature/DividedBox by this push:
new a8140ab Removed the direction property from the DividedBoxModel and DividedBox component.
a8140ab is described below
commit a8140aba84ce6ffdd1908a07f830ec1fbfe3d89b
Author: Peter Ent <pe...@apache.org>
AuthorDate: Wed Feb 14 15:27:44 2018 -0500
Removed the direction property from the DividedBoxModel and DividedBox component.
---
.../royale/org/apache/royale/html/DividedBox.as | 19 -----------------
.../royale/org/apache/royale/html/HDividedBox.as | 1 -
.../royale/org/apache/royale/html/VDividedBox.as | 1 -
.../royale/html/beads/models/DividedBoxModel.as | 24 ----------------------
4 files changed, 45 deletions(-)
diff --git a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/DividedBox.as b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/DividedBox.as
index c92c09d..79f58e3 100644
--- a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/DividedBox.as
+++ b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/DividedBox.as
@@ -104,25 +104,6 @@ package org.apache.royale.html
_initialized = true;
}
}
-
- /**
- * Sets the direction of the divided box. Setting direction to "horizontal" divides
- * the box into columns with a separator between each column. Setting direction to
- * "vertical" divides the box into rows with separators between the rows.
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion Royale 0.9
- */
- public function get direction():String
- {
- return DividedBoxModel(model).direction;
- }
- public function set direction(value:String):void
- {
- DividedBoxModel(model).direction = value;
- }
// IMXMLDocument
diff --git a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/HDividedBox.as b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/HDividedBox.as
index f0a68f1..dac743f 100644
--- a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/HDividedBox.as
+++ b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/HDividedBox.as
@@ -41,7 +41,6 @@ package org.apache.royale.html
{
super();
typeNames = "HDividedBox";
- direction = "horizontal";
}
}
}
\ No newline at end of file
diff --git a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/VDividedBox.as b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/VDividedBox.as
index 1f0c16f..2c6773b 100644
--- a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/VDividedBox.as
+++ b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/VDividedBox.as
@@ -41,7 +41,6 @@ package org.apache.royale.html
{
super();
typeNames = "VDividedBox";
- direction = "vertical";
}
}
}
\ No newline at end of file
diff --git a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/models/DividedBoxModel.as b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/models/DividedBoxModel.as
index fdea1f9..398d50c 100644
--- a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/models/DividedBoxModel.as
+++ b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/models/DividedBoxModel.as
@@ -57,30 +57,6 @@ package org.apache.royale.html.beads.models
_strand = value;
}
- private var _direction:String = "vertical";
-
- [Binding("directionChanged")]
-
- /**
- * The direction of the DividedBox. This can be "horizontal" (the
- * children arranged in flexible columns) or "vertical" (the children
- * arranged in flexible rows).
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion Royale 0.9
- */
- public function get direction():String
- {
- return _direction;
- }
- public function set direction(value:String):void
- {
- _direction = value;
- dispatchEvent(new Event("directionChanged"));
- }
-
private var _pairAdjustments:Array = [0];
/**
--
To stop receiving notification emails like this one, please contact
pent@apache.org.