Package io.guise.framework.event
Class ValueEvent<V>
- java.lang.Object
-
- java.util.EventObject
-
- com.globalmentor.event.AbstractEvent
-
- io.guise.framework.event.AbstractGuiseEvent
-
- io.guise.framework.event.ValueEvent<V>
-
- Type Parameters:
V
- The type of value to be reported.
- All Implemented Interfaces:
com.globalmentor.event.Event
,GuiseEvent
,java.io.Serializable
public class ValueEvent<V> extends AbstractGuiseEvent
An event reporting a value.- Author:
- Garret Wilson
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ValueEvent(java.lang.Object source, V value)
Source and value constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V
getValue()
-
Methods inherited from class io.guise.framework.event.AbstractGuiseEvent
getSession
-
-
-
-
Constructor Detail
-
ValueEvent
public ValueEvent(java.lang.Object source, V value)
Source and value constructor.- Parameters:
source
- The object on which the event initially occurred.value
- The value being reported.- Throws:
java.lang.NullPointerException
- if the given source isnull
.
-
-
Method Detail
-
getValue
public V getValue()
- Returns:
- The value being reported.
-
-