本文整理了Java中javax.swing.RepaintManager.paintDirtyRegions
方法的一些代码示例,展示了RepaintManager.paintDirtyRegions
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。RepaintManager.paintDirtyRegions
方法的具体详情如下:
包路径:javax.swing.RepaintManager
类名称:RepaintManager
方法名:paintDirtyRegions
暂无
代码示例来源:origin: org.swinglabs.swingx/swingx-core
/**
* {@inheritDoc}
*/
@Override
public void paintDirtyRegions() {
delegate.paintDirtyRegions();
}
代码示例来源:origin: org.bidib.jbidib.swinglabs.swingx/swingx-core
/**
* {@inheritDoc}
*/
@Override
public void paintDirtyRegions() {
delegate.paintDirtyRegions();
}
代码示例来源:origin: com.haulmont.thirdparty/swingx-core
/**
* {@inheritDoc}
*/
@Override
public void paintDirtyRegions() {
delegate.paintDirtyRegions();
}
代码示例来源:origin: org.swinglabs.swingx/swingx-all
/**
* {@inheritDoc}
*/
@Override
public void paintDirtyRegions() {
delegate.paintDirtyRegions();
}
代码示例来源:origin: org.codehaus.jtstand/jtstand-desktop
/**
* {@inheritDoc}
*/
public void paintDirtyRegions() {
delegate.paintDirtyRegions();
}
代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/napkinlaf
/** {@inheritDoc} */
@Override
public void paintDirtyRegions() {
manager.paintDirtyRegions();
}
代码示例来源:origin: edu.toronto.cs.savant/savant-core
@Override
public void paintDirtyRegions() {
realManager.paintDirtyRegions();
}
代码示例来源:origin: org.piccolo2d/piccolo2d-core
/**
* If not painting immediately, send paint notification to RepaintManager,
* otherwise does nothing.
*/
public void paintImmediately() {
if (paintingImmediately) {
return;
}
paintingImmediately = true;
RepaintManager.currentManager(this).paintDirtyRegions();
paintingImmediately = false;
}
代码示例来源:origin: org.netbeans.api/org-netbeans-modules-performance
/**
* Log the action when dirty regions are painted.
*/
@Override
public void paintDirtyRegions() {
super.paintDirtyRegions();
//System.out.println("Done superpaint ("+tr+","+hasDirtyMatches+").");
if (tr != null && hasDirtyMatches) {
lastPaint = System.nanoTime();
tr.add(ActionTracker.TRACK_PAINT, "PAINTING - done");
//System.out.println("Done painting - " +tr);
hasDirtyMatches = false;
}
}
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-performance
/**
* Log the action when dirty regions are painted.
*/
@Override
public void paintDirtyRegions() {
super.paintDirtyRegions();
//System.out.println("Done superpaint ("+tr+","+hasDirtyMatches+").");
if (tr != null && hasDirtyMatches) {
lastPaint = System.nanoTime();
tr.add(ActionTracker.TRACK_PAINT, "PAINTING - done");
//System.out.println("Done painting - " +tr);
hasDirtyMatches = false;
}
}
代码示例来源:origin: com.numdata/numdata-swing
repaintManager.paintDirtyRegions();
代码示例来源:origin: ch.unibas.cs.gravis/scalismo-native-stub
iter.next().paintDirtyRegions();
代码示例来源:origin: stackoverflow.com
notifyTime = (end - start);
start = System.currentTimeMillis();
RepaintManager.currentManager(null).paintDirtyRegions();
end = System.currentTimeMillis();
paintTime = (end - start);
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-visualweb-extension-openide
private static void doShowBusyCursor(boolean busy) {
JFrame mainWindow = (JFrame)WindowManager.getDefault().getMainWindow();
if(busy){
RepaintManager.currentManager(mainWindow).paintDirtyRegions();
mainWindow.getGlassPane().setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
mainWindow.getGlassPane().setVisible(true);
mainWindow.repaint();
} else {
mainWindow.getGlassPane().setVisible(false);
mainWindow.getGlassPane().setCursor(null);
mainWindow.repaint();
}
}
// </rave>
内容来源于网络,如有侵权,请联系作者删除!