public interface Wave
| Type | Property and Description |
|---|---|
ObjectProperty<Wave.Status> |
status
Return the status property to allow binding.
|
| Modifier and Type | Interface and Description |
|---|---|
static class |
Wave.Status
The enumeration Status.
|
| Modifier and Type | Method and Description |
|---|---|
<T> Wave |
add(WaveItem<T> waveItem,
T value)
Add a wave data.
|
Wave |
addDatas(WaveData<?>... waveDatas)
Add a list of wave data.
|
Wave |
addWaveListener(WaveListener waveListener)
Add a wave listener.
|
Class<?> |
componentClass() |
Wave |
componentClass(Class<?> componentClass) |
boolean |
contains(WaveItem<?> waveItem)
Check if an object exists.
|
boolean |
containsNotNull(WaveItem<?> waveItem)
Check if an object exists and if it isn't null.
|
Class<?> |
fromClass() |
Wave |
fromClass(Class<?> fromClass) |
<T> T |
get(WaveItem<T> waveItem)
Retrieve a value.
|
<T> WaveData<T> |
getData(WaveItem<T> waveItem)
Retrieve a wave data object.
|
long |
getTimestamp() |
String |
getWUID() |
boolean |
hasWaveBean(Class<? extends WaveBean> waveBeanClass)
.
|
int |
priority() |
Wave |
priority(int priority) |
Wave |
relatedWave() |
Wave |
relatedWave(Wave relatedWave) |
void |
removeWaveHandler(Object waveHandler)
Release the given WaveHandler
|
Wave |
removeWaveListener(WaveListener waveListener)
Remove a wave listener.
|
void |
setWaveHandlers(List<? extends Object> waveHandlers)
Store all Wave Handler.
|
Wave.Status |
status() |
Wave |
status(Wave.Status status) |
ObjectProperty<Wave.Status> |
statusProperty()
Return the status property to allow binding.
|
<WB extends WaveBean> |
waveBean(Class<WB> waveBeanClass)
Return the wave bean used to wrap wave properties.
|
Wave |
waveBean(WaveBean waveBean)
Link a wave bean.
|
List<WaveBean> |
waveBeanList()
Return all wave bean carried by this wave.
|
Wave |
waveBeanList(List<WaveBean> waveBeanList)
Add several WaveBean in a row.
|
List<WaveData<?>> |
waveDatas()
Return all wave items sorted by order.
|
WaveGroup |
waveGroup() |
Wave |
waveGroup(WaveGroup waveGroup) |
WaveType |
waveType() |
Wave |
waveType(WaveType waveType) |
ObjectProperty<Wave.Status> statusProperty
Wave.Status status()
Wave status(Wave.Status status)
status - The status to set.ObjectProperty<Wave.Status> statusProperty()
String getWUID()
long getTimestamp()
WaveGroup waveGroup()
Wave waveGroup(WaveGroup waveGroup)
waveGroup - The waveGroup to set.WaveType waveType()
Wave waveType(WaveType waveType)
waveType - The waveType to set.Class<?> fromClass()
Wave fromClass(Class<?> fromClass)
fromClass - The fromClass to set.Class<?> componentClass()
Wave componentClass(Class<?> componentClass)
componentClass - the class of the component that will handle this wave.int priority()
Wave priority(int priority)
priority - The priority to set.Wave relatedWave()
Wave relatedWave(Wave relatedWave)
relatedWave - The related Wave to set.List<WaveData<?>> waveDatas()
<T> Wave add(WaveItem<T> waveItem, T value)
T - the type of the wave data to addwaveItem - the wave item used as hashkeyvalue - the data to store<T> T get(WaveItem<T> waveItem)
T - the type of the wave data to addwaveItem - waveItem of the object to retrieve<T> WaveData<T> getData(WaveItem<T> waveItem)
T - the type of the wave data to addwaveItem - the waveItem of the object to retrieveWave addDatas(WaveData<?>... waveDatas)
waveDatas - the list of wave data to storeboolean contains(WaveItem<?> waveItem)
waveItem - the waveItem of the object to checkboolean containsNotNull(WaveItem<?> waveItem)
waveItem - the waveItem of the object to check<WB extends WaveBean> WB waveBean(Class<WB> waveBeanClass)
Wave waveBean(WaveBean waveBean)
waveBean - the wave bean already built to linkList<WaveBean> waveBeanList()
Wave waveBeanList(List<WaveBean> waveBeanList)
the - list of WaveBean to addWave addWaveListener(WaveListener waveListener)
waveListener - the wave listener that will be notified of wave statusWave removeWaveListener(WaveListener waveListener)
waveListener - the wave listener to removedvoid setWaveHandlers(List<? extends Object> waveHandlers)
waveHandlers - the list of WaveHandlervoid removeWaveHandler(Object waveHandler)
waveHandler - the waveHandlerCopyright © 2011–2015 JRebirth OSS. All rights reserved.