| org.zkoss.zul.impl.XulElement org.zkoss.zul.Popup
All known Subclasses: org.zkoss.zul.Menupopup,
Constructor Summary | |
public | Popup() |
Method Summary | |
public void | close() Closes this popup at the client. | public String | getOuterAttrs() | protected Object | newExtraCtrl() | public void | open(String x, String y) Opens this popup to the specified location at the client. | public void | open(int x, int y) Opens this popup to the specified location at the client. | public void | open(Component ref) Opens this popup right below the specified component at the cleint. | public boolean | setVisible(boolean visible) Not allowd. |
close | public void close()(Code) | | Closes this popup at the client.
In most cases, the popup is closed automatically when the user
clicks outside of the popup.
since: 3.0.0 |
open | public void open(String x, String y)(Code) | | Opens this popup to the specified location at the client.
In most cases, the popup is shown automatically when specified
in the tooltip, popup and context properties
(
XulElement.setTooltip ,
XulElement.setPopup ,
and
XulElement.setContext ).
However, if you want to show it manually, you can invoke this
method directly.
Parameters: x - the X coordinate Parameters: y - the Y coordinate since: 3.0.0 |
open | public void open(int x, int y)(Code) | | Opens this popup to the specified location at the client.
In most cases, the popup is shown automatically when specified
in the tooltip, popup and context properties
(
XulElement.setTooltip ,
XulElement.setPopup ,
and
XulElement.setContext ).
However, if you want to show it manually, you can invoke this
method directly.
Parameters: x - the X coordinate Parameters: y - the Y coordinate since: 3.0.0 |
open | public void open(Component ref)(Code) | | Opens this popup right below the specified component at the cleint.
In most cases, the popup is shown automatically when specified
in the tooltip, popup and context properties
(
XulElement.setTooltip ,
XulElement.setPopup ,
and
XulElement.setContext ).
However, if you want to show it manually, you can invoke this
method directly.
Parameters: ref - the reference component to position the popup.It cannot be null. since: 3.0.0 |
|
|