public class Nodes
Static factory for nodes.
| Modifier and Type | Class and Description |
|---|---|
static class |
Nodes.FunctionalNode<A extends Activity>
Navigation node which delegates each method to a dedicated function.
|
| Modifier and Type | Method and Description |
|---|---|
static <A extends Activity> |
actionNode()
Creates Action Node. That is - the node which performs some one-time action when navigated to. Such nodes do not stay in history and are not replayed when NodeNavigator state is restored.
|
static fj.F<java.lang.Object,java.lang.Boolean> |
anyOf()
Convenience method for creating event matcher from given values for use with
. This matcher matches the event if event equals to at least one value from given list. |
static fj.F<java.lang.Object,java.lang.Boolean> |
anyOfTypes()
Convenience method for creating event matcher from given values for use with
. This matcher matches the event of same type as in the given list. |
static fj.F<java.lang.Object,java.lang.Boolean> |
key()
Convenience method for creating event matcher from given value for use with
. This matcher matches with event equal to given value. |
static fj.F<java.lang.Object,java.lang.Boolean> |
key()
Convenience method for creating event matcher from given value for use with
. This matcher matches with event of same type as given class. |
static <A extends Activity> |
node()
Convenience method for creating navigation nodes.
|
public static <A extends Activity> FunctionalNode.FunctionalNodeBuilder<A> node()
Convenience method for creating navigation nodes.
public static <A extends Activity> NodeNavigator.NavigationNode<A> actionNode()
Creates Action Node. That is - the node which performs some one-time action when navigated to. Such nodes do not stay in history and are not replayed when NodeNavigator state is restored.
public static fj.F<java.lang.Object,java.lang.Boolean> key()
Convenience method for creating event matcher from given value for use with . Nodes.node
This matcher matches with event equal to given value.
Nodes.nodepublic static fj.F<java.lang.Object,java.lang.Boolean> key()
Convenience method for creating event matcher from given value for use with . Nodes.node
This matcher matches with event of same type as given class.
Nodes.nodepublic static fj.F<java.lang.Object,java.lang.Boolean> anyOfTypes()
Convenience method for creating event matcher from given values for use with . Nodes.node
This matcher matches the event of same type as in the given list.
Nodes.nodepublic static fj.F<java.lang.Object,java.lang.Boolean> anyOf()
Convenience method for creating event matcher from given values for use with . Nodes.node
This matcher matches the event if event equals to at least one value from given list.
Nodes.node