From ca22da21b0cedab985e698f4dedf3ac1158a1487 Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Tue, 20 Jan 2015 23:42:12 +0100 Subject: one class per file: framework/Web/UI/WebControls --- framework/Web/UI/WebControls/TBulletedList.php | 83 +------------------------- 1 file changed, 1 insertion(+), 82 deletions(-) (limited to 'framework/Web/UI/WebControls/TBulletedList.php') diff --git a/framework/Web/UI/WebControls/TBulletedList.php b/framework/Web/UI/WebControls/TBulletedList.php index 9cd3654e..f08a621a 100644 --- a/framework/Web/UI/WebControls/TBulletedList.php +++ b/framework/Web/UI/WebControls/TBulletedList.php @@ -403,85 +403,4 @@ class TBulletedList extends TListControl implements IPostBackEventHandler { throw new TNotSupportedException('bulletedlist_selectedvalue_unsupported'); } -} - -/** - * TBulletedListEventParameter - * Event parameter for {@link TBulletedList::onClick Click} event of the - * bulleted list. The {@link getIndex Index} gives the zero-based index - * of the item that is currently being clicked. - * - * @author Qiang Xue - * @package System.Web.UI.WebControls - * @since 3.0 - */ -class TBulletedListEventParameter extends TEventParameter -{ - /** - * @var integer index of the item clicked - */ - private $_index; - - /** - * Constructor. - * @param integer index of the item clicked - */ - public function __construct($index) - { - $this->_index=$index; - } - - /** - * @return integer zero-based index of the item (rendered as a link button) that is clicked - */ - public function getIndex() - { - return $this->_index; - } -} - -/** - * TBulletStyle class. - * TBulletStyle defines the enumerable type for the possible bullet styles that may be used - * for a {@link TBulletedList} control. - * - * @author Qiang Xue - * @package System.Web.UI.WebControls - * @since 3.0.4 - */ -class TBulletStyle extends TEnumerable -{ - const NotSet='NotSet'; - const None='None'; - const Numbered='Numbered'; - const LowerAlpha='LowerAlpha'; - const UpperAlpha='UpperAlpha'; - const LowerRoman='LowerRoman'; - const UpperRoman='UpperRoman'; - const Disc='Disc'; - const Circle='Circle'; - const Square='Square'; - const CustomImage='CustomImage'; -} - -/** - * TBulletedListDisplayMode class. - * TBulletedListDisplayMode defines the enumerable type for the possible display mode - * of a {@link TBulletedList} control. - * - * The following enumerable values are defined: - * - Text: the bulleted list items are displayed as plain texts - * - HyperLink: the bulleted list items are displayed as hyperlinks - * - LinkButton: the bulleted list items are displayed as link buttons that can cause postbacks - * - * @author Qiang Xue - * @package System.Web.UI.WebControls - * @since 3.0.4 - */ -class TBulletedListDisplayMode extends TEnumerable -{ - const Text='Text'; - const HyperLink='HyperLink'; - const LinkButton='LinkButton'; -} - +} \ No newline at end of file -- cgit v1.2.3