void (DecorationLayer layer, Graphics2D g, RadComponent component) { Point location = getLocation(layer, component); g.setColor(myColor); g.fillRect(location.x, location.y, getSize(), getSize()); g.setColor(myBorder); g.drawRect(location.x, location.y, getSize(), getSize()); }