当前位置: 技术问答>java相关
向大家请教了!
来源: 互联网 发布时间:2015-10-19
本文导语: AdjustmentEvent 事件 ItemEvent 事件 ActionEvent 事件 WindowEvent 事件 TextEvent 事件 WindowAdapter() 方法 都是作什么用的? | parseInt()是一个方法,把其它类型的值转化为int型。应该用该方法所...
AdjustmentEvent 事件
ItemEvent 事件
ActionEvent 事件
WindowEvent 事件
TextEvent 事件
WindowAdapter() 方法
都是作什么用的?
ItemEvent 事件
ActionEvent 事件
WindowEvent 事件
TextEvent 事件
WindowAdapter() 方法
都是作什么用的?
|
parseInt()是一个方法,把其它类型的值转化为int型。应该用该方法所在类的具体的对象来调用,例如Double的一个实例。
|
public class ActionEvent
extends AWTEvent
A semantic event which indicates that a component-defined action occured. This high-level event is generated by a component (such as a Button) when the component-specific action occurs (such as being pressed). The event is passed to every every ActionListener object that registered to receive such events using the component's addActionListener method.
The object that implements the ActionListener interface gets this ActionEvent when the event occurs. The listener is therefore spared the details of processing individual mouse movements and mouse clicks, and can instead process a "meaningful" (semantic) event like "button pressed".
extends AWTEvent
A semantic event which indicates that a component-defined action occured. This high-level event is generated by a component (such as a Button) when the component-specific action occurs (such as being pressed). The event is passed to every every ActionListener object that registered to receive such events using the component's addActionListener method.
The object that implements the ActionListener interface gets this ActionEvent when the event occurs. The listener is therefore spared the details of processing individual mouse movements and mouse clicks, and can instead process a "meaningful" (semantic) event like "button pressed".
您可能感兴趣的文章:
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。