com.leafdigital.ui.api
Annotation Type UIAction


@Retention(value=RUNTIME)
@Target(value=METHOD)
@Documented
public @interface UIAction

Annotation used to indicate that a method is used as a UI callback from an XML file. This is used for compile-time checking that the XML file actually links to this method.

Set the 'runtime' parameter if the callback is used dynamically from code and not from an XML file.


Optional Element Summary
 boolean runtime
           
 

runtime

public abstract boolean runtime
Returns:
True if this method is only used at runtime via code calling a setOnXx method, and is not referenced in an XML file
Default:
false


Copyright © 2011 Samuel Marshall. All rights reserved.