本文整理了Java中javax.swing.JDesktopPane.addImpl()
方法的一些代码示例,展示了JDesktopPane.addImpl()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JDesktopPane.addImpl()
方法的具体详情如下:
包路径:javax.swing.JDesktopPane
类名称:JDesktopPane
方法名:addImpl
暂无
代码示例来源:origin: net.sf.squirrel-sql/squirrel-sql
protected void addImpl(Component comp, Object constraints, int index)
{
if (comp != null)
{
comp.addComponentListener(_listener);
revalidate();
}
super.addImpl(comp, constraints, index);
}
代码示例来源:origin: realXuJiang/bigtable-sql
protected void addImpl(Component comp, Object constraints, int index)
{
if (comp != null)
{
comp.addComponentListener(_listener);
revalidate();
}
super.addImpl(comp, constraints, index);
}
代码示例来源:origin: org.jclarion/clarion-runtime
@Override
protected void addImpl(Component comp, Object constraints, int index) {
relocate(comp);
super.addImpl(comp, constraints, index);
comp.addComponentListener(new ComponentListener() {
@Override
public void componentHidden(ComponentEvent e) {
// TODO Auto-generated method stub
}
@Override
public void componentMoved(ComponentEvent e) {
relocate(e.getComponent());
getDesktop().invalidate();
getDesktop().getParent().validate();
}
@Override
public void componentResized(ComponentEvent e) {
getDesktop().invalidate();
getDesktop().getParent().validate();
}
@Override
public void componentShown(ComponentEvent e) {
// TODO Auto-generated method stub
} } );
invalidate();
}
代码示例来源:origin: org.fudaa.framework.ctulu/ctulu-bu
super.addImpl(_c, _constraints, _index);
内容来源于网络,如有侵权,请联系作者删除!