public class VolumeChangeEvent extends com.google.gwt.event.shared.GwtEvent<VolumeChangeHandler>
VolumeControl
widgets when the
volumes' slider has changed.Modifier and Type | Field and Description |
---|---|
static com.google.gwt.event.shared.GwtEvent.Type<VolumeChangeHandler> |
TYPE |
Modifier | Constructor and Description |
---|---|
protected |
VolumeChangeEvent(double volume)
Creates a new volume change event
|
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(VolumeChangeHandler handler) |
static void |
fire(HasVolumeChangeHandlers source,
double volume)
Fires volume change event on all registered handlers
|
com.google.gwt.event.shared.GwtEvent.Type<VolumeChangeHandler> |
getAssociatedType() |
double |
getNewVolume()
Retrieves the new volume.
|
assertLive, getSource, isLive, kill, revive
public static com.google.gwt.event.shared.GwtEvent.Type<VolumeChangeHandler> TYPE
protected VolumeChangeEvent(double volume)
volume
- the new volume in the range 0
silence to 1
maximum volumepublic static void fire(HasVolumeChangeHandlers source, double volume)
source
- the source of the handlersvolume
- the new volumepublic double getNewVolume()
0
silence and
1
maximum volumepublic com.google.gwt.event.shared.GwtEvent.Type<VolumeChangeHandler> getAssociatedType()
getAssociatedType
in class com.google.gwt.event.shared.GwtEvent<VolumeChangeHandler>
protected void dispatch(VolumeChangeHandler handler)
dispatch
in class com.google.gwt.event.shared.GwtEvent<VolumeChangeHandler>
Copyright © 2009-2013. All Rights Reserved.