scala

# swing

#### package swing

Useful imports that don't have wrappers.

Visibility

1. Public
2. All

### 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
      package

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 `Component`s.

16. #### class Dialog extends Window with RichWindow

    A dialog window.

17. #### type Dimension = Dimension

    Definition Classes
      package

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
      package

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. #### type Graphics2D = Graphics2D

    Definition Classes
      package

25. #### class GridBagPanel extends Panel with LayoutContainer

    A panel that arranges its children in a grid.

26. #### class GridPanel extends Panel with Wrapper

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

27. #### type Image = Image

    Definition Classes
      package

28. #### type Insets = Insets

    Definition Classes
      package

29. #### class Label extends Component

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

30. #### trait LayoutContainer extends Wrapper

    A container that associates layout constraints of member type `Constraints` with its children.

31. #### class ListView [A] extends Component

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

32. #### class MainFrame extends Frame

    A frame that can be used for main application windows.

33. #### class Menu extends MenuItem with Wrapper

    A menu.

34. #### class MenuBar extends Component with Wrapper

    A menu bar.

35. #### class MenuItem extends AbstractButton

    A menu item that can be used in a menu.

36. #### trait Orientable extends Oriented

    An `Oriented` whose orientation can be changed.

37. #### trait Oriented extends AnyRef

    Something that can have an orientation.

38. #### class Panel extends Component with Wrapper

    A component that can contain other components.

39. #### class PasswordField extends TextField

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

40. #### type Point = Point

    Definition Classes
      package

41. #### class ProgressBar extends Component with Wrapper

    A bar indicating progress of some action.

42. #### trait Publisher extends Reactor

    Notifies registered reactions when an event is published.

43. #### class RadioButton extends ToggleButton

    A two state button that is usually used in a `ButtonGroup` together with other `RadioButton`s, in order to indicate that at most one of them can be selected.

44. #### class RadioMenuItem extends MenuItem

    A menu item with a radio button.

45. #### class Reactions extends PartialFunction[Event, Unit]

    Used by reactors to let clients register custom event reactions.

46. #### trait Reactor extends AnyRef

    The counterpart to publishers.

47. #### type Rectangle = Rectangle

    Definition Classes
      package

48. #### class RefBuffer [A <: AnyRef] extends Buffer[A] with SingleRefCollection[A]

    Attributes
      abstract

49. #### 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.

50. #### trait RootPanel extends Container

    The root of a component hierarchy.

51. #### class ScrollBar extends Component with Wrapper with Wrapper

52. #### 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.

53. #### trait Scrollable extends Component

    A component that is specially suitable for being placed inside a `ScrollPane`.

54. #### class Separator extends Component with Wrapper

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

55. #### trait SequentialContainer extends Container

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

56. #### class SimpleSwingApplication extends SwingApplication

    Attributes
      abstract

57. #### class Slider extends Component with Wrapper with Publisher

    Lets users select a value from a given range.

58. #### class SplitPane extends Component with Container with Wrapper

    A container with exactly two children.

59. #### trait SwingActor extends AnyRef

60. #### class SwingApplication extends Reactor

    Attributes
      abstract

61. #### class SwingWorker extends Actor

    Attributes
      abstract

62. #### class TabbedPane extends Component with Publisher

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

63. #### class Table extends Component with Wrapper

    Displays a matrix of items.

64. #### class TextArea extends TextComponent with HasColumns with HasRows

    A text component that allows multiline text input and display.

65. #### class TextComponent extends Component with Publisher

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

66. #### class TextField extends TextComponent with HasColumns with Wrapper

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

67. #### class ToggleButton extends AbstractButton

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

68. #### trait UIElement extends Proxy with LazyPublisher

    The base trait of all user interface elements.

69. #### class Window extends UIElement with RootPanel with Publisher

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

70. #### class GUIApplication extends AnyRef

    Convenience class with utility methods for GUI applications.

71. #### class SimpleGUIApplication extends GUIApplication

    Extend this class for most simple UI applications.

### 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 Serializable

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
      package

34. #### package model

35. #### def toAnyRef (x: Any): AnyRef

    Attributes
      protected
    Definition Classes
      package

36. #### def toOption [A] (o: AnyRef): Option[A]

    Attributes
      protected
    Definition Classes
      package