本文整理了Java中javax.swing.border.Border.isBorderOpaque()
方法的一些代码示例,展示了Border.isBorderOpaque()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Border.isBorderOpaque()
方法的具体详情如下:
包路径:javax.swing.border.Border
类名称:Border
方法名:isBorderOpaque
暂无
代码示例来源:origin: org.swinglabs.swingx/swingx-core
@Override
public boolean isBorderOpaque() {
if (borderDelegate == null) {
return false;
}
return borderDelegate.isBorderOpaque();
}
代码示例来源:origin: org.bidib.jbidib.swinglabs.swingx/swingx-core
@Override
public boolean isBorderOpaque() {
if (borderDelegate == null) {
return false;
}
return borderDelegate.isBorderOpaque();
}
代码示例来源:origin: net.sf.sfac/sfac-core
/**
* This method is ignored by MultiBorderLayout.
*
* @return if the painted border is opaque or not.
*/
public boolean isBorderOpaque() {
return paintedBorder.isBorderOpaque();
}
代码示例来源:origin: org.fudaa.framework.ctulu/ctulu-bu
public boolean isBorderOpaque()
{
return border_.isBorderOpaque();
}
}
代码示例来源:origin: org.swinglabs.swingx/swingx-all
@Override
public boolean isBorderOpaque() {
if (borderDelegate == null) {
return false;
}
return borderDelegate.isBorderOpaque();
}
代码示例来源:origin: com.haulmont.thirdparty/swingx-core
@Override
public boolean isBorderOpaque() {
if (borderDelegate == null) {
return false;
}
return borderDelegate.isBorderOpaque();
}
代码示例来源:origin: org.opentcs.thirdparty.jhotdraw/jhotdraw
@Override
public boolean isBorderOpaque() {
return backgroundBorder.isBorderOpaque();
}
代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/napkinlaf
@Override
public boolean isBorderOpaque() {
return origBorder.isBorderOpaque();
}
代码示例来源:origin: net.java.dev.laf-widget/laf-widget
public boolean isBorderOpaque() {
return this.originalBorder.isBorderOpaque();
}
代码示例来源:origin: ru.sbtqa/monte-media
public boolean isBorderOpaque() {
return borders[0].isBorderOpaque();
}
代码示例来源:origin: org.trypticon.hex/hex-viewer
@Override
public boolean isBorderOpaque() {
return borders.get(0).isBorderOpaque();
}
}
代码示例来源:origin: stackoverflow.com
public void showFrame() {
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
this.setPreferredSize(new Dimension(500, 500));
this.getContentPane().setBackground(Color.yellow);
JPanel p = new JPanel();
p.setPreferredSize(new Dimension(400, 400));
p.setBackground(Color.red);
Border border = BorderFactory.createLineBorder(Color.blue, 10);
border.isBorderOpaque();
p.setBorder(border);
this.add(p, BorderLayout.NORTH);
this.pack();
this.setVisible(true);
}
public static void main(String[] args) {
new DifferentColor().showFrame();
}
代码示例来源:origin: net.sf.ingenias/editor
public void paint(Graphics graph){
// graph.setXORMode(Color.WHITE); // If activated, fonts are painted without anti-aliasing. They will look ugly.
super.paint(graph);
if(inside!=null && inside.getBorder()!=null && inside.getBorder().isBorderOpaque()){
Graphics2D g2d=(Graphics2D) graph;
graph.drawRect(0,0,getSize().width,getSize().height);
}
// graph.setPaintMode();
}
内容来源于网络,如有侵权,请联系作者删除!