本文整理了Java中org.netbeans.api.visual.widget.Widget.isValidated()
方法的一些代码示例,展示了Widget.isValidated()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Widget.isValidated()
方法的具体详情如下:
包路径:org.netbeans.api.visual.widget.Widget
类名称:Widget
方法名:isValidated
[英]Returns true if the widget is validated (is not scheduled to revalidation).
[中]如果小部件已验证(未计划重新验证),则返回true。
代码示例来源:origin: in.jlibs/org-netbeans-api-visual
/**
* Returns whether the whole scene is validated and there is no widget or region that has to be revalidated.
* @return true, if the whole scene is validated
*/
public boolean isValidated () {
return super.isValidated () && repaintRegion == null && repaintWidgets.isEmpty ();
}
代码示例来源:origin: org.netbeans.api/org-netbeans-api-visual
/**
* Returns whether the whole scene is validated and there is no widget or region that has to be revalidated.
* @return true, if the whole scene is validated
*/
@Override
public boolean isValidated () {
return super.isValidated () && repaintRegion == null && repaintWidgets.isEmpty ();
}
代码示例来源:origin: org.netbeans.api/org-netbeans-api-visual
/**
* Returns whether the connection widget is validated and routed.
* @return true, if the connection widget is validated and routed
*/
public boolean isValidated () {
return super.isValidated () && isRouted ();
}
代码示例来源:origin: in.jlibs/org-netbeans-api-visual
/**
* Returns whether the connection widget is validated and routed.
* @return true, if the connection widget is validated and routed
*/
public boolean isValidated () {
return super.isValidated () && isRouted ();
}
代码示例来源:origin: org.netbeans.api/org-netbeans-api-visual
public void collectCollisions (java.util.List<Rectangle> verticalCollisions, java.util.List<Rectangle> horizontalCollisions) {
for (Widget widget : getWidgets ()) {
if (! widget.isValidated ())
continue;
if (widget instanceof ConnectionWidget) {
代码示例来源:origin: in.jlibs/org-netbeans-api-visual
public void collectCollisions (java.util.List<Rectangle> verticalCollisions, java.util.List<Rectangle> horizontalCollisions) {
for (Widget widget : getWidgets ()) {
if (! widget.isValidated ())
continue;
if (widget instanceof ConnectionWidget) {
内容来源于网络,如有侵权,请联系作者删除!