R - A type that implements FacadeReadypublic interface Component<R extends FacadeReady<R>> extends FacadeReady<R>
| Modifier and Type | Method and Description |
|---|---|
<C extends Component<?>> |
addInnerComponent(InnerComponent<C> innerComponent)
Add an inner component.
|
<C extends Component<?>> |
getInnerComponent(InnerComponent<C> innerComponent)
Get an inner component.
|
Component<?> |
getRootComponent()
Return the root component (for 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.
|
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 |
setRootComponent(Component<?> rootComponent)
Define the root component for an inner component.
|
void |
unlisten(WaveType... waveTypes)
Stop to listen the type of wave for the current component.
|
getKey, getLocalFacade, release, setKey, setLocalFacade, setupattachUi, getModel, getModelgetService, getService, returnDatacallCommand, callCommand, getCommand, getCommandvoid 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<?> getRootComponent()
void setRootComponent(Component<?> rootComponent)
rootComponent - The root component to set.<C extends Component<?>> void addInnerComponent(InnerComponent<C> innerComponent)
AbstractComponent.initInnerComponent (protected API)innerComponent - the entry that describes the inner componentkeyPart - additional object that are part of the inner component's unique key<C extends Component<?>> C getInnerComponent(InnerComponent<C> innerComponent)
innerComponent - the entry that describes the inner componentkeyPart - additional object that are part of the inner component's unique keyCopyright © 2011–2015 JRebirth OSS. All rights reserved.