Method Summary |
|
protected void | afterHide() |
protected void | afterShow() |
public void | center() Centers the panel within the viewport. |
public boolean | getAnimate() Returns true if animations are enabled. |
public boolean | getAutoFocus() Returns true if auto focus is enabled. |
public boolean | getAutoHide() Returns true if auto hide is enabled. |
public boolean | getConstrainViewport() Returns true if the popup will be constrained to the
viewport. |
public int | getDuration() Returns the animation duration. |
public boolean | getEventPreview() Returns true if event preview is enabled. |
public List | getIgnoreList() Any elements added to this list will be ignored when auto close is enabled. |
public boolean | getShadow() Returns true if the shadow is enabled. |
public int | getXOffset() Returns the x offset. |
public int | getYOffset() Returns the y offset. |
public void | hide() Hides the popup. |
public boolean | isVisible() |
protected boolean | onAutoHide(Event event) Subclasses may override to cancel the close from an auto hide. |
public boolean | onEventPreview(Event event) |
protected void | onKeyPress(BaseEvent be) |
protected void | onRender() |
protected void | onShowPopup() |
public void | setAnimate(boolean animate) Specifies if the hiding and showing of the panel should be animated. |
public void | setAutoFocus(boolean autoFocus) Specifies if focus should be set on the popup when displayed. |
public void | setAutoHide(boolean autoHide) Sets the auto hide state. |
public void | setConstrainViewport(boolean constrainViewport) Specifies if the popup location should be forced to the viewport area. |
public void | setDuration(int duration) Sets the length of the fade effect in milliseconds. |
public void | setEventPreview(boolean eventPreview) Sets whether event preview should be enabled when opening the popup. |
public void | setShadow(boolean show) Sets whether the shadow should be displayed. |
public void | setWidget(Widget widget) Sets the popup's content. |
public void | setXOffset(int xOffset) Sets the x offset. |
public void | setYOffset(int yOffset) Sets the y offset. |
public void | show() Displays the popup. |
public void | show(Element elem, String pos) Displays the popup. |
public void | show(Element elem, String pos, int[] offsets) Displays the popup. |
public void | show(int x, int y) Shows the popup at the specified location. |
public void | show(Widget widget) Displays the popup aligned to the bottom left of the widget. |