/** * Creates an empty scroll panel using the specified root, scrollable, and * container elements. * * @param root the root element of the Widget * @param scrollable the scrollable element, which can be the same as the root * element * @param container the container element that holds the child */ protected ScrollPanel(Element root, Element scrollable, Element container) { super(root); this.scrollableElem = scrollable; this.containerElem = container; initialize(); }
/** * Creates an empty scroll panel. */ public ScrollPanel() { this.scrollableElem = getElement(); this.containerElem = Document.get().createDivElement(); scrollableElem.appendChild(containerElem); initialize(); }
/** * Creates an empty scroll panel using the specified root, scrollable, and * container elements. * * @param root the root element of the Widget * @param scrollable the scrollable element, which can be the same as the root * element * @param container the container element that holds the child */ protected ScrollPanel(Element root, Element scrollable, Element container) { super(root); this.scrollableElem = scrollable; this.containerElem = container; initialize(); }
/** * Creates an empty scroll panel using the specified root, scrollable, and * container elements. * * @param root the root element of the Widget * @param scrollable the scrollable element, which can be the same as the root * element * @param container the container element that holds the child */ protected ScrollPanel(Element root, Element scrollable, Element container) { super(root); this.scrollableElem = scrollable; this.containerElem = container; initialize(); }
/** * Creates an empty scroll panel. */ public ScrollPanel() { this.scrollableElem = getElement(); this.containerElem = Document.get().createDivElement(); scrollableElem.appendChild(containerElem); initialize(); }
/** * Creates an empty scroll panel. */ public ScrollPanel() { this.scrollableElem = getElement(); this.containerElem = Document.get().createDivElement(); scrollableElem.appendChild(containerElem); initialize(); }