| org.araneaframework.http.PopupWindowContext
All known Subclasses: org.araneaframework.http.filter.StandardPopupFilterWidget,
PopupWindowContext | public interface PopupWindowContext extends Serializable(Code) | | Interface for manipulating popup windows (each popup window
corresponding to server-side "thread").
author: Taimo Peelo |
Field Summary | |
final public static String | POPUPS_CLOSE_KEY Popup closing key, when session-thread in a window receives response containing
that key, it should close and take serverside service with it. |
Method Summary | |
public boolean | close(String id) Closes the server side thread service (serving client side popup).
Parameters: id - thread (popup) ID to close. | public Widget | getOpener() Returns the widget that opened calling thread-level service (popup). | public Map | getPopups() | public String | open(Message startMessage, PopupWindowProperties properties, Widget opener) Registers new thread-level service server-side and gives started service means of communicating with
its opener and vice-versa.
Parameters: startMessage - - message sent to newly created service (thread). Parameters: properties - - properties specifying behaviour and appearance of creatable popup window. Parameters: opener - - widget that is registered as opener of created thread. | public String | open(Service service, PopupWindowProperties properties, Widget opener) Method for registering already created service under
org.araneaframework.framework.ThreadContext as popup.
Parameters: service - to register. Parameters: properties - properties specifying behaviour and appearance of creatable popup window. | public void | open(String url, PopupWindowProperties properties) Opens given URL in a new popup window.
Parameters: url - URL to be opened in the popup window Parameters: properties - properties specifying behaviour and appearance of creatable popup window. | public String | openMounted(String url, PopupWindowProperties properties) |
POPUPS_CLOSE_KEY | final public static String POPUPS_CLOSE_KEY(Code) | | Popup closing key, when session-thread in a window receives response containing
that key, it should close and take serverside service with it.
|
close | public boolean close(String id) throws Exception(Code) | | Closes the server side thread service (serving client side popup).
Parameters: id - thread (popup) ID to close. whether service with given thread id was closed. |
getOpener | public Widget getOpener()(Code) | | Returns the widget that opened calling thread-level service (popup).
opener of thread-level service, null when calling service does not have registered opener. |
getPopups | public Map getPopups()(Code) | | since: 1.1 |
open | public String open(Message startMessage, PopupWindowProperties properties, Widget opener)(Code) | | Registers new thread-level service server-side and gives started service means of communicating with
its opener and vice-versa.
Parameters: startMessage - - message sent to newly created service (thread). Parameters: properties - - properties specifying behaviour and appearance of creatable popup window. Parameters: opener - - widget that is registered as opener of created thread. threadlevel id of created and registered service |
open | public void open(String url, PopupWindowProperties properties)(Code) | | Opens given URL in a new popup window.
Parameters: url - URL to be opened in the popup window Parameters: properties - properties specifying behaviour and appearance of creatable popup window. |
|
|