/** * {@inheritDoc} <p> * Sets the associated JTable. Enables enhanced header * features if table is of type JXTable.<p> * * PENDING: who is responsible for synching the columnModel? */ @Override public void setTable(JTable table) { super.setTable(table); // setColumnModel(table.getColumnModel()); // the additional listening option makes sense only if the table // actually is a JXTable if (getXTable() != null) { installHeaderListener(); } else { uninstallHeaderListener(); } }
/** * {@inheritDoc} <p> * Sets the associated JTable. Enables enhanced header * features if table is of type JXTable.<p> * * PENDING: who is responsible for synching the columnModel? */ @Override public void setTable(JTable table) { uninstallTable(); super.setTable(table); installTable(); // setColumnModel(table.getColumnModel()); // the additional listening option makes sense only if the table // actually is a JXTable if (getXTable() != null) { installHeaderListener(); } else { uninstallHeaderListener(); } }
/** * {@inheritDoc} <p> * Sets the associated JTable. Enables enhanced header * features if table is of type JXTable.<p> * * PENDING: who is responsible for synching the columnModel? */ @Override public void setTable(JTable table) { uninstallTable(); super.setTable(table); installTable(); // setColumnModel(table.getColumnModel()); // the additional listening option makes sense only if the table // actually is a JXTable if (getXTable() != null) { installHeaderListener(); } else { uninstallHeaderListener(); } }
/** * {@inheritDoc} <p> * Sets the associated JTable. Enables enhanced header * features if table is of type JXTable.<p> * * PENDING: who is responsible for synching the columnModel? */ @Override public void setTable(JTable table) { uninstallTable(); super.setTable(table); installTable(); // setColumnModel(table.getColumnModel()); // the additional listening option makes sense only if the table // actually is a JXTable if (getXTable() != null) { installHeaderListener(); } else { uninstallHeaderListener(); } }
/** * {@inheritDoc} <p> * Sets the associated JTable. Enables enhanced header * features if table is of type JXTable.<p> * * PENDING: who is responsible for synching the columnModel? */ @Override public void setTable(JTable table) { uninstallTable(); super.setTable(table); installTable(); // setColumnModel(table.getColumnModel()); // the additional listening option makes sense only if the table // actually is a JXTable if (getXTable() != null) { installHeaderListener(); } else { uninstallHeaderListener(); } }