Object

scalismo.faces.gui

GUIBlock

Related Doc: package gui

Permalink

object GUIBlock

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GUIBlock
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class Menu(menu: JMenu) extends MenuItem with Product with Serializable

    Permalink
  2. case class MenuEntry(item: JMenuItem) extends MenuItem with Product with Serializable

    Permalink
  3. sealed trait MenuItem extends AnyRef

    Permalink
  4. implicit class RichGUIBlock extends AnyRef

    Permalink

    GUI block: can display itself in a GUIFrame

  5. implicit class RichGUIMenu extends AnyRef

    Permalink
  6. case class ToolbarAction(action: Action) extends ToolbarItem with Product with Serializable

    Permalink
  7. case class ToolbarEntry(entry: JComponent) extends ToolbarItem with Product with Serializable

    Permalink
  8. sealed trait ToolbarItem extends AnyRef

    Permalink

    toolbar items: can be separators or entries (usually buttons)

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. object MenuSeparator extends MenuItem with Product with Serializable

    Permalink
  5. object ToolbarSeparator extends ToolbarItem with Product with Serializable

    Permalink
  6. def action(name: String, action: ⇒ Unit): Action

    Permalink

    create an action (action object to be used in menus and buttons)

  7. def action(text: String = "", tooltip: String = "", icon: Icon = null, accelerator: KeyStroke = null, action: ⇒ Unit = {}): Action

    Permalink

    create an action (action object to be used in menus and buttons)

  8. def alert(msg: String): Unit

    Permalink

    display a message

  9. def alert(msg: String, parent: JComponent): Unit

    Permalink

    display a message

  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def borderLayout(top: Component = empty, center: Component = empty, left: Component = empty, right: Component = empty, bottom: Component = empty): JPanel

    Permalink

    create a border layout container (with 5 zones, auto scaling center)

  12. def button(action: Action): JButton

    Permalink

    create a button of an action

  13. def button(text: String, action: ⇒ Unit = {}, shortcut: Option[String] = None): JButton

    Permalink

    create a button with a listener and a shortcut

    create a button with a listener and a shortcut

    text

    text to display on button

    action

    action to be executed on click

    shortcut

    e.g. "control S"

  14. def chooser(directory: String): FileChooser

    Permalink

    create an file chooser for images

  15. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  16. def closeAllFrames(): Unit

    Permalink

    close all named GUIFrames

  17. def empty: JPanel

    Permalink

    create an empty GUI element (JPanel)

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  20. def fullWidthStack(compenents: JComponent*): JPanel

    Permalink

    vertical container, full width

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

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  22. def getFrame(title: String): Option[GUIFrame]

    Permalink

    get the open frame with the title, None if no such frame exists

  23. def grid(cols: Int, rows: Int, component: ⇒ JComponent): JPanel

    Permalink

    arrange components in a grid

  24. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  25. def horizontalSeparator: JSeparator

    Permalink
  26. def horizontalSplitter(left: JComponent, right: JComponent, resizeWeight: Double = 0.5): JSplitPane

    Permalink

    horizontal split pane

  27. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  28. def label(text: String): JLabel

    Permalink

    create a simple label element

  29. def menu(name: String, items: MenuItem*): Menu

    Permalink

    create a menu consisting of menu items (entry, separator or sub menu)

  30. implicit def menu2JMenu(menu: Menu): JMenu

    Permalink
  31. def menuBar(menus: Menu*): JMenuBar

    Permalink

    create a menu bar of multiple menus

  32. implicit def menuEntry2JMenuItem(menuEntry: MenuEntry): JMenuItem

    Permalink
  33. def menuItem(name: String, action: ⇒ Unit, accelerator: KeyStroke, toolTip: String = ""): MenuEntry

    Permalink
  34. def menuItem(name: String, action: ⇒ Unit): MenuEntry

    Permalink
  35. def menuItem(action: Action): MenuEntry

    Permalink
  36. def menuItemRadio(action: Action): MenuEntry

    Permalink
  37. def menuItemRadio(name: String, action: ⇒ Unit, accelerator: KeyStroke, toolTip: String = ""): MenuEntry

    Permalink
  38. def menuSeparator: MenuItem

    Permalink

    add a separator to a menu

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

    Permalink
    Definition Classes
    AnyRef
  40. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  41. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  42. def runInSwing(action: ⇒ Unit): Unit

    Permalink

    execute action in Swing Event Dispatch Thread (async)

  43. def runInSwingWait(action: ⇒ Unit): Unit

    Permalink

    execute action in Swing Event Dispatch Thread (blocks)

  44. def scroll(comp: JComponent): JScrollPane

    Permalink

    scroll pane: add scroll bars around component

  45. def separator: JSeparator

    Permalink
  46. def separator(orientation: Int): JSeparator

    Permalink

    Swing separator

  47. def shelf(components: JComponent*): JPanel

    Permalink

    horizontal container

  48. def sizedContainer(width: Int, height: Int, component: JComponent): JPanel

    Permalink

    create container of a preferred size

  49. def slider(min: Int, max: Int, value: Int, changeListener: (Int) ⇒ Unit, orientation: Int = SwingConstants.VERTICAL): JSlider

    Permalink

    create a slider element

  50. def stack(components: JComponent*): Box

    Permalink

    vertical container, center aligned

  51. implicit def swingMenu2Menu(jMenu: JMenu): Menu

    Permalink
  52. implicit def swingMenuItem2MenuEntry(jMenuItem: JMenuItem): MenuEntry

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

    Permalink
    Definition Classes
    AnyRef
  54. def textBox(cols: Int, text: String): JTextField

    Permalink

    create a text box

  55. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  56. def toggleButton(text: String, selected: Boolean): JToggleButton

    Permalink

    toggle button

  57. def toolbar(name: String, elements: ToolbarItem*): JToolBar

    Permalink
  58. def toolbarItem(component: JComponent): ToolbarEntry

    Permalink
  59. def toolbarItem(action: Action): ToolbarAction

    Permalink
  60. def toolbarSeparator: ToolbarItem

    Permalink
  61. def verticalSeparator: JSeparator

    Permalink
  62. def verticalSplitter(top: JComponent, bottom: JComponent, resizeWeight: Double = 0.5): JSplitPane

    Permalink

    vertical split pane

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  65. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped