本文整理了Java中org.openide.text.Annotation.moveToFront()
方法的一些代码示例,展示了Annotation.moveToFront()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Annotation.moveToFront()
方法的具体详情如下:
包路径:org.openide.text.Annotation
类名称:Annotation
方法名:moveToFront
[英]Helper method for moving annotation which is covered by other annotations on the same line in front of others. The method fires change on PROP_MOVE_TO_FRONT property on which editors must listen and do the fronting of the annotation. Whether the annotation is visible in editor or not is not guaranteed by this method - use Line.show instead.
[中]用于在其他注释前面移动同一行上其他注释覆盖的注释的辅助方法。该方法在PROP_MOVE_TO_FRONT属性上激发change,编辑器必须在该属性上侦听并执行注释的前置。此方法不能保证注释在编辑器中是否可见-使用行。取而代之的是表演。
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-tomcat5
errAnnot.moveToFront();
errorLine.show(ShowOpenType.OPEN, ShowVisibilityType.NONE);
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-j2ee-sun-appsrv81
errAnnot.moveToFront();
errorLine.show(ShowOpenType.NONE, ShowVisibilityType.NONE);
内容来源于网络,如有侵权,请联系作者删除!