本文整理了Java中javax.swing.table.TableColumn.removePropertyChangeListener()
方法的一些代码示例,展示了TableColumn.removePropertyChangeListener()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。TableColumn.removePropertyChangeListener()
方法的具体详情如下:
包路径:javax.swing.table.TableColumn
类名称:TableColumn
方法名:removePropertyChangeListener
暂无
代码示例来源:origin: org.swinglabs.swingx/swingx-all
/**
* Releases all references to the synched <code>TableColumn</code>.
* Client code must call this method if the
* action is no longer needed. After calling this action must not be
* used any longer.
*/
public void releaseColumn() {
column.removePropertyChangeListener(columnListener);
column = null;
}
代码示例来源:origin: org.swinglabs.swingx/swingx-core
/**
* Releases all references to the synched <code>TableColumn</code>.
* Client code must call this method if the
* action is no longer needed. After calling this action must not be
* used any longer.
*/
public void releaseColumn() {
column.removePropertyChangeListener(columnListener);
column = null;
}
代码示例来源:origin: com.haulmont.thirdparty/swingx-core
/**
* Releases all references to the synched <code>TableColumn</code>.
* Client code must call this method if the
* action is no longer needed. After calling this action must not be
* used any longer.
*/
public void releaseColumn() {
column.removePropertyChangeListener(columnListener);
column = null;
}
代码示例来源:origin: org.bidib.jbidib.swinglabs.swingx/swingx-core
/**
* Releases all references to the synched <code>TableColumn</code>.
* Client code must call this method if the
* action is no longer needed. After calling this action must not be
* used any longer.
*/
public void releaseColumn() {
column.removePropertyChangeListener(columnListener);
column = null;
}
代码示例来源:origin: org.codehaus.jtstand/jtstand-desktop
/**
* Releases all references to the synched <code>TableColumn</code>.
* Client code must call this method if the
* action is no longer needed. After calling this action must not be
* used any longer.
*/
public void releaseColumn() {
column.removePropertyChangeListener(columnListener);
column = null;
}
代码示例来源:origin: net.sf.sfac/sfac-core
@Override
public void addColumn(TableColumn aColumn) {
// if this method is called, column number is updated from the outside.
// Most likely, a new column set is added after all previous columns have been removed.
// In this case we consider that all the columns are shown
// and we have to resynchronize with supreclass content
synchWithSuperclass();
// add the column
aColumn.removePropertyChangeListener(widthListener);
aColumn.addPropertyChangeListener(widthListener);
allColumns.add(aColumn);
hidingSelectionDialog = null;
super.addColumn(aColumn);
}
代码示例来源:origin: net.sf.sfac/sfac-core
@Override
public void removeColumn(TableColumn column) {
// if this method is called, column number is updated from the outside.
// Most likely, all columns will be removed.
// In this case, as the tables knows only the shown columns,
// we have first to resynchronize with supreclass content
synchWithSuperclass();
// remove the column
column.removePropertyChangeListener(widthListener);
boolean removed = allColumns.remove(column);
if (removed) {
if (log.isDebugEnabled()) log.debug("Remove column " + column.getHeaderValue() + " = " + column.getModelIndex());
} else {
log.warn("Column not found " + column.getHeaderValue() + " = " + column.getModelIndex());
}
hidingSelectionDialog = null;
super.removeColumn(column);
}
代码示例来源:origin: com.eas.platypus/platypus-js-grid
public final void setTableColumn(TableColumn aColumn) {
if (tableColumn != null) {
tableColumn.removePropertyChangeListener(columnListener);
}
if (aColumn == null && tableColumn != null) {
minWidth = tableColumn.getMinWidth();
maxWidth = tableColumn.getMaxWidth();
if (tableColumn.getHeaderValue() instanceof String) {
title = (String) tableColumn.getHeaderValue();
}
}
tableColumn = aColumn;
if (tableColumn != null) {
tableColumn.addPropertyChangeListener(columnListener);
}
}
代码示例来源:origin: com.haulmont.thirdparty/glazedlists
oldColumn.removePropertyChangeListener(this);
fireColumnRemoved(new TableColumnModelEvent(this, index, 0));
oldColumn.removePropertyChangeListener(this);
newColumn.addPropertyChangeListener(this);
代码示例来源:origin: net.java.dev.glazedlists/glazedlists_java15
oldColumn.removePropertyChangeListener(this);
fireColumnRemoved(new TableColumnModelEvent(this, index, 0));
oldColumn.removePropertyChangeListener(this);
newColumn.addPropertyChangeListener(this);
代码示例来源:origin: net.java.dev.glazedlists/glazedlists_java16
oldColumn.removePropertyChangeListener(this);
fireColumnRemoved(new TableColumnModelEvent(this, index, 0));
oldColumn.removePropertyChangeListener(this);
newColumn.addPropertyChangeListener(this);
代码示例来源:origin: com.haulmont.thirdparty/glazedlists
swingThreadSource.get(i).removePropertyChangeListener(this);
代码示例来源:origin: net.java.dev.glazedlists/glazedlists_java15
swingThreadSource.get(i).removePropertyChangeListener(this);
代码示例来源:origin: net.java.dev.glazedlists/glazedlists_java16
swingThreadSource.get(i).removePropertyChangeListener(this);
内容来源于网络,如有侵权,请联系作者删除!