@Deprecated public class SwingGroovyMethods extends Object
| Constructor and Description | 
|---|
SwingGroovyMethods()
Deprecated.  
  | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
clear(Container self)
Deprecated.  
 | 
static void | 
clear(DefaultComboBoxModel self)
Deprecated.  
 | 
static void | 
clear(DefaultListModel self)
Deprecated.  
 | 
static void | 
clear(DefaultMutableTreeNode self)
Deprecated.  
 | 
static void | 
clear(JComboBox self)
Deprecated.  
 | 
static void | 
clear(JTabbedPane self)
Deprecated.  
 | 
static AbstractButton | 
getAt(ButtonGroup self,
     int index)
Deprecated.  
 | 
static Component | 
getAt(Container self,
     int index)
Deprecated.  
 | 
static Object | 
getAt(JComboBox self,
     int index)
Deprecated.  
 | 
static JMenu | 
getAt(JMenuBar self,
     int index)
Deprecated.  
 | 
static Component | 
getAt(JMenu self,
     int index)
Deprecated.  
 | 
static Component | 
getAt(JTabbedPane self,
     int index)
Deprecated.  
 | 
static Component | 
getAt(JToolBar self,
     int index)
Deprecated.  
 | 
static Object | 
getAt(ListModel self,
     int index)
Deprecated.  
 | 
static TableColumn | 
getAt(TableColumnModel self,
     int index)
Deprecated.  
 | 
static Object[] | 
getAt(TableModel self,
     int index)
Deprecated.  
 | 
static TreeNode | 
getAt(TreeNode self,
     int index)
Deprecated.  
 | 
static Object | 
getAt(TreePath self,
     int index)
Deprecated.  
 | 
static Iterator<AbstractButton> | 
iterator(ButtonGroup self)
Deprecated.  
 | 
static Iterator<Component> | 
iterator(Container self)
Deprecated.  
 | 
static Iterator | 
iterator(DefaultListModel self)
Deprecated.  
 | 
static Iterator | 
iterator(DefaultTableModel self)
Deprecated.  
 | 
static Iterator | 
iterator(JComboBox self)
Deprecated.  
 | 
static Iterator | 
iterator(JMenu self)
Deprecated.  
 | 
static Iterator | 
iterator(JMenuBar self)
Deprecated.  
 | 
static Iterator<MenuElement> | 
iterator(JPopupMenu self)
Deprecated.  
 | 
static Iterator<Component> | 
iterator(JTabbedPane self)
Deprecated.  
 | 
static Iterator | 
iterator(ListModel self)
Deprecated.  
 | 
static Iterator | 
iterator(MutableComboBoxModel self)
Deprecated.  
 | 
static Iterator<TableColumn> | 
iterator(TableColumnModel self)
Deprecated.  
 | 
static Iterator | 
iterator(TableModel self)
Deprecated.  
 | 
static Iterator<TreeNode> | 
iterator(TreeNode self)
Deprecated.  
 | 
static Iterator | 
iterator(TreePath self)
Deprecated.  
 | 
static ButtonGroup | 
leftShift(ButtonGroup self,
         AbstractButton b)
Deprecated.  
 | 
static Container | 
leftShift(Container self,
         Component c)
Deprecated.  
 | 
static DefaultListModel | 
leftShift(DefaultListModel self,
         Object e)
Deprecated.  
 | 
static DefaultMutableTreeNode | 
leftShift(DefaultMutableTreeNode self,
         DefaultMutableTreeNode node)
Deprecated.  
 | 
static DefaultTableModel | 
leftShift(DefaultTableModel self,
         Object row)
Deprecated.  
 | 
static JComboBox | 
leftShift(JComboBox self,
         Object i)
Deprecated.  
 | 
static JMenu | 
leftShift(JMenu self,
         Action action)
Deprecated.  
 | 
static JMenuBar | 
leftShift(JMenuBar self,
         JMenu menu)
Deprecated.  
 | 
static JMenu | 
leftShift(JMenu self,
         Component component)
Deprecated.  
 | 
static JMenu | 
leftShift(JMenu self,
         GString gstr)
Deprecated.  
 | 
static JMenu | 
leftShift(JMenu self,
         JMenuItem item)
Deprecated.  
 | 
static JMenu | 
leftShift(JMenu self,
         String str)
Deprecated.  
 | 
static JPopupMenu | 
leftShift(JPopupMenu self,
         Action action)
Deprecated.  
 | 
static JPopupMenu | 
leftShift(JPopupMenu self,
         Component component)
Deprecated.  
 | 
static JPopupMenu | 
leftShift(JPopupMenu self,
         GString gstr)
Deprecated.  
 | 
static JPopupMenu | 
leftShift(JPopupMenu self,
         JMenuItem item)
Deprecated.  
 | 
static JPopupMenu | 
leftShift(JPopupMenu self,
         String str)
Deprecated.  
 | 
static JToolBar | 
leftShift(JToolBar self,
         Action action)
Deprecated.  
 | 
static MutableComboBoxModel | 
leftShift(MutableComboBoxModel self,
         Object i)
Deprecated.  
 | 
static MutableTreeNode | 
leftShift(MutableTreeNode self,
         MutableTreeNode node)
Deprecated.  
 | 
static TableColumnModel | 
leftShift(TableColumnModel self,
         TableColumn column)
Deprecated.  
 | 
static TreePath | 
leftShift(TreePath self,
         Object p)
Deprecated.  
 | 
static void | 
putAt(DefaultListModel self,
     int index,
     Object e)
Deprecated.  
 | 
static void | 
putAt(DefaultTableModel self,
     int index,
     Object row)
Deprecated.  
 | 
static void | 
putAt(MutableComboBoxModel self,
     int index,
     Object i)
Deprecated.  
 | 
static void | 
putAt(MutableTreeNode self,
     int index,
     MutableTreeNode node)
Deprecated.  
 | 
static void | 
setMnemonic(AbstractButton button,
           String mnemonic)
Deprecated.  
 | 
static int | 
size(ButtonGroup self)
Deprecated.  
 | 
static int | 
size(Container self)
Deprecated.  
 | 
static int | 
size(JComboBox self)
Deprecated.  
 | 
static int | 
size(JMenu self)
Deprecated.  
 | 
static int | 
size(JMenuBar self)
Deprecated.  
 | 
static int | 
size(JTabbedPane self)
Deprecated.  
 | 
static int | 
size(ListModel self)
Deprecated.  
 | 
static int | 
size(TableColumnModel self)
Deprecated.  
 | 
static int | 
size(TableModel self)
Deprecated.  
 | 
static int | 
size(TreeNode self)
Deprecated.  
 | 
static int | 
size(TreePath self)
Deprecated.  
 | 
@Deprecated public static int size(Container self)
size() method for Container.self - a Container@Deprecated public static Component getAt(Container self, int index)
self - a Containerindex - the index of the Component to get@Deprecated public static Container leftShift(Container self, Component c)
self - a Containerc - a Component to be added to the container.@Deprecated public static Iterator<Component> iterator(Container self)
Iterator which traverses the Container one Component at a time.self - a Container@Deprecated public static void clear(Container self)
self - a Container@Deprecated public static int size(ButtonGroup self)
size() method for ButtonGroup.self - a ButtonGroup@Deprecated public static AbstractButton getAt(ButtonGroup self, int index)
self - a ButtonGroupindex - the index of the AbstractButton to get@Deprecated public static ButtonGroup leftShift(ButtonGroup self, AbstractButton b)
self - a ButtonGroupb - an AbstractButton to be added to the buttonGroup.@Deprecated public static Iterator<AbstractButton> iterator(ButtonGroup self)
Iterator which traverses the ButtonGroup one AbstractButton at a time.self - a ButtonGroup@Deprecated public static int size(ListModel self)
size() method for ListModel.self - a ListModel@Deprecated public static Object getAt(ListModel self, int index)
self - a ListModelindex - the index of the element to get@Deprecated public static Iterator iterator(ListModel self)
Iterator which traverses the ListModel one element at a time.self - a ListModel@Deprecated public static DefaultListModel leftShift(DefaultListModel self, Object e)
self - a DefaultListModele - an element to be added to the listModel.@Deprecated public static void putAt(DefaultListModel self, int index, Object e)
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.
self - a DefaultListModelindex - an indexe - the element to insert at the given index@Deprecated public static void clear(DefaultListModel self)
self - a DefaultListModel@Deprecated public static Iterator iterator(DefaultListModel self)
Iterator which traverses the DefaultListModel one element at a time.self - a DefaultListModel@Deprecated public static int size(JComboBox self)
size() method for JComboBox.self - a JComboBox@Deprecated public static Object getAt(JComboBox self, int index)
self - a JComboBoxindex - the index of the item to get@Deprecated public static JComboBox leftShift(JComboBox self, Object i)
self - a JComboBoxi - an item to be added to the comboBox.@Deprecated public static void clear(JComboBox self)
self - a JComboBox@Deprecated public static Iterator iterator(JComboBox self)
Iterator which traverses the ComboBox one item at a time.self - a ComboBox@Deprecated public static MutableComboBoxModel leftShift(MutableComboBoxModel self, Object i)
self - a MutableComboBoxModeli - an item to be added to the model.@Deprecated public static void putAt(MutableComboBoxModel self, int index, Object i)
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.
self - a MutableComboBoxModelindex - an indexi - the item to insert at the given index@Deprecated public static Iterator iterator(MutableComboBoxModel self)
Iterator which traverses the MutableComboBoxModel one item at a time.self - a MutableComboBoxModel@Deprecated public static void clear(DefaultComboBoxModel self)
self - a DefaultComboBoxModel@Deprecated public static int size(TableModel self)
size() method for TableModel.self - a TableModel@Deprecated public static Object[] getAt(TableModel self, int index)
self - a TableModelindex - the index of the row to get@Deprecated public static Iterator iterator(TableModel self)
Iterator which traverses the TableModel one row at a time.self - a TableModel@Deprecated public static DefaultTableModel leftShift(DefaultTableModel self, Object row)
 if row.size < model.size -> row will be padded with nulls
 if row.size > model.size -> additional columns will be discarded
self - a DefaultTableModelrow - a row to be added to the model.@Deprecated public static void putAt(DefaultTableModel self, int index, Object row)
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
self - a DefaultTableModelindex - an indexrow - the row to insert at the given index@Deprecated public static Iterator iterator(DefaultTableModel self)
Iterator which traverses the DefaultTableModel one item at a time.self - a DefaultTableModel@Deprecated public static int size(TableColumnModel self)
size() method for TableColumnModel.self - a TableColumnModel@Deprecated public static TableColumn getAt(TableColumnModel self, int index)
self - a TableColumnModelindex - the index of the column to get@Deprecated public static Iterator<TableColumn> iterator(TableColumnModel self)
Iterator which traverses the TableColumnModel one TableColumn at a time.self - a TableColumnModel@Deprecated public static TableColumnModel leftShift(TableColumnModel self, TableColumn column)
self - a TableColumnModelcolumn - a TableColumn to be added to the model.@Deprecated public static int size(TreePath self)
size() method for TreePath.self - a TreePath@Deprecated public static Object getAt(TreePath self, int index)
self - a TreePathindex - the index of the path to get@Deprecated public static TreePath leftShift(TreePath self, Object p)
WARNING: this operation returns a new TreePath, not the original one.
self - a TreePathp - an object to be added to the treePath.@Deprecated public static Iterator iterator(TreePath self)
Iterator which traverses the TreePath one path at a time.self - a TreePath@Deprecated public static int size(TreeNode self)
size() method for TreeNode.self - a TreeNode@Deprecated public static TreeNode getAt(TreeNode self, int index)
self - a TreeNodeindex - the index of the child node to get@Deprecated public static Iterator<TreeNode> iterator(TreeNode self)
Iterator which traverses the TreeNode one node at a time.self - a TreeNode@Deprecated public static MutableTreeNode leftShift(MutableTreeNode self, MutableTreeNode node)
self - a MutableTreeNodenode - a node to be added to the treeNode.@Deprecated public static void putAt(MutableTreeNode self, int index, MutableTreeNode node)
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.
self - a MutableTreeNodeindex - an indexnode - the node to insert at the given index@Deprecated public static DefaultMutableTreeNode leftShift(DefaultMutableTreeNode self, DefaultMutableTreeNode node)
self - a DefaultMutableTreeNodenode - a node to be added to the treeNode.@Deprecated public static void clear(DefaultMutableTreeNode self)
self - a DefaultMutableTreeNode@Deprecated public static int size(JMenu self)
size() method for JMenu.self - a JMenu@Deprecated public static Component getAt(JMenu self, int index)
self - a JMenuindex - the index of the menu component to get@Deprecated public static JMenu leftShift(JMenu self, Action action)
self - a JMenuaction - an action to be added to the menu.@Deprecated public static JMenu leftShift(JMenu self, Component component)
self - a JMenucomponent - a component to be added to the menu.@Deprecated public static JMenu leftShift(JMenu self, JMenuItem item)
self - a JMenuitem - an item to be added to the menu.@Deprecated public static JMenu leftShift(JMenu self, String str)
self - a JMenustr - a String to be added to the menu.@Deprecated public static JMenu leftShift(JMenu self, GString gstr)
self - a JMenugstr - a GString to be added to the menu.@Deprecated public static Iterator iterator(JMenu self)
Iterator which traverses the JMenu one component at a time.self - a JMenu@Deprecated public static int size(JMenuBar self)
size() method for JMenuBar.self - a JMenuBar@Deprecated public static JMenu getAt(JMenuBar self, int index)
self - a JMenuBarindex - the index of the menu to get@Deprecated public static JMenuBar leftShift(JMenuBar self, JMenu menu)
self - a JMenuBarmenu - a menu to be added to the menuBar.@Deprecated public static Iterator iterator(JMenuBar self)
Iterator which traverses the JMenuBar one menu at a time.self - a JMenuBar@Deprecated public static JPopupMenu leftShift(JPopupMenu self, Action action)
self - a JPopupMenuaction - an action to be added to the popupMenu.@Deprecated public static JPopupMenu leftShift(JPopupMenu self, Component component)
self - a JPopupMenucomponent - a component to be added to the popupMenu.@Deprecated public static JPopupMenu leftShift(JPopupMenu self, JMenuItem item)
self - a JPopupMenuitem - an item to be added to the popupMenu.@Deprecated public static JPopupMenu leftShift(JPopupMenu self, String str)
self - a JPopupMenustr - a String to be added to the popupMenu.@Deprecated public static JPopupMenu leftShift(JPopupMenu self, GString gstr)
self - a JPopupMenugstr - a GString to be added to the popupMenu.@Deprecated public static Iterator<MenuElement> iterator(JPopupMenu self)
Iterator which traverses the JPopupMenu one MenuElement at a time.self - a JPopupMenu@Deprecated public static int size(JTabbedPane self)
size() method for JTabbedPane.self - a JTabbedPane@Deprecated public static void clear(JTabbedPane self)
self - a JTabbedPane@Deprecated public static Component getAt(JTabbedPane self, int index)
self - a JTabbedPaneindex - the index of the tab component to get@Deprecated public static Iterator<Component> iterator(JTabbedPane self)
Iterator which traverses the JTabbedPane one Component tab at a time.self - a JTabbedPane@Deprecated public static JToolBar leftShift(JToolBar self, Action action)
self - a JToolBaraction - an Action to be added to the toolBar.@Deprecated public static Component getAt(JToolBar self, int index)
self - a JToolBarindex - the index of the tab component to get@Deprecated public static void setMnemonic(AbstractButton button, String mnemonic)
button - a AbstractButtonmnemonic - the String