R - A type that implements FacadeReadypublic interface Component<R extends FacadeReady<R>> extends FacadeReady<R>
| Modifier and Type | Method and Description |
|---|---|
<C extends Component<?>> |
findInnerComponent(InnerComponent<C> innerComponent)
Get an inner component.
|
void |
listen(WaveChecker waveChecker,
Method method,
WaveType... waveType)
Begin to listen the type of wave for the current component.
|
void |
listen(WaveChecker waveChecker,
WaveType... waveType)
Begin to listen the type of wave for the current component.
|
void |
listen(WaveType... waveType)
Begin to listen the type of wave for the current component.
|
Component<?> |
rootComponent()
Return the root component (for inner component).
|
void |
rootComponent(Component<?> rootComponent)
Define the root component for an inner component.
|
void |
sendWave(Wave wave)
Send a wave to the notifier.
|
Wave |
sendWave(WaveType waveType,
WaveData<?>... waveData)
Send a wave to the notifier.
|
<WB extends WaveBean> |
sendWave(WaveType waveType,
WB waveBean)
Send a wave to the notifier.
|
void |
unlisten(WaveType... waveTypes)
Stop to listen the type of wave for the current component.
|
key, key, localFacade, localFacade, release, setupattachUi, attachUi, getModel, getModel, getModels, getModelsgetService, getService, getServices, getServices, returnData, returnDatacallCommand, callCommand, getCommand, getCommand, getCommands, getCommandsvoid listen(WaveType... waveType)
org.jrebirth.af.core.resource.provided.JRebirthParameters.DEVELOPER_MODE parameter is truewaveType - the type(s) to listenvoid listen(WaveChecker waveChecker, WaveType... waveType)
org.jrebirth.af.core.resource.provided.JRebirthParameters.DEVELOPER_MODE parameter is true
The wave checker is used to filter the wave if the checker returns falsewaveChecker - the wave checker used to forward the wave only if the checker return truewaveType - the type(s) to listenvoid listen(WaveChecker waveChecker, Method method, WaveType... waveType)
org.jrebirth.af.core.resource.provided.JRebirthParameters.DEVELOPER_MODE parameter is true
The wave checker is used to filter the wave if the checker returns falsewaveChecker - the wave checker used to forward the wave only if the checker return truemethod - the annotated method concernedwaveType - the type(s) to listenvoid unlisten(WaveType... waveTypes)
waveTypes - the type(s) to stop to listenvoid sendWave(Wave wave)
wave - the wave to send<WB extends WaveBean> Wave sendWave(WaveType waveType, WB waveBean)
waveType - the type of wave to sendwaveBean - the wave beanWave sendWave(WaveType waveType, WaveData<?>... waveData)
waveType - the type of wave to sendwaveData - the data (key-valueComponent<?> rootComponent()
void rootComponent(Component<?> rootComponent)
rootComponent - The root component to set.<C extends Component<?>> C findInnerComponent(InnerComponent<C> innerComponent)
C - the type of the inner componentinnerComponent - the entry that describes the inner componentkeyPart - additional object that are part of the inner component's unique keyCopyright © 2011–2018 JRebirth OSS. All rights reserved.