de.sciss.desktop

Util

object Util

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Util
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def addGlobalAction(c: Component, name: String, keyStroke: KeyStroke)(body: ⇒ Unit): Unit

    Adds a global action to a component.

    Adds a global action to a component. The key is active if the component appears in the focused window.

  7. def addGlobalKey(b: AbstractButton, keyStroke: KeyStroke): Unit

    Adds a global key-triggered click action to a button.

    Adds a global key-triggered click action to a button. The key is active if the action appears in the focused window. The added action simulates a button click.

  8. def addGlobalKeyWhenVisible(b: AbstractButton, keyStroke: KeyStroke): Unit

    Same as addGlobalKey, but only performs action if the button is currently showing (e.

    Same as addGlobalKey, but only performs action if the button is currently showing (e.g. in the currently showing tabbed pane page).

  9. def addTabNavigation(tabs: TabbedPane): Unit

    Adds alt-left/right key control to a tabbed pane.

  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def centerOnScreen(w: Window): Unit

    Positions a window on the center of the default screen device.

  12. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def delay(millis: Int)(block: ⇒ Unit): Unit

    Executes a code block once after a given delay on the event-dispatch-thread.

  14. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def fixSize(c: Component): Unit

    Sets a component's minimum and maximum size to match the preferred size.

  18. def fixWidth(c: Component, width: Int = 1): Unit

    Sets the minimum, maximum and preferred width of a component.

    Sets the minimum, maximum and preferred width of a component.

    width

    the width to use or -1 to query the preferred width instead.

  19. def formatClassName(x: Class[_]): String

    Formats the name of the class of a value by inserting space characters at the 'camel' positions.

  20. def formatException(e: Throwable, margin: Int = 80, stackTraceLines: Int = 10): String

    Creates a formatted text from an exception, useful for displaying in a dialog.

    Creates a formatted text from an exception, useful for displaying in a dialog.

    e

    the exception to format

    margin

    the word wrapping margin for the exception's message

    stackTraceLines

    the number of stack trace elements to include. if zero, no stack trace will be included.

  21. final def getClass(): Class[_]

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

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

    Definition Classes
    Any
  24. def keyStrokeText(stroke: KeyStroke): String

    Human-readable text representation of a key stroke.

  25. def maximumWindowBounds: Rectangle

    Returns the maximum bounds a window should have on the default screen device.

  26. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  27. final def notify(): Unit

    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  29. def placeWindow(w: Window, horizontal: Float, vertical: Float, padding: Int): Unit

    Positions a window on the default screen device.

    Positions a window on the default screen device.

    horizontal

    the horizontal placement from 0.0 (left-most) to 1.0 (right-most)

    vertical

    the vertical placement from 0.0 (top-most) to 1.0 (bottom-most)

    padding

    additional padding in pixels from the screen's margins. For example, if horizontal is 1.0 and padding is 40, the window will be placed so that its right border is spaced 40 pixels from the right margin of the screen.

  30. def sameWidths(c: Component*): Unit

    Sets the minimum, maximum and preferred width of a number of components to the maximum of their individual preferred widths.

  31. def setInitialFocus(c: Component): Unit

    Requests that a components gets focus once it is made visible.

  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  33. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. def wordWrap(s: String, margin: Int = 80): String

Inherited from AnyRef

Inherited from Any

Ungrouped