Class

ch.awae.mcddpui.api

ViewCommandExecutor

Related Doc: package api

Permalink

final class ViewCommandExecutor[T] extends CommandExecutor[UIUniverse[T]]

command executor for view interaction that checks if a view is in a legal state for sending commands.

Annotations
@throws( ... )
Version

1.1 (0.2.0), 2016-03-02

Since

MCDDPUI 0.2.0

Exceptions thrown

NullPointerException if backer or view is null

See also

View for complete documentation

Linear Supertypes
CommandExecutor[UIUniverse[T]], AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ViewCommandExecutor
  2. CommandExecutor
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ViewCommandExecutor(backer: CommandExecutor[UIUniverse[T]], view: View[T])

    Permalink

    creates a new command executor

    creates a new command executor

    backer

    the command executor that actually does the work. may not be null.

    view

    the view to monitor. may not be null.

    Exceptions thrown

    NullPointerException if backer or view is null

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ViewCommandExecutor[T] to any2stringadd[ViewCommandExecutor[T]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ViewCommandExecutor[T], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ViewCommandExecutor[T] to ArrowAssoc[ViewCommandExecutor[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def apply(c: MutationCommand[_ >: UIUniverse[T], _ <: UIUniverse[T]]): Unit

    Permalink

    executes a MutationCommand

    executes a MutationCommand

    c

    the MutationCommand to execute.

    Definition Classes
    ViewCommandExecutorCommandExecutor
    Exceptions thrown

    MutationCommandExecutionException if any exceptional case occurs while executing the command.

    NullPointerException if the implementation chooses to disallow null commands.

    Note

    The implementation may decide whether or not null commands should be allowed. If null commands are not allowed by the implementation, any invocation with a null command should result in a NullPointerException. If however an implementation decides to allow null commands, such commands should be ignored. It is recommended to ensure consistent null handling over all methods.

  7. def apply(c: ReadCommand[_ >: UIUniverse[T]]): Unit

    Permalink

    executes a ReadCommand

    executes a ReadCommand

    c

    the ReadCommand to execute.

    Definition Classes
    ViewCommandExecutorCommandExecutor
    Exceptions thrown

    NullPointerException if the implementation chooses to disallow null commands.

    ReadCommandExecutionException if any exceptional case occurs while executing the command.

    Note

    The implementation may decide whether or not null commands should be allowed. If null commands are not allowed by the implementation, any invocation with a null command should result in a NullPointerException. If however an implementation decides to allow null commands, such commands should be ignored. It is recommended to ensure consistent null handling over all methods.

  8. def apply(c: ManagerCommand): Unit

    Permalink

    executes a ManagerCommand

    executes a ManagerCommand

    c

    the ManagerCommand to execute.

    Definition Classes
    ViewCommandExecutorCommandExecutor
    Exceptions thrown

    ManagerCommandExecutionException if any exceptional case occurs while executing the command.

    NullPointerException if the implementation chooses to disallow null commands.

    Note

    The implementation may decide whether or not null commands should be allowed. If null commands are not allowed by the implementation, any invocation with a null command should result in a NullPointerException. If however an implementation decides to allow null commands, such commands should be ignored. It is recommended to ensure consistent null handling over all methods.

  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def ensuring(cond: (ViewCommandExecutor[T]) ⇒ Boolean, msg: ⇒ Any): ViewCommandExecutor[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from ViewCommandExecutor[T] to Ensuring[ViewCommandExecutor[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (ViewCommandExecutor[T]) ⇒ Boolean): ViewCommandExecutor[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from ViewCommandExecutor[T] to Ensuring[ViewCommandExecutor[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: ⇒ Any): ViewCommandExecutor[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from ViewCommandExecutor[T] to Ensuring[ViewCommandExecutor[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): ViewCommandExecutor[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from ViewCommandExecutor[T] to Ensuring[ViewCommandExecutor[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ViewCommandExecutor[T] to StringFormat[ViewCommandExecutor[T]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. def [B](y: B): (ViewCommandExecutor[T], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ViewCommandExecutor[T] to ArrowAssoc[ViewCommandExecutor[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from CommandExecutor[UIUniverse[T]]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from ViewCommandExecutor[T] to any2stringadd[ViewCommandExecutor[T]]

Inherited by implicit conversion StringFormat from ViewCommandExecutor[T] to StringFormat[ViewCommandExecutor[T]]

Inherited by implicit conversion Ensuring from ViewCommandExecutor[T] to Ensuring[ViewCommandExecutor[T]]

Inherited by implicit conversion ArrowAssoc from ViewCommandExecutor[T] to ArrowAssoc[ViewCommandExecutor[T]]

Ungrouped