javax.swing.table.TableColumn.removePropertyChangeListener()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(4.8k)|赞(0)|评价(0)|浏览(150)

本文整理了Java中javax.swing.table.TableColumn.removePropertyChangeListener()方法的一些代码示例,展示了TableColumn.removePropertyChangeListener()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。TableColumn.removePropertyChangeListener()方法的具体详情如下:
包路径:javax.swing.table.TableColumn
类名称:TableColumn
方法名:removePropertyChangeListener

TableColumn.removePropertyChangeListener介绍

暂无

代码示例

代码示例来源:origin: org.swinglabs.swingx/swingx-all

  1. /**
  2. * Releases all references to the synched <code>TableColumn</code>.
  3. * Client code must call this method if the
  4. * action is no longer needed. After calling this action must not be
  5. * used any longer.
  6. */
  7. public void releaseColumn() {
  8. column.removePropertyChangeListener(columnListener);
  9. column = null;
  10. }

代码示例来源:origin: org.swinglabs.swingx/swingx-core

  1. /**
  2. * Releases all references to the synched <code>TableColumn</code>.
  3. * Client code must call this method if the
  4. * action is no longer needed. After calling this action must not be
  5. * used any longer.
  6. */
  7. public void releaseColumn() {
  8. column.removePropertyChangeListener(columnListener);
  9. column = null;
  10. }

代码示例来源:origin: com.haulmont.thirdparty/swingx-core

  1. /**
  2. * Releases all references to the synched <code>TableColumn</code>.
  3. * Client code must call this method if the
  4. * action is no longer needed. After calling this action must not be
  5. * used any longer.
  6. */
  7. public void releaseColumn() {
  8. column.removePropertyChangeListener(columnListener);
  9. column = null;
  10. }

代码示例来源:origin: org.bidib.jbidib.swinglabs.swingx/swingx-core

  1. /**
  2. * Releases all references to the synched <code>TableColumn</code>.
  3. * Client code must call this method if the
  4. * action is no longer needed. After calling this action must not be
  5. * used any longer.
  6. */
  7. public void releaseColumn() {
  8. column.removePropertyChangeListener(columnListener);
  9. column = null;
  10. }

代码示例来源:origin: org.codehaus.jtstand/jtstand-desktop

  1. /**
  2. * Releases all references to the synched <code>TableColumn</code>.
  3. * Client code must call this method if the
  4. * action is no longer needed. After calling this action must not be
  5. * used any longer.
  6. */
  7. public void releaseColumn() {
  8. column.removePropertyChangeListener(columnListener);
  9. column = null;
  10. }

代码示例来源:origin: net.sf.sfac/sfac-core

  1. @Override
  2. public void addColumn(TableColumn aColumn) {
  3. // if this method is called, column number is updated from the outside.
  4. // Most likely, a new column set is added after all previous columns have been removed.
  5. // In this case we consider that all the columns are shown
  6. // and we have to resynchronize with supreclass content
  7. synchWithSuperclass();
  8. // add the column
  9. aColumn.removePropertyChangeListener(widthListener);
  10. aColumn.addPropertyChangeListener(widthListener);
  11. allColumns.add(aColumn);
  12. hidingSelectionDialog = null;
  13. super.addColumn(aColumn);
  14. }

代码示例来源:origin: net.sf.sfac/sfac-core

  1. @Override
  2. public void removeColumn(TableColumn column) {
  3. // if this method is called, column number is updated from the outside.
  4. // Most likely, all columns will be removed.
  5. // In this case, as the tables knows only the shown columns,
  6. // we have first to resynchronize with supreclass content
  7. synchWithSuperclass();
  8. // remove the column
  9. column.removePropertyChangeListener(widthListener);
  10. boolean removed = allColumns.remove(column);
  11. if (removed) {
  12. if (log.isDebugEnabled()) log.debug("Remove column " + column.getHeaderValue() + " = " + column.getModelIndex());
  13. } else {
  14. log.warn("Column not found " + column.getHeaderValue() + " = " + column.getModelIndex());
  15. }
  16. hidingSelectionDialog = null;
  17. super.removeColumn(column);
  18. }

代码示例来源:origin: com.eas.platypus/platypus-js-grid

  1. public final void setTableColumn(TableColumn aColumn) {
  2. if (tableColumn != null) {
  3. tableColumn.removePropertyChangeListener(columnListener);
  4. }
  5. if (aColumn == null && tableColumn != null) {
  6. minWidth = tableColumn.getMinWidth();
  7. maxWidth = tableColumn.getMaxWidth();
  8. if (tableColumn.getHeaderValue() instanceof String) {
  9. title = (String) tableColumn.getHeaderValue();
  10. }
  11. }
  12. tableColumn = aColumn;
  13. if (tableColumn != null) {
  14. tableColumn.addPropertyChangeListener(columnListener);
  15. }
  16. }

代码示例来源:origin: com.haulmont.thirdparty/glazedlists

  1. oldColumn.removePropertyChangeListener(this);
  2. fireColumnRemoved(new TableColumnModelEvent(this, index, 0));
  3. oldColumn.removePropertyChangeListener(this);
  4. newColumn.addPropertyChangeListener(this);

代码示例来源:origin: net.java.dev.glazedlists/glazedlists_java15

  1. oldColumn.removePropertyChangeListener(this);
  2. fireColumnRemoved(new TableColumnModelEvent(this, index, 0));
  3. oldColumn.removePropertyChangeListener(this);
  4. newColumn.addPropertyChangeListener(this);

代码示例来源:origin: net.java.dev.glazedlists/glazedlists_java16

  1. oldColumn.removePropertyChangeListener(this);
  2. fireColumnRemoved(new TableColumnModelEvent(this, index, 0));
  3. oldColumn.removePropertyChangeListener(this);
  4. newColumn.addPropertyChangeListener(this);

代码示例来源:origin: com.haulmont.thirdparty/glazedlists

  1. swingThreadSource.get(i).removePropertyChangeListener(this);

代码示例来源:origin: net.java.dev.glazedlists/glazedlists_java15

  1. swingThreadSource.get(i).removePropertyChangeListener(this);

代码示例来源:origin: net.java.dev.glazedlists/glazedlists_java16

  1. swingThreadSource.get(i).removePropertyChangeListener(this);

相关文章