javax.swing.JTabbedPane.removeChangeListener()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(8.0k)|赞(0)|评价(0)|浏览(120)

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

JTabbedPane.removeChangeListener介绍

暂无

代码示例

代码示例来源:origin: org.activecomponents.jadex/jadex-editor-bpmn

/**
 *  Removes a listener to the tab pane.
 *  
 *  @param listener The listener.
 */
public void removeTabListener(ChangeListener listener)
{
  tabpane.removeChangeListener(listener);
}

代码示例来源:origin: net.java.abeille/abeille

/**
 * Adds the tab listener to the forms tab
 */
private void removeTabListener() {
  m_forms_tab.removeChangeListener(m_tab_listener);
}

代码示例来源:origin: xyz.cofe/gui.swing

@Override
public void close() throws IOException {
  if(cmpt!=null && l!=null ){
    cmpt.removeChangeListener(l);
    cmpt = null;
    l = null;
  }
}};

代码示例来源:origin: PortSwigger/replicator

void removeChangeListener()
{
  if (changeListener != null)
  {
    tabbedPane.removeChangeListener(changeListener);
  }
}

代码示例来源:origin: antlr/antlrworks

public void removeChangeListener(ChangeListener listener) {
  tabbedPane.removeChangeListener(listener);
}

代码示例来源:origin: org.apache.airavata/airavata-xbaya-gui

public void removeWorkflowTabChangeListener(ChangeListener listener){
  graphTabbedPane.removeChangeListener(listener);
  tabChangeListeners.remove(listener);
}
/**

代码示例来源:origin: net.java.abeille/abeille

/**
 * Adds the tab listener to the forms tab
 */
private void addTabListener() {
  m_forms_tab.removeChangeListener(m_tab_listener);
  m_forms_tab.addChangeListener(m_tab_listener);
}

代码示例来源:origin: net.sf.squirrel-sql/squirrel-sql

public void removeNotify()
{
  super.removeNotify();
  if (_propsListener != null)
  {
    _session.getProperties().removePropertyChangeListener(_propsListener);
    _propsListener = null;
  }
  if (_tabPnlListener != null)
  {
    _tabPnl.removeChangeListener(_tabPnlListener);
    _tabPnlListener = null;
  }
}

代码示例来源:origin: realXuJiang/bigtable-sql

public void removeNotify()
{
  super.removeNotify();
  if (_propsListener != null)
  {
    _session.getProperties().removePropertyChangeListener(_propsListener);
    _propsListener = null;
  }
  Iterator<ObjectTreeTabbedPane> it = _tabbedPanes.values().iterator();
  while (it.hasNext())
  {
    ObjectTreeTabbedPane pane = it.next();
    pane.getTabbedPane().removeChangeListener(_tabPnlListener);
  }
  _tabPnlListener = null;
  if (_objTreeSelLis != null)
  {
    _tree.removeTreeSelectionListener(_objTreeSelLis);
    _objTreeSelLis = null;
  }
}

代码示例来源:origin: realXuJiang/bigtable-sql

public void removeNotify()
{
  super.removeNotify();
  if (_propsListener != null)
  {
    _session.getProperties().removePropertyChangeListener(_propsListener);
    _propsListener = null;
  }
  if (_tabPnlListener != null)
  {
    _tabPnl.removeChangeListener(_tabPnlListener);
    _tabPnlListener = null;
  }
}

代码示例来源:origin: net.sf.squirrel-sql/squirrel-sql

public void removeNotify()
{
  super.removeNotify();
  if (_propsListener != null)
  {
    _session.getProperties().removePropertyChangeListener(_propsListener);
    _propsListener = null;
  }
  Iterator<ObjectTreeTabbedPane> it = _tabbedPanes.values().iterator();
  while (it.hasNext())
  {
    ObjectTreeTabbedPane pane = it.next();
    pane.getTabbedPane().removeChangeListener(_tabPnlListener);
  }
  _tabPnlListener = null;
  if (_objTreeSelLis != null)
  {
    _tree.removeTreeSelectionListener(_objTreeSelLis);
    _objTreeSelLis = null;
  }
}

代码示例来源:origin: protegeproject/protege

public boolean setEditedObject(OWLClassExpression expression) {
  this.expression = expression;
  activeEditors.clear();
  tabbedPane.removeChangeListener(changeListener);
  tabbedPane.removeAll();
  for (OWLClassExpressionEditor editor : editors){
    if (editor.setDescription(this.expression)){
      activeEditors.add(editor);
      tabbedPane.add(editor.getEditorName(), editor.getComponent());
      editor.addStatusChangedListener(inputListener);
    }
  }
  tabbedPane.validate();
  tabbedPane.addChangeListener(changeListener);
  
  selectPreferredEditor();
  
  return !activeEditors.isEmpty(); // then no editors are appropriate for this expression
}

代码示例来源:origin: edu.stanford.protege/protege-editor-owl

public boolean setEditedObject(OWLClassExpression expression) {
  this.expression = expression;
  activeEditors.clear();
  tabbedPane.removeChangeListener(changeListener);
  tabbedPane.removeAll();
  for (OWLClassExpressionEditor editor : editors){
    if (editor.setDescription(this.expression)){
      activeEditors.add(editor);
      tabbedPane.add(editor.getEditorName(), editor.getComponent());
      editor.addStatusChangedListener(inputListener);
    }
  }
  tabbedPane.validate();
  tabbedPane.addChangeListener(changeListener);
  
  selectPreferredEditor();
  
  return !activeEditors.isEmpty(); // then no editors are appropriate for this expression
}

代码示例来源:origin: org.protege/protege-editor-owl

public boolean setEditedObject(OWLClassExpression expression) {
  this.expression = expression;
  activeEditors.clear();
  tabbedPane.removeChangeListener(changeListener);
  tabbedPane.removeAll();
  for (OWLClassExpressionEditor editor : editors){
    if (editor.setDescription(this.expression)){
      activeEditors.add(editor);
      tabbedPane.add(editor.getEditorName(), editor.getComponent());
      editor.addStatusChangedListener(inputListener);
    }
  }
  tabbedPane.validate();
  tabbedPane.addChangeListener(changeListener);
  
  selectPreferredEditor();
  
  return !activeEditors.isEmpty(); // then no editors are appropriate for this expression
}

代码示例来源:origin: edu.stanford.protege/org.protege.editor.owl

public boolean setEditedObject(OWLClassExpression expression) {
  this.expression = expression;
  activeEditors.clear();
  tabbedPane.removeChangeListener(changeListener);
  tabbedPane.removeAll();
  for (OWLClassExpressionEditor editor : editors){
    if (editor.setDescription(this.expression)){
      activeEditors.add(editor);
      tabbedPane.add(editor.getEditorName(), editor.getComponent());
      editor.addStatusChangedListener(inputListener);
    }
  }
  tabbedPane.validate();
  tabbedPane.addChangeListener(changeListener);
  
  selectPreferredEditor();
  
  return !activeEditors.isEmpty(); // then no editors are appropriate for this expression
}

代码示例来源:origin: edu.stanford.protege/org.protege.editor.owl

public void removeSelectionListener(ChangeListener l){
  classSelectorPanel.removeSelectionListener(l);
  objectPropertySelectorPanel.removeSelectionListener(l);
  dataPropertySelectorPanel.removeSelectionListener(l);
  individualSelectorPanel.removeSelectionListener(l);
  datatypeSelectorPanel.removeSelectionListener(l);
  annotationPropertySelectorPanel.removeSelectionListener(l);
  tabbedPane.removeChangeListener(l);
}

代码示例来源:origin: protegeproject/protege

public void removeSelectionListener(ChangeListener l){
  classSelectorPanel.removeSelectionListener(l);
  objectPropertySelectorPanel.removeSelectionListener(l);
  dataPropertySelectorPanel.removeSelectionListener(l);
  individualSelectorPanel.removeSelectionListener(l);
  datatypeSelectorPanel.removeSelectionListener(l);
  annotationPropertySelectorPanel.removeSelectionListener(l);
  tabbedPane.removeChangeListener(l);
}

代码示例来源:origin: edu.stanford.protege/protege-editor-owl

public void removeSelectionListener(ChangeListener l){
  classSelectorPanel.removeSelectionListener(l);
  objectPropertySelectorPanel.removeSelectionListener(l);
  dataPropertySelectorPanel.removeSelectionListener(l);
  individualSelectorPanel.removeSelectionListener(l);
  datatypeSelectorPanel.removeSelectionListener(l);
  annotationPropertySelectorPanel.removeSelectionListener(l);
  tabbedPane.removeChangeListener(l);
}

代码示例来源:origin: org.protege/protege-editor-owl

public void removeSelectionListener(ChangeListener l){
  classSelectorPanel.removeSelectionListener(l);
  objectPropertySelectorPanel.removeSelectionListener(l);
  dataPropertySelectorPanel.removeSelectionListener(l);
  individualSelectorPanel.removeSelectionListener(l);
  datatypeSelectorPanel.removeSelectionListener(l);
  annotationPropertySelectorPanel.removeSelectionListener(l);
  tabbedPane.removeChangeListener(l);
}

代码示例来源:origin: com.tourgeek.thin.app/com.tourgeek.thin.app.booking

/**
 * Free.
 */
public void free()
{
  TourGeekScreen TourGeekScreen = (TourGeekScreen)this.getTargetScreen(TourGeekScreen.class);
  JTabbedPane tabbedPane = (JTabbedPane)JBasePanel.getSubScreen(TourGeekScreen, JTabbedPane.class);
  tabbedPane.removeChangeListener(this);
  ThinMessageManager.freeScreenMessageListeners(this);
  FieldList recBookingDetail = this.getFieldList();
  recBookingDetail.removePropertyChangeListener(this);
  
  this.writeAndRefresh(recBookingDetail, false);     // Update this if there were any changes (Don't refresh)
  super.free();
}
/**

相关文章

JTabbedPane类方法