public class SlidingDoorService extends DefaultService
| Type | Property and Description |
|---|---|
IntegerProperty |
nodeDelay
Node delay property.
|
ObjectProperty<SlidingDoorService.SlidingType> |
slidingType |
ObjectProperty<Duration> |
translateDuration |
pendingTasksProperty| Modifier and Type | Class and Description |
|---|---|
private static class |
SlidingDoorService.SlidingType
The Enum SLIDING_TYPE.
|
| Modifier and Type | Field and Description |
|---|---|
static org.jrebirth.af.api.wave.contract.WaveType |
DO_SLICE_NODE
Wave type use to load events.
|
private Transition |
fullTransition
The full transition.
|
private static org.slf4j.Logger |
LOGGER
The class logger.
|
private IntegerProperty |
nodeDelayProperty
The delay between each node transition property.
|
private ObservableList<Node> |
nodes
The nodes.
|
private static Random |
RANDOM
The
RANDOM field is used to build a random integer. |
static org.jrebirth.af.api.wave.contract.WaveType |
RE_NODE_SLICED
Wave type to return events loaded.
|
private ObjectProperty<SlidingDoorService.SlidingType> |
slidingTypeProperty
The delay between each node transition property.
|
private ObjectProperty<Duration> |
translateDurationProperty
.
|
innerComponentList, innerComponentMap, PROCESS_WAVE_METHOD_NAME, rootComponentCOUNT_LINES_ERROR, NO_RETURN_WAVE_CONSUMED, NO_RETURNED_WAVE_ITEM, NO_RETURNED_WAVE_TYPE_DEFINED, NO_WAVE_TYPE_DEFINED, SERVICE_TASK_ERROR, SERVICE_TASK_EXCEPTION, SERVICE_TASK_HANDLE_EXCEPTION, SERVICE_TASK_HAS_FAILED, SERVICE_TASK_NOT_MANAGED_EXCEPTION, SERVICE_TASK_RETURN_CONSUMES, SERVICE_TASK_RETURN_HANDLESADD_BEHAVIOR, CALL_ANNOTATED_METHOD_ERROR, COMMAND_NOT_FOUND_ERROR, COMMAND_NOT_FOUND_MESSAGE, COMPONENT_INJECTION_FAILURE, COMPONENT_RELEASE_ERROR, CUSTOM_METHOD_NOT_FOUND, LISTEN_WAVE_TYPE, MODEL_NOT_FOUND_ERROR, MODEL_NOT_FOUND_MESSAGE, NO_WAVE_LISTENER, NOTIFIER_CONSUMES, NOTIFIER_HANDLES, SEND_WAVE, SERVICE_NOT_FOUND_ERROR, SERVICE_NOT_FOUND_MESSAGE, UNLISTEN_WAVE_TYPE, WAVE_BEAN_CREATION_ERROR, WAVE_DISPATCH_ERROR, WAVE_HANDLING_ERROR, WAVE_LOST, WAVE_LOST_CONTEXT, WAVE_SENDING_ERROR| Constructor and Description |
|---|
SlidingDoorService() |
| Modifier and Type | Method and Description |
|---|---|
void |
doIt()
Do it.
|
Transition |
getFullTransition()
Gets the full transition.
|
Integer |
getNodeDelay()
Gets the node delay.
|
private Duration |
getRandomDuration()
Gets the random duration.
|
SlidingDoorService.SlidingType |
getSlidingType()
Gets the value of the property slidingType.
|
Duration |
getTranslateDuration()
Gets the value of the property translateDuration.
|
void |
initService() |
IntegerProperty |
nodeDelayProperty()
Node delay property.
|
void |
setNodeDelay(Integer column)
Sets the node delay.
|
void |
setNodes(List<? extends Node> nodesToAdd)
TODO To complete.
|
void |
setSlidingType(SlidingDoorService.SlidingType slidingType)
Sets the value of the property slidingType.
|
void |
setTranslateDuration(Duration translateDuration)
Sets the value of the property translateDuration.
|
ObjectProperty<SlidingDoorService.SlidingType> |
slidingTypeProperty() |
ObjectProperty<Duration> |
translateDurationProperty() |
initInnerComponents, processWavefinalize, getPendingTask, getPendingTaskList, pendingTasksProperty, ready, removePendingTask, returnData, updateMessage, updateProgress, updateProgress, updateProgress, updateProgress, updateTitleaddBehavior, addBehavior, getBehavior, getBehaviorData, hasBehavior, manageOptionalDataaddInnerComponent, attachUi, callCommand, callCommand, getInnerComponent, getInnerComponentList, getInnerComponentMap, getRootComponent, initInternalInnerComponents, listen, listen, listen, release, returnData, sendWave, sendWave, sendWave, setRootComponent, setup, unlistengetCommand, getCommand, getFirstKeyPart, getKey, getKeyPart, getListKeyPart, getLocalFacade, getModel, getModel, getSecondKeyPart, getService, getService, getThirdKeyPart, setKey, setLocalFacadeclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddBehavior, addBehavior, getBehavior, getBehaviorData, hasBehavioraddInnerComponent, getInnerComponent, getRootComponent, listen, listen, listen, sendWave, sendWave, sendWave, setRootComponent, unlistengetKey, getLocalFacade, release, setKey, setLocalFacade, setuppublic IntegerProperty nodeDelayProperty
getNodeDelay(),
setNodeDelay(Integer)public ObjectProperty<SlidingDoorService.SlidingType> slidingTypeProperty
getSlidingType(),
setSlidingType(SlidingType)public ObjectProperty<Duration> translateDurationProperty
public static final org.jrebirth.af.api.wave.contract.WaveType DO_SLICE_NODE
public static final org.jrebirth.af.api.wave.contract.WaveType RE_NODE_SLICED
private static final org.slf4j.Logger LOGGER
private final IntegerProperty nodeDelayProperty
private final ObjectProperty<SlidingDoorService.SlidingType> slidingTypeProperty
private final ObjectProperty<Duration> translateDurationProperty
private static final Random RANDOM
RANDOM field is used to build a random integer.private final ObservableList<Node> nodes
private Transition fullTransition
public void setNodeDelay(Integer column)
column - the new node delaypublic Integer getNodeDelay()
public IntegerProperty nodeDelayProperty()
getNodeDelay(),
setNodeDelay(Integer)public void setSlidingType(SlidingDoorService.SlidingType slidingType)
public SlidingDoorService.SlidingType getSlidingType()
public ObjectProperty<SlidingDoorService.SlidingType> slidingTypeProperty()
getSlidingType(),
setSlidingType(SlidingType)public void setTranslateDuration(Duration translateDuration)
public Duration getTranslateDuration()
public ObjectProperty<Duration> translateDurationProperty()
public Transition getFullTransition()
public void initService()
initService in class DefaultServicepublic void setNodes(List<? extends Node> nodesToAdd)
nodesToAdd - the new nodespublic void doIt()
private Duration getRandomDuration()
Copyright © 2011–2016 JRebirth OSS. All rights reserved.