org.zkoss.zkmax.ui.select.annotation
Annotation Type Subscribe


@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface Subscribe

Annotation for subscribing an EventQueue with the annotated method. SelectorComposer.

Since:
6.0.1
Author:
simonpai

Required Element Summary
 java.lang.String value
          Name of the EventQueue.
 
Optional Element Summary
 boolean autoUnsubscribe
          Unsubscribe event-queue automatically when component of composer was detached.
 java.lang.String scope
          Scope of the EventQueue.
 

Element Detail

value

public abstract java.lang.String value
Name of the EventQueue.

scope

public abstract java.lang.String scope
Scope of the EventQueue. Available values are EventQueues.DESKTOP, EventQueues.GROUP, EventQueues.SESSION, and EventQueues.APPLICATION. Note: EventQueues.GROUP requires ZK EE.

Default:
"desktop"

autoUnsubscribe

public abstract boolean autoUnsubscribe
Unsubscribe event-queue automatically when component of composer was detached.

Since:
6.5.1
Default:
true


Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo