object Item
- Alphabetic
- By Inheritance
- Item
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
About(app: SwingApplication)(action: ⇒ Unit): Item
Creates a special 'About' menu item.
Creates a special 'About' menu item. If the platform has a special place for this item, the returned object indicates this by being
!visible. In that case the call site may omit adding the item to the regular menu structure. If the item is visible, i.e. the platform does not have special support for it, it should be added to the end of the last menu group labelled"Help".The item's key will be
"about".- app
the Swing application which is used to determine the item name.
- action
the action to execute when the menu item is selected
- returns
the menu item, possibly a dummy in which case its
visibleattribute isfalse
-
def
Preferences(app: SwingApplication)(action: ⇒ Unit): Item
Creates a special 'Preferences' menu item.
Creates a special 'Preferences' menu item. If the platform has a special place for this item, the returned object indicates this by being
!visible. In that case the call site may omit adding the item to the regular menu structure. If the item is visible, i.e. the platform does not have special support for it, it should be added to"Edit"menu on Linux or the"Tools"menu on Windows.The item's key will be
"preferences".- app
the Swing application which is used to determine the item name.
- action
the action to execute when the menu item is selected
- returns
the menu item, possibly a dummy in which case its
visibleattribute isfalse
-
def
Quit(app: SwingApplication): Item
Creates a special 'Quit' menu item.
Creates a special 'Quit' menu item. If the platform has a special place for this item, the returned object indicates this by being
!visible. In that case the call site may omit adding the item to the regular menu structure. If the item is visible, i.e. the platform does not have special support for it, it should be added to"File"menu.The item is automatically associated with an action which calls
Desktop.mayQuit(), conditionally followed byapp.quit().The item's key will be
"quit".- app
the Swing application which is used to determine the item name.
- returns
the menu item, possibly a dummy in which case its
visibleattribute isfalse
- def apply(key: String, attr: Attributes): Item
- def apply(key: String)(attr: Attributes)(action: ⇒ Unit): Item
- def apply(key: String, action: Action): Item
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def unapply(n: NodeLike): Option[Item]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )