com.ehsbe.commons.gui.wizard
Class TaskControlEvent
java.lang.Object
java.util.EventObject
javax.swing.event.ChangeEvent
com.ehsbe.commons.gui.wizard.TaskControlEvent
- All Implemented Interfaces:
- Serializable
public class TaskControlEvent
- extends ChangeEvent
Event fired when the state of a task changed.
- Version:
- $Revision: 495 $
- Author:
- Jens Elkner
- See Also:
- Serialized Form
TaskControlEvent
public TaskControlEvent(TaskControl source,
TaskControlEvent.Type type,
EnumSet<NavMode> mode)
- Construct a TaskEvent.
- Parameters:
source
- the task controller, which fired this event.type
- the type of state change.mode
- optional navigation mode, which changed
- Throws:
IllegalArgumentException
- if a parameter is null
getType
public TaskControlEvent.Type getType()
- Get the type of state change.
- Returns:
- the type
getMode
public EnumSet<NavMode> getMode()
- Get the navigation mode, which should be propagated.
- Returns:
null
if not set (default), the mode otherwise.
Copyright ©2005-2009 EHSBE, Walther-Rathenau-Str. 58, 39104 Magdeburg, Sachsen-Anhalt, Germany. All Rights Reserved.