本文整理了Java中javax.swing.JTextPane.isEditable()
方法的一些代码示例,展示了JTextPane.isEditable()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JTextPane.isEditable()
方法的具体详情如下:
包路径:javax.swing.JTextPane
类名称:JTextPane
方法名:isEditable
暂无
代码示例来源:origin: org.jspresso.framework/jspresso-swing-components
/**
* Delegates to the internal editor pane.
* @return true if the component is editable.
* @see javax.swing.text.JTextComponent#isEditable()
*/
public boolean isEditable() {
return editorPane.isEditable();
}
代码示例来源:origin: com.eas.platypus/platypus-js-forms
@Override
public boolean getEditable() {
return super.isEditable();
}
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-team-commons
private void registerChildren(Component c, IssueLinker issueLinker) {
if(c instanceof Container) {
Container container = (Container) c;
container.removeContainerListener(regListener);
container.addContainerListener(regListener);
Component[] components = container.getComponents();
for (Component cmp : components) {
registerChildren(cmp, issueLinker);
}
} if(c instanceof JTextPane) {
JTextPane tp = (JTextPane) c;
if(!tp.isEditable()) {
registerTask.add(tp, issueLinker);
}
}
}
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-mercurial
if (!textPane.isEditable()) {
textPane.putClientProperty("HighlightsLayerExcludes", "^org\\.netbeans\\.modules\\.editor\\.lib2\\.highlighting\\.CaretRowHighlighting$");
内容来源于网络,如有侵权,请联系作者删除!