Annotation Type OnFocus


  • @Inherited
    @Documented
    @Retention(RUNTIME)
    @Target(METHOD)
    public @interface OnFocus
    Indicates that the framework should call the target method when the activity is the current activity in the current panel. Activities may choose to make their UI more prominent, or begin refreshing their data more aggressively when they are focused.

    This annotation only has meaning on methods declared in or inherited by @WorkbenchScreen or @WorkbenchEditor classes.

    The target method must take no arguments and return void.