Return type | Name and parameters |
---|---|
JMenu
|
getAt(int index)
Support the subscript operator for JMenuBar. |
Iterator
|
iterator()
Returns an Iterator which traverses the JMenuBar one menu at a time. |
JMenuBar
|
leftShift(JMenu menu)
Overloads the left shift operator to provide an easy way to add menus to a menuBar. |
int
|
size()
Provide the standard Groovy size() method for JMenuBar .
|
addShutdownHook
, any
, any
, asBoolean
, asType
, collect
, collect
, collect
, contains
, count
, dump
, each
, eachWithIndex
, equals
, every
, every
, find
, find
, findAll
, findAll
, findIndexOf
, findIndexOf
, findIndexValues
, findIndexValues
, findLastIndexOf
, findLastIndexOf
, findResult
, findResult
, flatten
, getAt
, getMetaClass
, getMetaPropertyValues
, getProperties
, grep
, grep
, groupBy
, groupBy
, hasProperty
, identity
, inject
, inject
, inspect
, invokeMethod
, is
, isCase
, iterator
, join
, metaClass
, print
, print
, printf
, printf
, println
, println
, println
, putAt
, respondsTo
, respondsTo
, setMetaClass
, size
, split
, sprintf
, sprintf
, sum
, sum
, sum
, sum
, toArrayString
, toSpreadMap
, toString
, use
, use
, use
, with
, withTraits
Support the subscript operator for JMenuBar.
index
- the index of the menu to getReturns an Iterator which traverses the JMenuBar one menu at a time.
Overloads the left shift operator to provide an easy way to add menus to a menuBar.
menu
- a menu to be added to the menuBar.Provide the standard Groovy size()
method for JMenuBar
.