/** * Returns the single instance of this class. * * @return Single instance of this class. */ public synchronized static TopShadowOverlayPainter getInstance() { if (INSTANCE == null) INSTANCE = new TopShadowOverlayPainter(); return INSTANCE; }
this.addOverlayPainter(TopShadowOverlayPainter.getInstance(), DecorationAreaType.TOOLBAR);
this.addOverlayPainter(TopShadowOverlayPainter.getInstance(), DecorationAreaType.TOOLBAR);
this.addOverlayPainter(TopShadowOverlayPainter.getInstance(), DecorationAreaType.TOOLBAR);
/** * Returns the single instance of this class. * * @return Single instance of this class. */ public synchronized static TopShadowOverlayPainter getInstance() { if (INSTANCE == null) INSTANCE = new TopShadowOverlayPainter(); return INSTANCE; }
this.addOverlayPainter(TopShadowOverlayPainter.getInstance(), DecorationAreaType.TOOLBAR);
this.addOverlayPainter(TopShadowOverlayPainter.getInstance(), DecorationAreaType.TOOLBAR);
this.addOverlayPainter(TopShadowOverlayPainter.getInstance(), DecorationAreaType.TOOLBAR);