private static boolean isInfoLogEnabled() { return LOG.check(POILogger.INFO); } private static void logDebug(String s) {
private static boolean isDebugLogEnabled() { return LOG.check(POILogger.DEBUG); } private static boolean isInfoLogEnabled() {
public boolean drawImage(Image image, int dx1, int dy1, int dx2, int dy2, Color bgColor, ImageObserver imageobserver) { if (logger.check( POILogger.WARN )) logger.log(POILogger.WARN,"drawImage() not supported"); return true; }
@Override public void drawString(AttributedCharacterIterator iterator, int x, int y) { if (logger.check( POILogger.WARN )) logger.log(POILogger.WARN,"drawString not supported"); }
@Override public void fillArc(int x, int y, int width, int height, int startAngle, int arcAngle) { if (logger.check( POILogger.WARN )) logger.log(POILogger.WARN,"fillArc not supported"); }
public boolean drawImage(Image image, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgColor, ImageObserver imageobserver) { if (logger.check( POILogger.WARN )) logger.log(POILogger.WARN,"drawImage() not supported"); return true; }
public void fill(Shape shape) { if (logger.check( POILogger.WARN )) logger.log(POILogger.WARN,"fill(Shape) not supported"); }
@Override public void fillRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight) { if (logger.check( POILogger.WARN )) logger.log(POILogger.WARN,"fillRoundRect not supported"); }
@Override @NotImplemented public void clipRect(int x, int y, int width, int height) { if (logger.check( POILogger.WARN )) logger.log(POILogger.WARN,"clipRect not supported"); }
@Override @NotImplemented public void setPaintMode() { if (logger.check( POILogger.WARN )) logger.log(POILogger.WARN,"setPaintMode not supported"); }
@Override @NotImplemented public void drawArc(int x, int y, int width, int height, int startAngle, int arcAngle) { if (logger.check( POILogger.WARN )) logger.log(POILogger.WARN,"drawArc not supported"); }
@Override @NotImplemented public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgcolor, ImageObserver observer) { if (logger.check( POILogger.WARN )) logger.log(POILogger.WARN,"drawImage not supported"); return true; }
@Override @NotImplemented public void drawRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight) { if (logger.check( POILogger.WARN )) logger.log(POILogger.WARN,"drawRoundRect not supported"); }
@Override @NotImplemented public void setXORMode(Color color) { if (logger.check( POILogger.WARN )) logger.log(POILogger.WARN,"setXORMode not supported"); } @Override
@Override @NotImplemented public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, ImageObserver observer) { if (logger.check( POILogger.WARN )) logger.log(POILogger.WARN,"drawImage not supported"); return true; }
@Override @NotImplemented public void drawRect(int x, int y, int width, int height) { if (logger.check( POILogger.WARN )) logger.log(POILogger.WARN,"drawRect not supported"); }
@Override @NotImplemented public void drawPolyline(int xPoints[], int yPoints[], int nPoints) { if (logger.check( POILogger.WARN )) logger.log(POILogger.WARN,"drawPolyline not supported"); }
@Override @NotImplemented public void translate(int x, int y) { if (logger.check( POILogger.WARN )) logger.log(POILogger.WARN,"translate not supported"); }
public boolean drawImage(Image image, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, ImageObserver imageobserver) { if (logger.check( POILogger.WARN )) logger.log(POILogger.WARN,"drawImage() not supported"); return drawImage(image, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, null, imageobserver); } public boolean drawImage(Image image, int dx1, int dy1, int dx2, int dy2, Color bgColor, ImageObserver imageobserver)
@Override @NotImplemented public void copyArea(int x, int y, int width, int height, int dx, int dy) { if (logger.check( POILogger.WARN )) logger.log(POILogger.WARN,"copyArea not supported"); }