Class zwt.ui.popup.Popup
Extends
zwt.ui.Part.
A popup panel is placed on top of other widgets at a specified absolute location.
CSS rules
.zwt_PopupPart {}
Defined in: Popup.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Construct a popup.
|
Method Attributes | Method Name and Description |
---|---|
hide()
Hide the popup.
|
|
setDimension(int_width, int_height)
Set the popup dimensions and redraw the popup.
|
|
setPosition(int_x, int_y)
Set the popup absolute position (from the top left corner of the window).
|
|
show()
Show the popup.
|
- Methods borrowed from class zwt.ui.Part:
- getClickEventManager, getMouseEventManager, getPartEventManager, processClickEvent, processEvent, processMouseEvent, processPartEvent, setContent
- Methods borrowed from class zwt.ui.container.SingleContainer:
- getContent, isFocusable, processFocusEvent
- Methods borrowed from class zwt.ui.container.Container:
- getContentEventManager, isFocusContainer, processContentEvent, setFocusContainer
- Methods borrowed from class zwt.ui.Widget:
- addStyle, draw, getContextFill, getDimension, getElement, getElementDimension, getFill, getFocusEventManager, getId, getKeyboardEventManager, getParent, getRelativeLeft, getRelativeTop, getStyle, getWheelEventManager, hasFocus, hasStyle, isVisible, onEvent, processKeyboardEvent, processWheelEvent, redraw, removeStyle, replaceStyle, setFill, setFocusable, setId, setStyle, setVisible
Method Detail
hide()
Hide the popup.
setDimension(int_width, int_height)
Set the popup dimensions and redraw the popup.
- Parameters:
- {Integer} int_width
- The width to set
- {Integer} int_height
- The height to set
setPosition(int_x, int_y)
Set the popup absolute position (from the top left corner of the window).
- Parameters:
- {Integer} int_x
- The x position
- {Integer} int_y
- The y position
show()
Show the popup.