本文整理了Java中javax.swing.JTable.removePropertyChangeListener()
方法的一些代码示例,展示了JTable.removePropertyChangeListener()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JTable.removePropertyChangeListener()
方法的具体详情如下:
包路径:javax.swing.JTable
类名称:JTable
方法名:removePropertyChangeListener
暂无
代码示例来源:origin: groovy/groovy-core
protected void syntheticUnbind() {
boundTable.removePropertyChangeListener("model", this);
boundTable.getModel().removeTableModelListener(this);
}
代码示例来源:origin: groovy/groovy-core
public synchronized void syntheticUnbind() {
boundTable.removePropertyChangeListener("selectionModel", this);
boundTable.getSelectionModel().removeListSelectionListener(this);
boundTable = null;
}
代码示例来源:origin: ron190/jsql-injection
/**
* Indicate whether changes to the model should cause the width to be
* dynamically recalculated.
*/
public void setDynamicAdjustment(boolean isDynamicAdjustment) {
// May need to add or remove the TableModelListener when changed
if (this.isDynamicAdjustment != isDynamicAdjustment) {
if (isDynamicAdjustment) {
this.tableAdjust.addPropertyChangeListener( this );
this.tableAdjust.getModel().addTableModelListener( this );
} else {
this.tableAdjust.removePropertyChangeListener( this );
this.tableAdjust.getModel().removeTableModelListener( this );
}
}
this.isDynamicAdjustment = isDynamicAdjustment;
}
代码示例来源:origin: com.google.code.validationframework/validationframework-swing
/**
* @see Disposable#dispose()
*/
@Override
public void dispose() {
table.removePropertyChangeListener("tableCellEditor", sourceAdapter);
sourceAdapter.dispose();
}
}
代码示例来源:origin: khuxtable/seaglass
/**
* @see javax.swing.plaf.basic.BasicTableUI#uninstallListeners()
*/
protected void uninstallListeners() {
table.removePropertyChangeListener(this);
super.uninstallListeners();
}
代码示例来源:origin: it.tidalwave.betterbeansbinding/betterbeansbinding-swingbinding
protected void listeningStopped() {
table.getSelectionModel().removeListSelectionListener(handler);
table.removePropertyChangeListener("selectionModel", handler);
cachedElementOrElements = null;
handler = null;
}
代码示例来源:origin: org.codehaus.groovy/groovy-swing
public synchronized void syntheticUnbind() {
boundTable.removePropertyChangeListener("selectionModel", this);
boundTable.getSelectionModel().removeListSelectionListener(this);
boundTable = null;
}
代码示例来源:origin: com.thinkaurelius.groovy-shaded-asm/groovy-shaded-asm
public synchronized void syntheticUnbind() {
boundTable.removePropertyChangeListener("selectionModel", this);
boundTable.getSelectionModel().removeListSelectionListener(this);
boundTable = null;
}
代码示例来源:origin: org.kohsuke.droovy/groovy
public synchronized void syntheticUnbind() {
boundTable.removePropertyChangeListener("selectionModel", this);
boundTable.getSelectionModel().removeListSelectionListener(this);
boundTable = null;
}
代码示例来源:origin: com.google.code.validationframework/validationframework-swing
/**
* @see Disposable#dispose()
*/
@Override
public void dispose() {
if (table != null) {
table.getSelectionModel().removeListSelectionListener(selectionAdapter);
table.removePropertyChangeListener("selectionModel", selectionAdapter);
table = null;
}
}
代码示例来源:origin: com.google.code.validationframework/validationframework-swing
/**
* @see Disposable#dispose()
*/
@Override
public void dispose() {
if (table != null) {
table.getModel().removeTableModelListener(rowAdapter);
table.removePropertyChangeListener("model", rowAdapter);
table = null;
}
}
代码示例来源:origin: com.google.code.validationframework/validationframework-experimental
/**
* @see Disposable#dispose()
*/
@Override
public void dispose() {
if (table != null) {
table.getSelectionModel().removeListSelectionListener(selectionAdapter);
table.removePropertyChangeListener("selectionModel", selectionAdapter);
table = null;
}
}
代码示例来源:origin: net.sf.cuf/cuf-swing
/**
* Disconnect from our table.
* Use this method if you need to get rid of this instance.
*/
public void dispose()
{
// remove listeners
mTable.getTableHeader().removeMouseListener(this);
mTable.removePropertyChangeListener(TABLE_PROPERTY_TABLEHEADER, this);
// break this instance
mTable = null;
}
代码示例来源:origin: net.java.dev.beansbinding/beansbinding
protected void listeningStopped() {
table.getSelectionModel().removeListSelectionListener(handler);
table.removePropertyChangeListener("selectionModel", handler);
cachedElementOrElements = null;
handler = null;
}
代码示例来源:origin: org.swinglabs.swingx/swingx-all
/**
*
*/
private void uninstallListeners() {
table.removePropertyChangeListener(getPropertyChangeListener());
table.getModel().removeTableModelListener(getTableModelListener());
// whatever else turns out to be needed
}
代码示例来源:origin: org.bidib.jbidib.swinglabs.swingx/swingx-core
/**
*
*/
private void uninstallListeners() {
table.removePropertyChangeListener(getPropertyChangeListener());
table.getModel().removeTableModelListener(getTableModelListener());
// whatever else turns out to be needed
}
代码示例来源:origin: org.swinglabs.swingx/swingx-core
/**
*
*/
private void uninstallListeners() {
table.removePropertyChangeListener(getPropertyChangeListener());
table.getModel().removeTableModelListener(getTableModelListener());
// whatever else turns out to be needed
}
代码示例来源:origin: org.swinglabs.swingx/swingx-core
/**
* Uninstalls the table. <p>
* This implementation uninstalls the PropertyChangeListener.
*/
protected void uninstallTable() {
if (getTable() == null) return;
getTable().removePropertyChangeListener(getTablePropertyChangeListener());
}
代码示例来源:origin: org.swinglabs.swingx/swingx-all
/**
* Uninstalls the table. <p>
* This implementation uninstalls the PropertyChangeListener.
*/
protected void uninstallTable() {
if (getTable() == null) return;
getTable().removePropertyChangeListener(getTablePropertyChangeListener());
}
代码示例来源:origin: com.haulmont.thirdparty/swingx-core
/**
* Uninstalls the table. <p>
* This implementation uninstalls the PropertyChangeListener.
*/
protected void uninstallTable() {
if (getTable() == null) return;
getTable().removePropertyChangeListener(getTablePropertyChangeListener());
}
内容来源于网络,如有侵权,请联系作者删除!