com.itmill.toolkit.ui
Class Component.ErrorEvent

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

public static class Component.ErrorEvent
extends Component.Event

Class of all component originated ErrorEvents.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
Component.ErrorEvent(ErrorMessage message, Component component)
          Constructs a new event with a specified source component.
 
Method Summary
 ErrorMessage getErrorMessage()
          Gets the error message.
 
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

Component.ErrorEvent

public Component.ErrorEvent(ErrorMessage message,
                            Component component)
Constructs a new event with a specified source component.

Parameters:
message - the error message.
component - the source component.
Method Detail

getErrorMessage

public ErrorMessage getErrorMessage()
Gets the error message.

Returns:
the error message.


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