Class XTableModelDecoratorBase

    • Constructor Detail

      • XTableModelDecoratorBase

        public XTableModelDecoratorBase​(IXTableModel toDecorate)
        Parameters:
        toDecorate - IXTableModel to decorate.
        Throws:
        java.lang.IllegalArgumentException - If toDecorate == null.
    • Method Detail

      • addTableModelListener

        public void addTableModelListener​(javax.swing.event.TableModelListener l)
        Specified by:
        addTableModelListener in interface javax.swing.table.TableModel
      • getColumnClass

        public java.lang.Class getColumnClass​(int columnIndex)
        Specified by:
        getColumnClass in interface javax.swing.table.TableModel
      • getColumnCount

        public int getColumnCount()
        Specified by:
        getColumnCount in interface javax.swing.table.TableModel
      • getColumnName

        public java.lang.String getColumnName​(int columnIndex)
        Specified by:
        getColumnName in interface javax.swing.table.TableModel
      • getObjectAt

        public java.lang.Object getObjectAt​(int rowIndex)
                                     throws javax.ejb.FinderException
        Description copied from interface: IObjectTableModel
        Return the object associated to indicated row.
        Specified by:
        getObjectAt in interface IObjectTableModel
        Specified by:
        getObjectAt in interface IXTableModel
        Throws:
        javax.ejb.FinderException
      • getRowCount

        public int getRowCount()
        Specified by:
        getRowCount in interface javax.swing.table.TableModel
      • getValueAt

        public java.lang.Object getValueAt​(int rowIndex,
                                           int columnIndex)
        Specified by:
        getValueAt in interface javax.swing.table.TableModel
      • isCellEditable

        public boolean isCellEditable​(int rowIndex,
                                      int columnIndex)
        Specified by:
        isCellEditable in interface javax.swing.table.TableModel
      • removeTableModelListener

        public void removeTableModelListener​(javax.swing.event.TableModelListener l)
        Specified by:
        removeTableModelListener in interface javax.swing.table.TableModel
      • setValueAt

        public void setValueAt​(java.lang.Object aValue,
                               int rowIndex,
                               int columnIndex)
        Specified by:
        setValueAt in interface javax.swing.table.TableModel
      • getTotalSize

        public int getTotalSize()
                         throws java.rmi.RemoteException
        Description copied from interface: IXTableModel
        Total count of objects represented by this table model.

        Cantidad de objetos total representados por el table model.

        getRowCount() in another side, return the loaded objects count, not total.

        Specified by:
        getTotalSize in interface IXTableModel
        Throws:
        java.rmi.RemoteException
      • getSum

        public java.lang.Number getSum​(java.lang.String property)
                                throws java.rmi.RemoteException
        Specified by:
        getSum in interface IXTableModel
        Throws:
        java.rmi.RemoteException
      • removeRow

        public void removeRow​(java.util.Map keyValues)
                       throws javax.ejb.FinderException
        Specified by:
        removeRow in interface IXTableModel
        Throws:
        javax.ejb.FinderException