public final void addButton ( String label , String className , SimpleCallback callback ) { addButton ( BUTTON_PREFIX + BUTTON_INDEX ++ , label , className , callback != null ? callback : SimpleCallback . DEFAULT_SIMPLE_CALLBACK ) ; }
Adds a custom button with a class name and a callback .