scala

# swing

#### package swing

Useful imports that don't have wrappers.

Source
  package.scala

Linear Supertypes
AnyRef, Any
Content Hierarchy Learn more about scaladoc diagrams
Ordering

1. Alphabetic
2. By inheritance

Inherited

1. swing
2. AnyRef
3. Any

1. Hide All
2. Show all

Learn more about member selection
Visibility

1. Public
2. All

### Type Members

1. #### abstract 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. #### abstract class Action extends AnyRef

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

3. #### trait Adjustable extends Oriented

4. #### abstract 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. #### abstract 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 = java.awt.Color

13. #### class ComboBox[A] extends Component with Publisher

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

14. #### abstract 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 = java.awt.Dimension

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 = java.awt.Font

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 = java.awt.Graphics2D

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 = java.awt.Image

28. #### type Insets = java.awt.Insets

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. #### abstract 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 = java.awt.Point

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. #### abstract class Reactions extends Reaction

    Used by reactors to let clients register custom event reactions.

46. #### trait Reactor extends AnyRef

    The counterpart to publishers.

47. #### type Rectangle = java.awt.Rectangle

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

49. #### sealed 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. #### abstract class SimpleSwingApplication extends SwingApplication

    Extend this class for most simple UI applications.

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. #### abstract class SwingApplication extends Reactor

    Convenience class with utility methods for GUI applications.

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

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

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

    Displays a matrix of items.

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

    A text component that allows multiline text input and display.

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

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

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

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

65. #### class ToggleButton extends AbstractButton

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

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

    The base trait of all user interface elements.

67. #### abstract class Window extends UIElement with RootPanel with Publisher

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

68. #### trait SwingActor extends AnyRef

    Annotations
      @deprecated
    Deprecated

      (Since version 2.10.1) Will be removed in 2.11.0

69. #### abstract class SwingWorker extends Actor

    Annotations
      @deprecated
    Deprecated

      (Since version 2.10.1) Depends on the deprecated package scala.actors. Will be removed in 2.11.0

### Value Members

1. #### object Action

2. #### object Adjustable

3. #### object Alignment extends Enumeration

   Horizontal and vertical alignments.

4. #### object BorderPanel

5. #### object Button

6. #### object ComboBox

7. #### object Component

   Utility methods, mostly for wrapping components.

8. #### object Container

9. #### object Dialog

   Simple predefined dialogs.

10. #### object FileChooser

11. #### object FlowPanel

12. #### object FormattedTextField

13. #### object GridBagPanel

14. #### object GridPanel

15. #### object ListView

16. #### object MenuBar

17. #### object Orientable

18. #### object Orientation extends Enumeration

19. #### object Oriented

20. #### object Reactions

21. #### object RichWindow

22. #### object ScrollBar

23. #### object ScrollPane

24. #### object Scrollable

25. #### object SequentialContainer

26. #### object Swing

    Helpers for this package.

27. #### object TabbedPane

28. #### object Table

29. #### object TextComponent

30. #### object UIElement

31. #### package event

32. #### implicit lazy val implicitConversions: implicitConversions

33. #### package model

34. #### implicit lazy val reflectiveCalls: reflectiveCalls

### Deprecated Value Members

1. #### object SwingWorker extends Serializable

   Annotations
     @deprecated
   Deprecated

     (Since version 2.10.1) Will be removed in 2.11.0

### Inherited from AnyRef

### Inherited from Any

### Ungrouped