Class SwingGroovyMethods
- java.lang.Object
-
- org.codehaus.groovy.runtime.SwingGroovyMethods
-
@Deprecated public class SwingGroovyMethods extends Object
Deprecated.This class defines all the new Swing-related groovy methods which enhance the normal JDK Swing classes when inside the Groovy environment. Static methods are used with the first parameter the destination class.
-
-
Constructor Summary
Constructors Constructor Description SwingGroovyMethods()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static voidclear(Container self)Deprecated.static voidclear(DefaultComboBoxModel self)Deprecated.static voidclear(DefaultListModel self)Deprecated.static voidclear(JComboBox self)Deprecated.static voidclear(JTabbedPane self)Deprecated.static voidclear(DefaultMutableTreeNode self)Deprecated.static ComponentgetAt(Container self, int index)Deprecated.static AbstractButtongetAt(ButtonGroup self, int index)Deprecated.static ObjectgetAt(JComboBox self, int index)Deprecated.static JMenugetAt(JMenuBar self, int index)Deprecated.static ComponentgetAt(JMenu self, int index)Deprecated.static ComponentgetAt(JTabbedPane self, int index)Deprecated.static ComponentgetAt(JToolBar self, int index)Deprecated.static ObjectgetAt(ListModel self, int index)Deprecated.static TableColumngetAt(TableColumnModel self, int index)Deprecated.static Object[]getAt(TableModel self, int index)Deprecated.static TreeNodegetAt(TreeNode self, int index)Deprecated.static ObjectgetAt(TreePath self, int index)Deprecated.static Iterator<Component>iterator(Container self)Deprecated.static Iterator<AbstractButton>iterator(ButtonGroup self)Deprecated.static Iteratoriterator(DefaultListModel self)Deprecated.static Iteratoriterator(JComboBox self)Deprecated.static Iteratoriterator(JMenu self)Deprecated.static Iteratoriterator(JMenuBar self)Deprecated.static Iterator<MenuElement>iterator(JPopupMenu self)Deprecated.static Iterator<Component>iterator(JTabbedPane self)Deprecated.static Iteratoriterator(ListModel self)Deprecated.static Iteratoriterator(MutableComboBoxModel self)Deprecated.static Iteratoriterator(DefaultTableModel self)Deprecated.static Iterator<TableColumn>iterator(TableColumnModel self)Deprecated.static Iteratoriterator(TableModel self)Deprecated.static Iterator<TreeNode>iterator(TreeNode self)Deprecated.static Iteratoriterator(TreePath self)Deprecated.static ContainerleftShift(Container self, Component c)Deprecated.static ButtonGroupleftShift(ButtonGroup self, AbstractButton b)Deprecated.static DefaultListModelleftShift(DefaultListModel self, Object e)Deprecated.static JComboBoxleftShift(JComboBox self, Object i)Deprecated.static JMenuBarleftShift(JMenuBar self, JMenu menu)Deprecated.static JMenuleftShift(JMenu self, GString gstr)Deprecated.static JMenuleftShift(JMenu self, Component component)Deprecated.static JMenuleftShift(JMenu self, String str)Deprecated.static JMenuleftShift(JMenu self, Action action)Deprecated.static JMenuleftShift(JMenu self, JMenuItem item)Deprecated.static JPopupMenuleftShift(JPopupMenu self, GString gstr)Deprecated.static JPopupMenuleftShift(JPopupMenu self, Component component)Deprecated.static JPopupMenuleftShift(JPopupMenu self, String str)Deprecated.static JPopupMenuleftShift(JPopupMenu self, Action action)Deprecated.static JPopupMenuleftShift(JPopupMenu self, JMenuItem item)Deprecated.static JToolBarleftShift(JToolBar self, Action action)Deprecated.static MutableComboBoxModelleftShift(MutableComboBoxModel self, Object i)Deprecated.static DefaultTableModelleftShift(DefaultTableModel self, Object row)Deprecated.static TableColumnModelleftShift(TableColumnModel self, TableColumn column)Deprecated.static DefaultMutableTreeNodeleftShift(DefaultMutableTreeNode self, DefaultMutableTreeNode node)Deprecated.static MutableTreeNodeleftShift(MutableTreeNode self, MutableTreeNode node)Deprecated.static TreePathleftShift(TreePath self, Object p)Deprecated.static voidputAt(DefaultListModel self, int index, Object e)Deprecated.static voidputAt(MutableComboBoxModel self, int index, Object i)Deprecated.static voidputAt(DefaultTableModel self, int index, Object row)Deprecated.static voidputAt(MutableTreeNode self, int index, MutableTreeNode node)Deprecated.static voidsetMnemonic(AbstractButton button, String mnemonic)Deprecated.static intsize(Container self)Deprecated.static intsize(ButtonGroup self)Deprecated.static intsize(JComboBox self)Deprecated.static intsize(JMenu self)Deprecated.static intsize(JMenuBar self)Deprecated.static intsize(JTabbedPane self)Deprecated.static intsize(ListModel self)Deprecated.static intsize(TableColumnModel self)Deprecated.static intsize(TableModel self)Deprecated.static intsize(TreeNode self)Deprecated.static intsize(TreePath self)Deprecated.
-
-
-
Method Detail
-
size
@Deprecated public static int size(Container self)
Deprecated.Provide the standard Groovysize()method forContainer.- Parameters:
self- a Container- Returns:
- the component count of the container
- Since:
- 1.6.4
-
getAt
@Deprecated public static Component getAt(Container self, int index)
Deprecated.Support the subscript operator for Container.- Parameters:
self- a Containerindex- the index of the Component to get- Returns:
- the component at the given index
- Since:
- 1.6.4
-
leftShift
@Deprecated public static Container leftShift(Container self, Component c)
Deprecated.Overloads the left shift operator to provide an easy way to add components to a Container.- Parameters:
self- a Containerc- a Component to be added to the container.- Returns:
- same container, after the value was added to it.
- Since:
- 1.6.4
-
iterator
@Deprecated public static Iterator<Component> iterator(Container self)
Deprecated.Returns anIteratorwhich traverses the Container one Component at a time.- Parameters:
self- a Container- Returns:
- an Iterator for a Container
- Since:
- 1.6.4
-
clear
@Deprecated public static void clear(Container self)
Deprecated.Removes all components from the Container.- Parameters:
self- a Container- Since:
- 1.6.4
-
size
@Deprecated public static int size(ButtonGroup self)
Deprecated.Provide the standard Groovysize()method forButtonGroup.- Parameters:
self- a ButtonGroup- Returns:
- the button count of the buttonGroup
- Since:
- 1.6.4
-
getAt
@Deprecated public static AbstractButton getAt(ButtonGroup self, int index)
Deprecated.Support the subscript operator for ButtonGroup.- Parameters:
self- a ButtonGroupindex- the index of the AbstractButton to get- Returns:
- the button at the given index
- Since:
- 1.6.4
-
leftShift
@Deprecated public static ButtonGroup leftShift(ButtonGroup self, AbstractButton b)
Deprecated.Overloads the left shift operator to provide an easy way to add buttons to a ButtonGroup.- Parameters:
self- a ButtonGroupb- an AbstractButton to be added to the buttonGroup.- Returns:
- same buttonGroup, after the value was added to it.
- Since:
- 1.6.4
-
iterator
@Deprecated public static Iterator<AbstractButton> iterator(ButtonGroup self)
Deprecated.Returns anIteratorwhich traverses the ButtonGroup one AbstractButton at a time.- Parameters:
self- a ButtonGroup- Returns:
- an Iterator for a ButtonGroup
- Since:
- 1.6.4
-
size
@Deprecated public static int size(ListModel self)
Deprecated.Provide the standard Groovysize()method forListModel.- Parameters:
self- a ListModel- Returns:
- the size of the ListModel
- Since:
- 1.6.4
-
getAt
@Deprecated public static Object getAt(ListModel self, int index)
Deprecated.Support the subscript operator for ListModel.- Parameters:
self- a ListModelindex- the index of the element to get- Returns:
- the element at the given index
- Since:
- 1.6.4
-
iterator
@Deprecated public static Iterator iterator(ListModel self)
Deprecated.Returns anIteratorwhich traverses the ListModel one element at a time.- Parameters:
self- a ListModel- Returns:
- an Iterator for a ListModel
- Since:
- 1.6.4
-
leftShift
@Deprecated public static DefaultListModel leftShift(DefaultListModel self, Object e)
Deprecated.Overloads the left shift operator to provide an easy way to add elements to a DefaultListModel.- Parameters:
self- a DefaultListModele- an element to be added to the listModel.- Returns:
- same listModel, after the value was added to it.
- Since:
- 1.6.4
-
putAt
@Deprecated public static void putAt(DefaultListModel self, int index, Object e)
Deprecated.Allow DefaultListModel to work with subscript operators.WARNING: this operation does not replace the element at the specified index, rather it inserts the element at that index, thus increasing the size of of the model by 1.
- Parameters:
self- a DefaultListModelindex- an indexe- the element to insert at the given index- Since:
- 1.6.4
-
clear
@Deprecated public static void clear(DefaultListModel self)
Deprecated.Removes all elements from the DefaultListModel.- Parameters:
self- a DefaultListModel- Since:
- 1.6.4
-
iterator
@Deprecated public static Iterator iterator(DefaultListModel self)
Deprecated.Returns anIteratorwhich traverses the DefaultListModel one element at a time.- Parameters:
self- a DefaultListModel- Returns:
- an Iterator for a DefaultListModel
- Since:
- 1.6.4
-
size
@Deprecated public static int size(JComboBox self)
Deprecated.Provide the standard Groovysize()method forJComboBox.- Parameters:
self- a JComboBox- Returns:
- the item count of the comboBox
- Since:
- 1.6.4
-
getAt
@Deprecated public static Object getAt(JComboBox self, int index)
Deprecated.Support the subscript operator for JComboBox.- Parameters:
self- a JComboBoxindex- the index of the item to get- Returns:
- the tem at the given index
- Since:
- 1.6.4
-
leftShift
@Deprecated public static JComboBox leftShift(JComboBox self, Object i)
Deprecated.Overloads the left shift operator to provide an easy way to add items to a JComboBox.- Parameters:
self- a JComboBoxi- an item to be added to the comboBox.- Returns:
- same comboBox, after the value was added to it.
- Since:
- 1.6.4
-
clear
@Deprecated public static void clear(JComboBox self)
Deprecated.Removes all items from the JComboBox.- Parameters:
self- a JComboBox- Since:
- 1.6.4
-
iterator
@Deprecated public static Iterator iterator(JComboBox self)
Deprecated.Returns anIteratorwhich traverses the ComboBox one item at a time.- Parameters:
self- a ComboBox- Returns:
- an Iterator for a ComboBox
- Since:
- 1.6.4
-
leftShift
@Deprecated public static MutableComboBoxModel leftShift(MutableComboBoxModel self, Object i)
Deprecated.Overloads the left shift operator to provide an easy way to add items to a MutableComboBoxModel.- Parameters:
self- a MutableComboBoxModeli- an item to be added to the model.- Returns:
- same model, after the value was added to it.
- Since:
- 1.6.4
-
putAt
@Deprecated public static void putAt(MutableComboBoxModel self, int index, Object i)
Deprecated.Allow MutableComboBoxModel to work with subscript operators.WARNING: this operation does not replace the item at the specified index, rather it inserts the item at that index, thus increasing the size of the model by 1.
- Parameters:
self- a MutableComboBoxModelindex- an indexi- the item to insert at the given index- Since:
- 1.6.4
-
iterator
@Deprecated public static Iterator iterator(MutableComboBoxModel self)
Deprecated.Returns anIteratorwhich traverses the MutableComboBoxModel one item at a time.- Parameters:
self- a MutableComboBoxModel- Returns:
- an Iterator for a MutableComboBoxModel
- Since:
- 1.6.4
-
clear
@Deprecated public static void clear(DefaultComboBoxModel self)
Deprecated.Removes all items from the model.- Parameters:
self- a DefaultComboBoxModel- Since:
- 1.7.3
-
size
@Deprecated public static int size(TableModel self)
Deprecated.Provide the standard Groovysize()method forTableModel.- Parameters:
self- a TableModel- Returns:
- the row count of the TableModel
- Since:
- 1.6.4
-
getAt
@Deprecated public static Object[] getAt(TableModel self, int index)
Deprecated.Support the subscript operator for TableModel.- Parameters:
self- a TableModelindex- the index of the row to get- Returns:
- the row at the given index
- Since:
- 1.6.4
-
iterator
@Deprecated public static Iterator iterator(TableModel self)
Deprecated.Returns anIteratorwhich traverses the TableModel one row at a time.- Parameters:
self- a TableModel- Returns:
- an Iterator for a TableModel
- Since:
- 1.6.4
-
leftShift
@Deprecated public static DefaultTableModel leftShift(DefaultTableModel self, Object row)
Deprecated.Overloads the left shift operator to provide an easy way to add rows to a DefaultTableModel.if row.size < model.size -> row will be padded with nulls
if row.size > model.size -> additional columns will be discarded- Parameters:
self- a DefaultTableModelrow- a row to be added to the model.- Returns:
- same model, after the value was added to it.
- Since:
- 1.6.4
-
putAt
@Deprecated public static void putAt(DefaultTableModel self, int index, Object row)
Deprecated.Allow DefaultTableModel to work with subscript operators.WARNING: this operation does not replace the item at the specified index, rather it inserts the item at that index, thus increasing the size of the model by 1.
if row.size < model.size -> row will be padded with nulls
if row.size > model.size -> additional columns will be discarded- Parameters:
self- a DefaultTableModelindex- an indexrow- the row to insert at the given index- Since:
- 1.6.4
-
iterator
@Deprecated public static Iterator iterator(DefaultTableModel self)
Deprecated.Returns anIteratorwhich traverses the DefaultTableModel one item at a time.- Parameters:
self- a DefaultTableModel- Returns:
- an Iterator for a DefaultTableModel
- Since:
- 1.6.4
-
size
@Deprecated public static int size(TableColumnModel self)
Deprecated.Provide the standard Groovysize()method forTableColumnModel.- Parameters:
self- a TableColumnModel- Returns:
- the column count of the TableColumnModel
- Since:
- 1.6.4
-
getAt
@Deprecated public static TableColumn getAt(TableColumnModel self, int index)
Deprecated.Support the subscript operator for TableColumnModel.- Parameters:
self- a TableColumnModelindex- the index of the column to get- Returns:
- the column at the given index
- Since:
- 1.6.4
-
iterator
@Deprecated public static Iterator<TableColumn> iterator(TableColumnModel self)
Deprecated.Returns anIteratorwhich traverses the TableColumnModel one TableColumn at a time.- Parameters:
self- a TableColumnModel- Returns:
- an Iterator for a TableColumnModel
- Since:
- 1.6.4
-
leftShift
@Deprecated public static TableColumnModel leftShift(TableColumnModel self, TableColumn column)
Deprecated.Overloads the left shift operator to provide an easy way to add columns to a TableColumnModel.- Parameters:
self- a TableColumnModelcolumn- a TableColumn to be added to the model.- Returns:
- same model, after the value was added to it.
- Since:
- 1.6.4
-
size
@Deprecated public static int size(TreePath self)
Deprecated.Provide the standard Groovysize()method forTreePath.- Parameters:
self- a TreePath- Returns:
- the path count of the treePath
- Since:
- 1.6.4
-
getAt
@Deprecated public static Object getAt(TreePath self, int index)
Deprecated.Support the subscript operator for TreePath.- Parameters:
self- a TreePathindex- the index of the path to get- Returns:
- the path at the given index
- Since:
- 1.6.4
-
leftShift
@Deprecated public static TreePath leftShift(TreePath self, Object p)
Deprecated.Overloads the left shift operator to provide an easy way to add paths to a treePath.WARNING: this operation returns a new TreePath, not the original one.
- Parameters:
self- a TreePathp- an object to be added to the treePath.- Returns:
- same treePath, after the value was added to it.
- Since:
- 1.6.4
-
iterator
@Deprecated public static Iterator iterator(TreePath self)
Deprecated.Returns anIteratorwhich traverses the TreePath one path at a time.- Parameters:
self- a TreePath- Returns:
- an Iterator for a TreePath
- Since:
- 1.6.4
-
size
@Deprecated public static int size(TreeNode self)
Deprecated.Provide the standard Groovysize()method forTreeNode.- Parameters:
self- a TreeNode- Returns:
- the child count of the treeNode
- Since:
- 1.6.4
-
getAt
@Deprecated public static TreeNode getAt(TreeNode self, int index)
Deprecated.Support the subscript operator for TreeNode.- Parameters:
self- a TreeNodeindex- the index of the child node to get- Returns:
- the child node at the given index
- Since:
- 1.6.4
-
iterator
@Deprecated public static Iterator<TreeNode> iterator(TreeNode self)
Deprecated.Returns anIteratorwhich traverses the TreeNode one node at a time.- Parameters:
self- a TreeNode- Returns:
- an Iterator for a TreeNode
- Since:
- 1.6.4
-
leftShift
@Deprecated public static MutableTreeNode leftShift(MutableTreeNode self, MutableTreeNode node)
Deprecated.Overloads the left shift operator to provide an easy way to add nodes to a MutableTreeNode.- Parameters:
self- a MutableTreeNodenode- a node to be added to the treeNode.- Returns:
- same treeNode, after the value was added to it.
- Since:
- 1.6.4
-
putAt
@Deprecated public static void putAt(MutableTreeNode self, int index, MutableTreeNode node)
Deprecated.Allow MutableTreeNode to work with subscript operators.WARNING: this operation does not replace the node at the specified index, rather it inserts the node at that index, thus increasing the size of the treeNode by 1.
- Parameters:
self- a MutableTreeNodeindex- an indexnode- the node to insert at the given index- Since:
- 1.6.4
-
leftShift
@Deprecated public static DefaultMutableTreeNode leftShift(DefaultMutableTreeNode self, DefaultMutableTreeNode node)
Deprecated.Overloads the left shift operator to provide an easy way to add nodes to a DefaultMutableTreeNode.- Parameters:
self- a DefaultMutableTreeNodenode- a node to be added to the treeNode.- Returns:
- same treeNode, after the value was added to it.
- Since:
- 1.6.4
-
clear
@Deprecated public static void clear(DefaultMutableTreeNode self)
Deprecated.Removes all children nodes from the DefaultMutableTreeNode.- Parameters:
self- a DefaultMutableTreeNode- Since:
- 1.6.4
-
size
@Deprecated public static int size(JMenu self)
Deprecated.Provide the standard Groovysize()method forJMenu.- Parameters:
self- a JMenu- Returns:
- the menu component count of the menu
- Since:
- 1.6.4
-
getAt
@Deprecated public static Component getAt(JMenu self, int index)
Deprecated.Support the subscript operator for JMenu.- Parameters:
self- a JMenuindex- the index of the menu component to get- Returns:
- the menu component at the given index
- Since:
- 1.6.4
-
leftShift
@Deprecated public static JMenu leftShift(JMenu self, Action action)
Deprecated.Overloads the left shift operator to provide an easy way to add components to a menu.- Parameters:
self- a JMenuaction- an action to be added to the menu.- Returns:
- same menu, after the value was added to it.
- Since:
- 1.6.4
-
leftShift
@Deprecated public static JMenu leftShift(JMenu self, Component component)
Deprecated.Overloads the left shift operator to provide an easy way to add components to a menu.- Parameters:
self- a JMenucomponent- a component to be added to the menu.- Returns:
- same menu, after the value was added to it.
- Since:
- 1.6.4
-
leftShift
@Deprecated public static JMenu leftShift(JMenu self, JMenuItem item)
Deprecated.Overloads the left shift operator to provide an easy way to add components to a menu.- Parameters:
self- a JMenuitem- an item to be added to the menu.- Returns:
- same menu, after the value was added to it.
- Since:
- 1.6.4
-
leftShift
@Deprecated public static JMenu leftShift(JMenu self, String str)
Deprecated.Overloads the left shift operator to provide an easy way to add components to a menu.- Parameters:
self- a JMenustr- a String to be added to the menu.- Returns:
- same menu, after the value was added to it.
- Since:
- 1.6.4
-
leftShift
@Deprecated public static JMenu leftShift(JMenu self, GString gstr)
Deprecated.Overloads the left shift operator to provide an easy way to add components to a menu.- Parameters:
self- a JMenugstr- a GString to be added to the menu.- Returns:
- same menu, after the value was added to it.
- Since:
- 1.6.4
-
iterator
@Deprecated public static Iterator iterator(JMenu self)
Deprecated.Returns anIteratorwhich traverses the JMenu one component at a time.- Parameters:
self- a JMenu- Returns:
- an Iterator for a JMenu
- Since:
- 1.6.4
-
size
@Deprecated public static int size(JMenuBar self)
Deprecated.Provide the standard Groovysize()method forJMenuBar.- Parameters:
self- a JMenuBar- Returns:
- the menu count of the menuBar
- Since:
- 1.6.4
-
getAt
@Deprecated public static JMenu getAt(JMenuBar self, int index)
Deprecated.Support the subscript operator for JMenuBar.- Parameters:
self- a JMenuBarindex- the index of the menu to get- Returns:
- the menu at the given index
- Since:
- 1.6.4
-
leftShift
@Deprecated public static JMenuBar leftShift(JMenuBar self, JMenu menu)
Deprecated.Overloads the left shift operator to provide an easy way to add menus to a menuBar.- Parameters:
self- a JMenuBarmenu- a menu to be added to the menuBar.- Returns:
- same menuBar, after the value was added to it.
- Since:
- 1.6.4
-
iterator
@Deprecated public static Iterator iterator(JMenuBar self)
Deprecated.Returns anIteratorwhich traverses the JMenuBar one menu at a time.- Parameters:
self- a JMenuBar- Returns:
- an Iterator for a JMenuBar
- Since:
- 1.6.4
-
leftShift
@Deprecated public static JPopupMenu leftShift(JPopupMenu self, Action action)
Deprecated.Overloads the left shift operator to provide an easy way to add components to a popupMenu.- Parameters:
self- a JPopupMenuaction- an action to be added to the popupMenu.- Returns:
- same popupMenu, after the value was added to it.
- Since:
- 1.6.4
-
leftShift
@Deprecated public static JPopupMenu leftShift(JPopupMenu self, Component component)
Deprecated.Overloads the left shift operator to provide an easy way to add components to a popupMenu.- Parameters:
self- a JPopupMenucomponent- a component to be added to the popupMenu.- Returns:
- same popupMenu, after the value was added to it.
- Since:
- 1.6.4
-
leftShift
@Deprecated public static JPopupMenu leftShift(JPopupMenu self, JMenuItem item)
Deprecated.Overloads the left shift operator to provide an easy way to add components to a popupMenu.- Parameters:
self- a JPopupMenuitem- an item to be added to the popupMenu.- Returns:
- same popupMenu, after the value was added to it.
- Since:
- 1.6.4
-
leftShift
@Deprecated public static JPopupMenu leftShift(JPopupMenu self, String str)
Deprecated.Overloads the left shift operator to provide an easy way to add components to a popupMenu.- Parameters:
self- a JPopupMenustr- a String to be added to the popupMenu.- Returns:
- same popupMenu, after the value was added to it.
- Since:
- 1.6.4
-
leftShift
@Deprecated public static JPopupMenu leftShift(JPopupMenu self, GString gstr)
Deprecated.Overloads the left shift operator to provide an easy way to add components to a popupMenu.- Parameters:
self- a JPopupMenugstr- a GString to be added to the popupMenu.- Returns:
- same popupMenu, after the value was added to it.
- Since:
- 1.6.4
-
iterator
@Deprecated public static Iterator<MenuElement> iterator(JPopupMenu self)
Deprecated.Returns anIteratorwhich traverses the JPopupMenu one MenuElement at a time.- Parameters:
self- a JPopupMenu- Returns:
- an Iterator for a JPopupMenu
- Since:
- 1.6.4
-
size
@Deprecated public static int size(JTabbedPane self)
Deprecated.Provide the standard Groovysize()method forJTabbedPane.- Parameters:
self- a JTabbedPane- Returns:
- the tab count of the tabbedPane
- Since:
- 1.6.4
-
clear
@Deprecated public static void clear(JTabbedPane self)
Deprecated.Removes all elements from the JTabbedPane.- Parameters:
self- a JTabbedPane- Since:
- 1.6.4
-
getAt
@Deprecated public static Component getAt(JTabbedPane self, int index)
Deprecated.Support the subscript operator for JTabbedPane.- Parameters:
self- a JTabbedPaneindex- the index of the tab component to get- Returns:
- the component at the given index
- Since:
- 1.6.4
-
iterator
@Deprecated public static Iterator<Component> iterator(JTabbedPane self)
Deprecated.Returns anIteratorwhich traverses the JTabbedPane one Component tab at a time.- Parameters:
self- a JTabbedPane- Returns:
- an Iterator for a JTabbedPane
- Since:
- 1.6.4
-
leftShift
@Deprecated public static JToolBar leftShift(JToolBar self, Action action)
Deprecated.Overloads the left shift operator to provide an easy way to add components to a toolBar.- Parameters:
self- a JToolBaraction- an Action to be added to the toolBar.- Returns:
- same toolBar, after the value was added to it.
- Since:
- 1.6.4
-
getAt
@Deprecated public static Component getAt(JToolBar self, int index)
Deprecated.Support the subscript operator for JToolBar.- Parameters:
self- a JToolBarindex- the index of the tab component to get- Returns:
- the tab component at the given index
- Since:
- 1.6.4
-
setMnemonic
@Deprecated public static void setMnemonic(AbstractButton button, String mnemonic)
Deprecated.Allows the usage of a one-element string for a mnemonic- Parameters:
button- a AbstractButtonmnemonic- the String- Since:
- 2.3.7
-
-