diff options
author | xue <> | 2007-02-05 02:24:34 +0000 |
---|---|---|
committer | xue <> | 2007-02-05 02:24:34 +0000 |
commit | 0aaa8b5ef02479653c0a532d9249b423ef34c7ca (patch) | |
tree | 49bc696f3039407d0034bbdd02603fed17d7d263 /framework/interfaces.php | |
parent | 7f26be1e2ca7cc1d48a0627018eb287330a3bd90 (diff) |
Added IStyleable and fixed style rendering issue about TDataList.
Diffstat (limited to 'framework/interfaces.php')
-rw-r--r-- | framework/interfaces.php | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/framework/interfaces.php b/framework/interfaces.php index 48164dc0..31bbefd7 100644 --- a/framework/interfaces.php +++ b/framework/interfaces.php @@ -283,6 +283,32 @@ interface IBindable }
/**
+ * IStyleable interface.
+ *
+ * This interface should be implemented by classes that support CSS styles.
+ *
+ * @author Qiang Xue <qiang.xue@gmail.com>
+ * @version $Id$
+ * @package System
+ * @since 3.1.0
+ */
+interface IStyleable
+{
+ /**
+ * @return boolean whether the object has defined any style information
+ */
+ public function getHasStyle();
+ /**
+ * @return TStyle the object representing the css style of the object
+ */
+ public function getStyle();
+ /**
+ * Removes all styles associated with the object
+ */
+ public function clearStyle();
+}
+
+/**
* IActiveControl interface.
*
* Active controls must implement IActiveControl interface.
|