本文整理了Java中javax.swing.JTextPane.addPropertyChangeListener()
方法的一些代码示例,展示了JTextPane.addPropertyChangeListener()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JTextPane.addPropertyChangeListener()
方法的具体详情如下:
包路径:javax.swing.JTextPane
类名称:JTextPane
方法名:addPropertyChangeListener
暂无
代码示例来源:origin: com.eas.platypus/platypus-js-forms
@Override
public void addValueChangeListener(PropertyChangeListener listener) {
super.addPropertyChangeListener(VALUE_PROP_NAME, listener);
}
代码示例来源:origin: stackoverflow.com
source.addPropertyChangeListener(new PropertyChangeListener() {
@Override
public void propertyChange(PropertyChangeEvent evt) {
代码示例来源:origin: chatty/chatty
textPane.addPropertyChangeListener("page", new PropertyChangeListener() {
代码示例来源:origin: omegat-org/omegat
public static void linkify(JTextPane jTextPane) {
final MouseAdapter mouseAdapter = new AttributeInserterMouseListener(jTextPane);
// Adding mouse listner for actions
jTextPane.addMouseListener(mouseAdapter);
// settings for mouseover (changing cursor)
jTextPane.addMouseMotionListener(mouseAdapter);
// Those are the main called points from user's activities.
setDocumentFilter(jTextPane);
jTextPane.addPropertyChangeListener("document", new PropertyChangeListener() {
@Override
public void propertyChange(PropertyChangeEvent evt) {
Object source = evt.getSource();
if (source instanceof JTextPane) {
setDocumentFilter((JTextPane) source);
}
}
});
}
代码示例来源:origin: com.github.insubstantial/substance
.addPropertyChangeListener(this.substancePropertyChangeListener);
代码示例来源:origin: org.java.net.substance/substance
.addPropertyChangeListener(this.substancePropertyChangeListener);
代码示例来源:origin: stackoverflow.com
textPane.addPropertyChangeListener("page", new PropertyChangeListener() {
@Override
public void propertyChange(PropertyChangeEvent event) {
内容来源于网络,如有侵权,请联系作者删除!