Flex中通过verticalGap样式设置LinkButton的竖直方向图标和标签之间距离的例子
Friday, September 12th, 2008在前面的Flex中通过horizontalGap样式设置LinkButton控件图标(Icon)和标签(Label)之间间隔距离的例子中,我们了解了Flex中如何通过horizontalGap样式,设置LinkButton控件图标(Icon)和标签(Label)之间间隔距离。类似的,接下来的例子演示了Flex中如何通过verticalGap样式,设置LinkButton的竖直方向图标和标签之间距离。
让我们先来看一下Demo(可以右键View Source或点击这里察看源代码):
Flex中如何扩展LinkButton控件并且添加自定义的样式的例子
Tuesday, September 9th, 2008接下来的例子演示了Flex中如何扩展LinkButton控件并且添加自定义的样式。
让我们先来看一下Demo(可以右键View Source或点击这里察看源代码):
Flex中通过扩展LinkButton类和重载enabled函数以及设置useHandCursor属性移除无效状态下LinkButton手型光标的例子
Sunday, September 7th, 2008接下来的例子演示了Flex中如何通过扩展LinkButton类和重载enabled函数以及设置useHandCursor属性,移除无效状态下LinkButton手型光标。Demo中enabled的CheckBox为Off时,后面两个LinkButton鼠标不是手型的。
让我们先来看一下Demo(可以右键View Source或点击这里察看源代码):
Flex中通过horizontalGap样式设置LinkButton控件图标(Icon)和标签(Label)之间间隔距离的例子
Sunday, September 7th, 2008接下来的例子演示了Flex中如何通过horizontalGap样式,设置LinkButton控件图标(Icon)和标签(Label)之间间隔距离。
让我们先来看一下Demo(可以右键View Source或点击这里察看源代码):
Flex中通过扩展LinkButtonSkin和添加自己的selectedUpSkin,selectedOverSkin,selectedDownSkin,selectedDisabledSkin设置LinkButton控件是否保持鼠标按下状态的例子
Sunday, September 7th, 2008一般按钮鼠标点下离开后,按下的状态 接下来的例子演示了Flex中如何通过扩展LinkButtonSkin和添加自己的selectedUpSkin,selectedOverSkin,selectedDownSkin,selectedDisabledSkin,设置LinkButton控件是否保持鼠标按下状态。
让我们先来看一下Demo(可以右键View Source或点击这里察看源代码):
Flex中通过将labelPlacement属性值设置为ButtonLabelPlacement类中定义的一个常量实现设置LinkButton控件图标位置的例子
Saturday, September 6th, 2008在前面的Flex中通过icon样式给LinkButton控件设置一个图标的例子中我们了解了如何给LinkButton添加一个图标。接下来的例子演示了Flex中通过将labelPlacement属性值设置为ButtonLabelPlacement类中定义的一个常量,实现设置LinkButton控件图标位置。
让我们先来看一下Demo(可以右键View Source或点击这里察看源代码):
Flex中通过fontFamily和fontWeight样式在LinkButton控件中使用嵌入字体的例子
Friday, September 5th, 2008接下来的例子演示了Flex中如何通过fontFamily和fontWeight样式,在LinkButton控件中使用嵌入字体。
让我们先来看一下Demo(可以右键View Source或点击这里察看源代码):
Flex中通过icon样式给LinkButton控件设置一个图标的例子
Thursday, September 4th, 2008接下来的例子演示了Flex中如何通过icon样式,给LinkButton控件设置一个图标。
让我们先来看一下Demo(可以右键View Source或点击这里察看源代码):
Flex中通过cornerRadius样式设置LinkButton控件边角圆滑程度的例子
Wednesday, September 3rd, 2008接下来的例子演示了Flex中如何通过cornerRadius样式,设置LinkButton控件边角圆滑程度。
让我们先来看一下Demo(可以右键View Source或点击这里察看源代码):
Flex中通过selectionColor样式设置LinkButton控件选中时(鼠标按下)的颜色的例子
Wednesday, September 3rd, 2008前面Flex中通过rollOverColor样式设置LinkButton控件的roll over颜色的例子中,我们了解了roll over时的颜色设置,接下来的例子演示了Flex中如何通过selectionColor样式,设置LinkButton控件选中时(鼠标按下)的颜色。
让我们先来看一下Demo(可以右键View Source或点击这里察看源代码):