javax.swing.JCheckBox.firePropertyChange()方法的使用及代码示例

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

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

JCheckBox.firePropertyChange介绍

暂无

代码示例

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

/**
 * Overridden for performance reasons.
 * See the <a href="#override">Implementation Note</a> 
 * for more information.
 */
@Override
protected void firePropertyChange(String propertyName, Object oldValue, Object newValue) {  
  // Strings get interned...
  if ("text".equals(propertyName)) {
    super.firePropertyChange(propertyName, oldValue, newValue);
  }
}

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

/**
 * Overridden for performance reasons.
 * See the <a href="#override">Implementation Note</a> 
 * for more information.
 */
@Override
protected void firePropertyChange(String propertyName, Object oldValue, Object newValue) {  
  // Strings get interned...
  if ("text".equals(propertyName)) {
    super.firePropertyChange(propertyName, oldValue, newValue);
  }
}

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

/**
 * Overridden for performance reasons.
 * See the <a href="#override">Implementation Note</a> 
 * for more information.
 */
@Override
protected void firePropertyChange(String propertyName, Object oldValue, Object newValue) {  
  // Strings get interned...
  if ("text".equals(propertyName)) {
    super.firePropertyChange(propertyName, oldValue, newValue);
  }
}

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

/**
 * Overridden for performance reasons.
 * See the <a href="#override">Implementation Note</a> 
 * for more information.
 */
@Override
protected void firePropertyChange(String propertyName, Object oldValue, Object newValue) {  
  // Strings get interned...
  if ("text".equals(propertyName)) {
    super.firePropertyChange(propertyName, oldValue, newValue);
  }
}

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

/**
 * Overridden for performance reasons.
 * See the <a href="#override">Implementation Note</a> 
 * for more information.
 */
@Override
protected void firePropertyChange(String propertyName, Object oldValue, Object newValue) {  
  // Strings get interned...
  if ("text".equals(propertyName)) {
    super.firePropertyChange(propertyName, oldValue, newValue);
  }
}

代码示例来源:origin: org.nuiton.jaxx/jaxx-widgets

@Override
protected void firePropertyChange(String propertyName, Object oldValue, Object newValue) {
  
  if ("text".equals(propertyName) || 
    (("font".equals(propertyName) || "foreground".equals(propertyName)) && 
     oldValue != newValue && getClientProperty(javax.swing.plaf.basic.BasicHTML.propertyKey) != null)) {
    super.firePropertyChange(propertyName, oldValue, newValue);
  }
}

代码示例来源:origin: com.anrisoftware.prefdialog/prefdialog-misc-swing

/**
 * Overridden for performance reasons.
 */
@Override
protected void firePropertyChange(String propertyName, Object oldValue,
    Object newValue) {
  if (propertyName == "text"
      || ((propertyName == "font" || propertyName == "foreground")
          && oldValue != newValue && getClientProperty(javax.swing.plaf.basic.BasicHTML.propertyKey) != null)) {
    super.firePropertyChange(propertyName, oldValue, newValue);
  }
}

代码示例来源:origin: eugener/oxbow

@Override
protected void firePropertyChange(String propertyName, Object oldValue, Object newValue) {
  
  if ("text".equals(propertyName) || 
    (("font".equals(propertyName) || "foreground".equals(propertyName)) && 
     oldValue != newValue && getClientProperty(javax.swing.plaf.basic.BasicHTML.propertyKey) != null)) {
    super.firePropertyChange(propertyName, oldValue, newValue);
  }
}

代码示例来源:origin: io.ultreia.java4all.jaxx/jaxx-widgets-extra

@Override
protected void firePropertyChange(String propertyName, Object oldValue, Object newValue) {
  if ("text".equals(propertyName) ||
      (("font".equals(propertyName) || "foreground".equals(propertyName)) &&
          oldValue != newValue && getClientProperty(javax.swing.plaf.basic.BasicHTML.propertyKey) != null)) {
    super.firePropertyChange(propertyName, oldValue, newValue);
  }
}

代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-spellchecker

@Override
protected void firePropertyChange (String propertyName, Object oldValue, Object newValue) {
  // Strings get interned...
  if (propertyName == "text" || ((propertyName == "font" || propertyName == "foreground") &&
    oldValue != newValue &&
    getClientProperty (javax.swing.plaf.basic.BasicHTML.propertyKey) != null)
  ) {
    super.firePropertyChange (propertyName, oldValue, newValue);
  }
}

代码示例来源:origin: org.bidib.org.oxbow/swingbits

@Override
protected void firePropertyChange(String propertyName, Object oldValue, Object newValue) {
  
  if ("text".equals(propertyName) || 
    (("font".equals(propertyName) || "foreground".equals(propertyName)) && 
     oldValue != newValue && getClientProperty(javax.swing.plaf.basic.BasicHTML.propertyKey) != null)) {
    super.firePropertyChange(propertyName, oldValue, newValue);
  }
}

相关文章

JCheckBox类方法