/** * Wraps the {@link Element} in a <tt>XOverlay</tt> interface * * @param element the element to use as a <tt>XOverlay</tt> * @return a <tt>XOverlay</tt> for the element */ public static XOverlaySwing wrap(Element element) { return new XOverlaySwing(element); }