本文整理了Java中javax.swing.JPanel.isOpaque()
方法的一些代码示例,展示了JPanel.isOpaque()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JPanel.isOpaque()
方法的具体详情如下:
包路径:javax.swing.JPanel
类名称:JPanel
方法名:isOpaque
暂无
代码示例来源:origin: org.swinglabs.swingx/swingx-all
/**
* Returns whether or not the background should be painted.
*
* @return
*/
protected boolean isPaintingBackground() {
return super.isOpaque();
}
代码示例来源:origin: com.haulmont.thirdparty/swingx-core
/**
* Returns whether or not the background should be painted.
*
* @return
*/
protected boolean isPaintingBackground() {
return super.isOpaque();
}
代码示例来源:origin: org.bidib.jbidib.com.vldocking/vldocking
/**
* Returns whether this desktop's contents are opaque or not.
* <p>
* Default value is true (opaque).
*
* @see #setOpaqueContents(boolean).
* @since 2.0.4
*/
public boolean isOpaqueContents() {
return contentPane.isOpaque();
}
代码示例来源:origin: org.softsmithy.lib/lib-core
public boolean isDefaultOpaque() {
return super.isOpaque();
}
代码示例来源:origin: org.swinglabs.swingx/swingx-core
/**
* Returns whether or not the background should be painted.
*
* @return
*/
protected boolean isPaintingBackground() {
return super.isOpaque();
}
代码示例来源:origin: org.bidib.jbidib.swinglabs.swingx/swingx-core
/**
* Returns whether or not the background should be painted.
*
* @return
*/
protected boolean isPaintingBackground() {
return super.isOpaque();
}
代码示例来源:origin: com.eas.platypus/platypus-js-forms
@ScriptFunction(jsDoc = OPAQUE_TEXT_JSDOC)
@Override
public boolean getOpaque() {
return super.isOpaque();
}
代码示例来源:origin: com.eas.platypus/platypus-js-forms
@ScriptFunction(jsDoc = OPAQUE_TEXT_JSDOC)
@Override
public boolean getOpaque() {
return super.isOpaque();
}
代码示例来源:origin: com.eas.platypus/platypus-js-forms
@ScriptFunction(jsDoc = OPAQUE_TEXT_JSDOC)
@Override
public boolean getOpaque() {
return super.isOpaque();
}
代码示例来源:origin: com.eas.platypus/platypus-js-forms
@ScriptFunction(jsDoc = OPAQUE_TEXT_JSDOC)
@Override
public boolean getOpaque() {
return super.isOpaque();
}
代码示例来源:origin: com.eas.platypus/platypus-js-forms
@ScriptFunction(jsDoc = OPAQUE_TEXT_JSDOC)
@Override
public boolean getOpaque() {
return super.isOpaque();
}
代码示例来源:origin: khuxtable/seaglass
/**
* @see javax.swing.plaf.basic.BasicPanelUI#installDefaults(javax.swing.JPanel)
*/
protected void installDefaults(JPanel p) {
this.originalOpacity = p.isOpaque();
updateStyle(p);
}
代码示例来源:origin: com.eas.platypus/platypus-js-forms
@ScriptFunction(jsDoc = OPAQUE_TEXT_JSDOC)
@Override
public boolean getOpaque() {
return super.isOpaque();
}
代码示例来源:origin: com.eas.platypus/platypus-js-forms
@ScriptFunction(jsDoc = OPAQUE_TEXT_JSDOC)
@Override
public boolean getOpaque() {
return super.isOpaque();
}
代码示例来源:origin: com.eas.platypus/platypus-js-forms
@ScriptFunction(jsDoc = OPAQUE_TEXT_JSDOC)
@Override
public boolean getOpaque() {
return super.isOpaque();
}
代码示例来源:origin: org.bidib.jbidib.swinglabs.swingx/swingx-core
@Override
public boolean isOpaque() {
if (isPatch()) {
return isOpaquePatch();
}
return super.isOpaque();
}
代码示例来源:origin: org.swinglabs.swingx/swingx-core
@Override
public boolean isOpaque() {
if (isPatch()) {
return isOpaquePatch();
}
return super.isOpaque();
}
代码示例来源:origin: org.swinglabs.swingx/swingx-all
@Override
public boolean isOpaque() {
if (isPatch()) {
return isOpaquePatch();
}
return super.isOpaque();
}
代码示例来源:origin: com.haulmont.thirdparty/swingx-core
@Override
public boolean isOpaque() {
if (isPatch()) {
return isOpaquePatch();
}
return super.isOpaque();
}
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-dlight-visualizers
/**
* Overridden for performance reasons.
*/
@Override
public boolean isOpaque() {
Color back = getBackground();
Component p = getParent();
if (p != null) {
p = p.getParent();
}
boolean colorMatch = (back != null) && (p != null) && back.equals(p.getBackground()) && p.isOpaque();
return !colorMatch && super.isOpaque();
}
内容来源于网络,如有侵权,请联系作者删除!