scala.swing.Dialog

Message

object Message extends Enumeration

The message type of a dialog.

Inherits

  1. Enumeration
  2. AnyRef
  3. Any

Type Members

  1. class Value extends Ordered[Value]

    The type of the enumerated values

  2. class ValueSet extends Set[Value] with SetLike[Value, ValueSet]

    A class for sets of values Iterating through this set will yield values in increasing order of their ids

Value Members

  1. val Error: Value

  2. val Info: Value

  3. val Plain: Value

  4. val Question: Value

  5. object ValueSet extends AnyRef

    A factory object for value sets

  6. val Warning: Value

  7. def equals(arg0: Any): Boolean

    This method is used to compare the receiver object (this) with the argument object (arg0) for equivalence

    This method is used to compare the receiver object (this) with the argument object (arg0) for equivalence.

    The default implementations of this method is an equivalence relation:

    • It is reflexive: for any instance x of type Any, x.equals(x) should return true.
    • It is symmetric: for any instances x and y of type Any, x.equals(y) should return true if and only if y.equals(x) returns true.
    • It is transitive: for any instances x, y, and z of type AnyRef if x.equals(y) returns true and y.equals(z) returns true, then x.equals(z) should return true.

    If you override this method, you should verify that your implementation remains an equivalence relation. Additionally, when overriding this method it is often necessary to override hashCode to ensure that objects that are "equal" (o1.equals(o2) returns true) hash to the same Int (o1.hashCode.equals(o2.hashCode)).

    arg0

    the object to compare against this object for equality.

    returns

    true if the receiver object is equivalent to the argument; false otherwise.

    definition classes: AnyRef ⇐ Any
  8. def exists(p: (Value) ⇒ Boolean): Boolean

    Apply a predicate p to all values of this enumeration and return true, iff there is at least one value for which p yields true

    Apply a predicate p to all values of this enumeration and return true, iff there is at least one value for which p yields true.

    definition classes: Enumeration
  9. def filter(p: (Value) ⇒ Boolean): Iterator[Value]

    Returns all values of this enumeration that satisfy the predicate p

    Returns all values of this enumeration that satisfy the predicate p. The order of values is preserved.

    definition classes: Enumeration
  10. def flatMap[B](f: (Value) ⇒ Iterator[B]): Iterator[B]

    Applies the given function f to each value of this enumeration, then concatenates the results

    Applies the given function f to each value of this enumeration, then concatenates the results.

    definition classes: Enumeration
  11. def forall(p: (Value) ⇒ Boolean): Boolean

    Apply a predicate p to all values of this enumeration and return true, iff the predicate yields true for all values

    Apply a predicate p to all values of this enumeration and return true, iff the predicate yields true for all values.

    definition classes: Enumeration
  12. def foreach(f: (Value) ⇒ Unit): Unit

    Apply a function f to all values of this enumeration

    Apply a function f to all values of this enumeration.

    definition classes: Enumeration
  13. def hashCode(): Int

    Returns a hash code value for the object

    Returns a hash code value for the object.

    The default hashing algorithm is platform dependent.

    Note that it is allowed for two objects to have identical hash codes (o1.hashCode.equals(o2.hashCode)) yet not be equal (o1.equals(o2) returns false). A degenerate implementation could always return 0. However, it is required that if two objects are equal (o1.equals(o2) returns true) that they have identical hash codes (o1.hashCode.equals(o2.hashCode)). Therefore, when overriding this method, be sure to verify that the behavior is consistent with the equals method.

    definition classes: AnyRef ⇐ Any
  14. def map[B](f: (Value) ⇒ B): Iterator[B]

    Returns an iterator resulting from applying the given function f to each value of this enumeration

    Returns an iterator resulting from applying the given function f to each value of this enumeration.

    definition classes: Enumeration
  15. def name: String

    The name of this enumeration

    The name of this enumeration.

    definition classes: Enumeration
  16. def toString(): String

    The name of this enumeration

    The name of this enumeration.

    definition classes: Enumeration ⇐ AnyRef ⇐ Any
  17. def valueOf(s: String): Option[Value]

  18. def values: ValueSet

    The values of this enumeration as a set

    The values of this enumeration as a set.

    definition classes: Enumeration