Class AbstractTable<R extends AbstractTable.Row,​M extends AbstractTable.Model<R>>

    • Constructor Detail

      • AbstractTable

        public AbstractTable​(String id)
      • AbstractTable

        public AbstractTable​(String id,
                             M model)
    • Method Detail

      • addRow

        public void addRow​(R row)
      • clearRows

        public void clearRows()
      • createModel

        protected M createModel()
      • createScrollPane

        public JScrollPane createScrollPane()
      • doRemove

        protected void doRemove()
      • doSelect

        protected void doSelect()
      • doShowActions

        protected void doShowActions​(int x,
                                     int y)
      • doView

        protected void doView()
      • getAllColumns

        public List<org.jdesktop.swingx.table.TableColumnExt> getAllColumns()
      • getColumn

        public org.jdesktop.swingx.table.TableColumnExt getColumn​(AbstractTable.Column col)
      • getColumnAt

        public org.jdesktop.swingx.table.TableColumnExt getColumnAt​(int colIndex)
      • getColumnById

        public org.jdesktop.swingx.table.TableColumnExt getColumnById​(String id)
      • getId

        public final String getId()
      • getPointForRow

        public Point getPointForRow​(int rowIndex)
      • getRow

        public R getRow​(int rowIndex)
      • init

        protected void init()
      • insertRow

        public void insertRow​(int rowIndex,
                              R row)
      • isColumnControlAllowed

        protected boolean isColumnControlAllowed()
      • isTableExportAllowed

        protected boolean isTableExportAllowed()
      • keyboardContextMenuPressed

        protected void keyboardContextMenuPressed()
      • keyboardDeletePressed

        protected void keyboardDeletePressed()
      • keyboardEnterPressed

        protected void keyboardEnterPressed()
      • localeChanged

        public void localeChanged​(org.xnap.commons.i18n.LocaleChangeEvent event)
        Specified by:
        localeChanged in interface org.xnap.commons.i18n.LocaleChangeListener
      • moveRow

        public void moveRow​(int srcRowIndex,
                            int targetRowIndex)
      • mouseClicked

        protected void mouseClicked​(MouseEvent e)
      • mouseDoubleClicked

        protected void mouseDoubleClicked​(MouseEvent e)
      • mouseRightClicked

        protected void mouseRightClicked​(MouseEvent e)
      • newModel

        public M newModel()
      • removeRow

        public void removeRow​(int rowIndex)
      • removeRow

        public void removeRow​(R row)
      • removeSelectedRows

        public boolean removeSelectedRows()
      • setMultipleIntervalSelection

        public final void setMultipleIntervalSelection()
      • setRowAt

        public void setRowAt​(int rowIndex,
                             R row)
      • setSingleIntervalSelection

        public final void setSingleIntervalSelection()
      • setSingleSelection

        public final void setSingleSelection()
      • updateFilters

        public void updateFilters()
      • updateFilters

        public void updateFilters​(boolean enabled)
      • updateLocalization

        protected void updateLocalization()
      • updateRow

        public void updateRow​(int rowIndex)
      • updateSelectedRow

        public void updateSelectedRow()