shared
Annotation Type ButtonMethod


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

ButtonMethod has two parameters: buttonName and isDefault


Optional Element Summary
 java.lang.String buttonName
          The name of the button associated with this method.
 boolean isDefault
          Indicates if this is the method that should be called if no button is clicked or an invalid button name is supplied.
 

buttonName

public abstract java.lang.String buttonName
The name of the button associated with this method.

Returns:
button name
Default:
""

isDefault

public abstract boolean isDefault
Indicates if this is the method that should be called if no button is clicked or an invalid button name is supplied.

Returns:
true if this is the default method
Default:
false