scala

swing

package swing

Useful imports that don't have wrappers.

Visibility
  1. Public
  2. All
Impl.
  1. Concrete
  2. Abstract

Type Members

  1. class AbstractButton extends Component with Wrapper with Publisher

    Base class of all button-like widgets, such as push buttons, check boxes, and radio buttons.

  2. class Action extends AnyRef

    An abstract action to be performed in reaction to user input.

  3. trait Adjustable extends Oriented

  4. class Applet extends JApplet

    Clients should implement the ui field.

  5. class BorderPanel extends Panel with LayoutContainer

    A container that arranges its children around a central component that takes most of the space.

  6. class BoxPanel extends Panel with Wrapper

    A panel that lays out its contents one after the other, either horizontally or vertically.

  7. class BufferWrapper [A] extends Buffer[A]

    Default partial implementation for buffer adapters.

  8. class Button extends AbstractButton with Publisher

    A button that can be clicked, usually to perform some action.

  9. class ButtonGroup extends AnyRef

    A button mutex.

  10. class CheckBox extends ToggleButton

    Two state button that can either be checked or unchecked.

  11. class CheckMenuItem extends MenuItem

    A menu item with a check box.

  12. type Color = Color

    definition classes: root
  13. class ComboBox [A] extends Component with Publisher

    Let's the user make a selection from a list of predefined items.

  14. class Component extends UIElement

    Base class for all UI elements that can be displayed in a window.

  15. trait Container extends UIElement

    The base traits for UI elements that can contain Components.

  16. class Dialog extends Window with RichWindow

    A dialog window.

  17. type Dimension = Dimension

    definition classes: root
  18. class EditorPane extends TextComponent

    A text component that allows multiline text input and display.

  19. class FileChooser extends AnyRef

    Used to open file dialogs.

  20. class FlowPanel extends Panel with Wrapper

    A panel that arranges its contents horizontally, one after the other.

  21. type Font = Font

    definition classes: root
  22. class FormattedTextField extends TextComponent

    A text field with formatted input.

  23. class Frame extends Window with RichWindow

    A window with decoration such as a title, border, and action buttons.

  24. class GUIApplication extends AnyRef

    Convenience class with utility methods for GUI applications.

  25. type Graphics2D = Graphics2D

    definition classes: root
  26. class GridBagPanel extends Panel with LayoutContainer

    A panel that arranges its children in a grid.

  27. class GridPanel extends Panel with Wrapper

    A panel that lays out its contents in a uniform grid.

  28. type Image = Image

    definition classes: root
  29. type Insets = Insets

    definition classes: root
  30. class Label extends Component

    A label component that display either a text, an icon, or both.

  31. trait LayoutContainer extends Wrapper

    A container that associates layout constraints of member type Constraints with its children. See GridBagPanel for an example container with custom constraints.

  32. class ListView [A] extends Component

    A component that displays a number of elements in a list.

  33. class MainFrame extends Frame

    A frame that can be used for main application windows.

  34. class Menu extends MenuItem with Wrapper

    A menu.

  35. class MenuBar extends Component with Wrapper

    A menu bar.

  36. class MenuItem extends AbstractButton

    A menu item that can be used in a menu.

  37. trait Orientable extends Oriented

    An Oriented whose orientation can be changed.

  38. trait Oriented extends AnyRef

    Something that can have an orientation.

  39. class Panel extends Component with Wrapper

    A component that can contain other components.

  40. class PasswordField extends TextField

    A password field, that displays a replacement character for each character in the password.

  41. type Point = Point

    definition classes: root
  42. class ProgressBar extends Component with Wrapper

    A bar indicating progress of some action.

  43. trait Publisher extends Reactor

    Notifies registered reactions when an event is published.

  44. class RadioButton extends ToggleButton

    A two state button that is usually used in a ButtonGrouptogether with other RadioButtons, in order to indicate that at most one of them can be selected.

  45. class RadioMenuItem extends MenuItem

    A menu item with a radio button.

  46. class Reactions extends PartialFunction[Event, Unit]

    Used by reactors to let clients register custom event reactions.

  47. trait Reactor extends AnyRef

    The counterpart to publishers.

  48. type Rectangle = Rectangle

    definition classes: root
  49. class RefBuffer [A <: AnyRef] extends Buffer[A] with SingleRefCollection[A]

    attributes: abstract
  50. trait RichWindow extends Window

    A window that adds some functionality to the plain Window class and serves as the common base class for frames and dialogs.

  51. trait RootPanel extends Container

    The root of a component hierarchy.

  52. class ScrollBar extends Component with Wrapper with Wrapper

  53. class ScrollPane extends Component with Container

    Can have at most a single child component, which will be put inside a canvas (the viewport) that can be scrolled.

  54. trait Scrollable extends Component

    A component that is specially suitable for being placed inside aScrollPane.

  55. class Separator extends Component with Wrapper

    A bar that can be used a separator, most commonly in menus.

  56. trait SequentialContainer extends Container

    A container for which a sequential order of children makes sense, such as flow panels, or menus.

  57. class SimpleGUIApplication extends GUIApplication

    Extend this class for most simple UI applications.

  58. class SimpleSwingApplication extends SwingApplication

    attributes: abstract
  59. class Slider extends Component with Wrapper with Publisher

    Lets users select a value from a given range.

  60. class SplitPane extends Component with Container with Wrapper

    A container with exactly two children.

  61. trait SwingActor extends AnyRef

  62. class SwingApplication extends Reactor

    attributes: abstract
  63. class SwingWorker extends Actor

    attributes: abstract
  64. class TabbedPane extends Component with Publisher

    Displays the contents of one of several pages at a time.

  65. class Table extends Component with Wrapper

    Displays a matrix of items.

  66. class TextArea extends TextComponent with HasColumns with HasRows

    A text component that allows multiline text input and display.

  67. class TextComponent extends Component with Publisher

    A component that allows some kind of text input and display.

  68. class TextField extends TextComponent with HasColumns with Wrapper

    A text component that allows single line text input and display.

  69. class ToggleButton extends AbstractButton

    A two state button with a push button like user interface.

  70. trait UIElement extends Proxy with LazyPublisher

    The base trait of all user interface elements.

  71. class Window extends UIElement with RootPanel with Publisher

    A window with decoration such as a title, border, and action buttons.

Value Members

  1. object Action extends AnyRef

  2. object Adjustable extends AnyRef

  3. object Alignment extends Enumeration

    Horizontal and vertical alignments.

  4. object BorderPanel extends AnyRef

  5. object Button extends AnyRef

  6. object ComboBox extends AnyRef

  7. object Component extends AnyRef

    Utility methods, mostly for wrapping components.

  8. object Container extends AnyRef

  9. object Dialog extends AnyRef

    Simple predefined dialogs.

  10. object FileChooser extends AnyRef

  11. object FlowPanel extends AnyRef

  12. object FormattedTextField extends AnyRef

  13. object GridBagPanel extends AnyRef

  14. object GridPanel extends AnyRef

  15. object ListView extends AnyRef

  16. object MenuBar extends AnyRef

  17. object Orientable extends AnyRef

  18. object Orientation extends Enumeration

  19. object Oriented extends AnyRef

  20. object Reactions extends AnyRef

  21. object RichWindow extends AnyRef

  22. object ScrollBar extends AnyRef

  23. object ScrollPane extends AnyRef

  24. object Scrollable extends AnyRef

  25. object SequentialContainer extends AnyRef

  26. object Swing extends AnyRef

    Helpers for this package.

  27. object SwingWorker extends AnyRef

  28. object TabbedPane extends AnyRef

  29. object Table extends AnyRef

  30. object TextComponent extends AnyRef

  31. object UIElement extends AnyRef

  32. package event

  33. def ifNull [A] (o: AnyRef, a: A) : A

    attributes: protected
    definition classes: root
  34. package model

  35. def toAnyRef (x: Any) : AnyRef

    attributes: protected
    definition classes: root
  36. def toOption [A] (o: AnyRef) : Option[A]

    attributes: protected
    definition classes: root