protected void hookCustomButtonPressed(final int buttonId){
}

protected void hookCustomButtonPressed ( final int buttonId ) { }
subclasses can override hookcustombuttonpressed ( ) to perform custom processing when a custom button id is pressed . < p > a custom button id is an id that is not ok_id or cancel_id . the button must have been added to the dialog in the standard way ( either through addbuttondescription ( ) or createbutton ( ) ) . < p > to perform custom handling of ok or cancel button clicks , override okpressed ( ) or cancelpressed ( ) instead of hookcustombuttonpressed ( ) . < p > hookcustombuttonpressed ( ) is called by the base class from buttonpressed ( ) .
