org.wicketstuff.datatable_autocomplete.table
Interface ISelectableTableViewPanelButtonProvider

All Superinterfaces:
IClusterable, Serializable
All Known Implementing Classes:
DefaultSelectableTableViewPanelButtonProviderImpl

public interface ISelectableTableViewPanelButtonProvider
extends IClusterable

Author:
mocleiri Provides a button details. We default to ajaxfallback buttons.

Method Summary
 IFormOnSubmitAction getButtonAction()
           
 String getButtonLabelText(String displayEntityName)
           
 String getCSSClassName()
           
 boolean isClearSelectedRowOnAction()
           
 boolean isSelectedRowRequired()
           
 

Method Detail

getButtonAction

IFormOnSubmitAction getButtonAction()
Returns:
the action to perform when this button is clicked.

getButtonLabelText

String getButtonLabelText(String displayEntityName)
Parameters:
displayEntityName -
Returns:
the button label contextualized to the display entity.

getCSSClassName

String getCSSClassName()
Returns:
non null if there is a class atribute that should be written on the button.

isSelectedRowRequired

boolean isSelectedRowRequired()
Returns:
if a selected row is a precondition to this action.

isClearSelectedRowOnAction

boolean isClearSelectedRowOnAction()
Returns:
true if the selected row should be cleared as a result of clicking on the button.


Copyright © 2009-2013. All Rights Reserved.