com.itmill.toolkit.ui
Class Button.ClickEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.itmill.toolkit.ui.Component.Event
          extended by com.itmill.toolkit.ui.Button.ClickEvent
All Implemented Interfaces:
Serializable
Enclosing class:
Button

public class Button.ClickEvent
extends Component.Event

Click event. This event is thrown, when the button is clicked.

Since:
3.0
Version:
5.3.0
Author:
IT Mill Ltd.
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
Button.ClickEvent(Component source)
          New instance of text change event.
 
Method Summary
 Button getButton()
          Gets the Button where the event occurred.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Button.ClickEvent

public Button.ClickEvent(Component source)
New instance of text change event.

Parameters:
source - the Source of the event.
Method Detail

getButton

public Button getButton()
Gets the Button where the event occurred.

Returns:
the Source of the event.


Copyright © 2000-2009 IT Mill Ltd. All Rights Reserved.