本文整理了Java中javax.swing.JLabel.getTopLevelAncestor()
方法的一些代码示例,展示了JLabel.getTopLevelAncestor()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JLabel.getTopLevelAncestor()
方法的具体详情如下:
包路径:javax.swing.JLabel
类名称:JLabel
方法名:getTopLevelAncestor
暂无
代码示例来源:origin: org.codehaus.jtstand/jtstand-desktop
private View getWrappingView() {
if (super.getTopLevelAncestor() == null) {
return null;
}
View view = (View) getClientProperty(BasicHTML.propertyKey);
if (!(view instanceof Renderer)) {
return null;
}
return view;
}
代码示例来源:origin: org.swinglabs.swingx/swingx-all
private View getWrappingView() {
if (super.getTopLevelAncestor() == null) {
return null;
}
View view = (View) getClientProperty(BasicHTML.propertyKey);
if (!(view instanceof Renderer)) {
return null;
}
return view;
}
代码示例来源:origin: org.swinglabs.swingx/swingx-core
private View getWrappingView() {
if (super.getTopLevelAncestor() == null) {
return null;
}
View view = (View) getClientProperty(BasicHTML.propertyKey);
if (!(view instanceof Renderer)) {
return null;
}
return view;
}
代码示例来源:origin: org.bidib.jbidib.swinglabs.swingx/swingx-core
private View getWrappingView() {
if (super.getTopLevelAncestor() == null) {
return null;
}
View view = (View) getClientProperty(BasicHTML.propertyKey);
if (!(view instanceof Renderer)) {
return null;
}
return view;
}
代码示例来源:origin: com.haulmont.thirdparty/swingx-core
private View getWrappingView() {
if (super.getTopLevelAncestor() == null) {
return null;
}
View view = (View) getClientProperty(BasicHTML.propertyKey);
if (!(view instanceof Renderer)) {
return null;
}
return view;
}
代码示例来源:origin: vgrazi/java-concurrent-animated
@Override
public void mouseExited(MouseEvent e) {
snippetLabel.getTopLevelAncestor().setCursor(Cursor.getDefaultCursor());
}
});
内容来源于网络,如有侵权,请联系作者删除!