scala.swing

Alignment

object Alignment extends Enumeration

Horizontal and vertical alignments. We sacrifice a bit of type-safety for simplicity here.

source: Alignment.scala
    see also:
  1. javax.swing.SwingConstants

Inherited
  1. Hide All
  2. Show all
  1. Enumeration
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Type Members

  1. class Val extends Value

    A class implementing the Value type.

  2. class Value extends Ordered[Value]

    The type of the enumerated values.

  3. 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. def !=(arg0: AnyRef): Boolean

  2. def !=(arg0: Any): Boolean

    o != arg0 is the same as !(o == (arg0)).

  3. def ##(): Int

  4. def $asInstanceOf[T0](): T0

  5. def $isInstanceOf[T0](): Boolean

  6. def ==(arg0: AnyRef): Boolean

    o == arg0 is the same as if (o eq null) arg0 eq null else o.equals(arg0).

  7. def ==(arg0: Any): Boolean

    o == arg0 is the same as o.equals(arg0).

  8. val Bottom: Value

  9. val Center: Value

  10. val Leading: Value

  11. val Left: Value

  12. val Right: Value

  13. val Top: Value

  14. val Trailing: Value

  15. def Value(i: Int, name: String): Value

    Creates a fresh value, part of this enumeration, called name and identified by the integer i.

  16. def Value(name: String): Value

    Creates a fresh value, part of this enumeration, called name.

  17. def Value(i: Int): Value

    Creates a fresh value, part of this enumeration, identified by the integer i.

  18. def Value: Value

    Creates a fresh value, part of this enumeration.

  19. object ValueSet extends AnyRef

    A factory object for value sets

  20. def apply(x: Int): Value

    The value of this enumeration with given id x

  21. def asInstanceOf[T0]: T0

    This method is used to cast the receiver object to be of type T0.

  22. def clone(): AnyRef

    This method creates and returns a copy of the receiver object.

  23. def eq(arg0: AnyRef): Boolean

    This method is used to test whether the argument (arg0) is a reference to the receiver object (this).

  24. def equals(arg0: Any): Boolean

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

  25. 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.

  26. def filter(p: (Value) ⇒ Boolean): Iterator[Value]

    Returns all values of this enumeration that satisfy the predicate p.

  27. def finalize(): Unit

    This method is called by the garbage collector on the receiver object when garbage collection determines that there are no more references to the object.

  28. def flatMap[B](f: (Value) ⇒ Iterator[B]): Iterator[B]

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

  29. 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.

  30. def foreach(f: (Value) ⇒ Unit): Unit

    Apply a function f to all values of this enumeration.

  31. def getClass(): java.lang.Class[_ <: java.lang.Object]

    Returns a representation that corresponds to the dynamic class of the receiver object.

  32. def hashCode(): Int

    Returns a hash code value for the object.

  33. def isInstanceOf[T0]: Boolean

    This method is used to test whether the dynamic type of the receiver object is T0.

  34. def iterator: Iterator[Value]

    A new iterator over all values of this enumeration.

  35. def map[B](f: (Value) ⇒ B): Iterator[B]

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

  36. def maxId: Int

    The highest integer amongst those used to identify values in this enumeration.

  37. def name: String

    The name of this enumeration.

  38. def ne(arg0: AnyRef): Boolean

    o.ne(arg0) is the same as !(o.eq(arg0)).

  39. var nextId: Int

    The integer to use to identify the next created value.

  40. var nextName: Iterator[String]

    The string to use to name the next created value.

  41. def notify(): Unit

    Wakes up a single thread that is waiting on the receiver object's monitor.

  42. def notifyAll(): Unit

    Wakes up all threads that are waiting on the receiver object's monitor.

  43. def readResolve(): AnyRef

  44. def synchronized[T0](arg0: T0): T0

  45. def toString(): String

    The name of this enumeration.

  46. def valueOf(s: String): Option[Value]

  47. def values: ValueSet

    The values of this enumeration as a set.

  48. def wait(): Unit

  49. def wait(arg0: Long, arg1: Int): Unit

  50. def wait(arg0: Long): Unit

  51. def withName(s: String): Value

    Returns a Value from this Enumeration whose name matches the argument s.