| |
|
| java.lang.Object com.salmonllc.html.HtmlComponent com.salmonllc.jsp.JspContainer com.salmonllc.jsp.JspDisplayBox com.salmonllc.jsp.JspFormDisplayBox com.salmonllc.jsp.JspSearchFormDisplayBox
JspSearchFormDisplayBox | public class JspSearchFormDisplayBox extends JspFormDisplayBox implements SubmitListener(Code) | | An extended version of the display box with addional functionality for building search forms
|
autoBindComponents | public void autoBindComponents()(Code) | | Binds various components to the component based on their names passed to the constructor. CriteriaBuilder, CriteriaValidator and ListForm. This method is called by the framework and should not be called directly.
|
getAddButtonCaption | public String getAddButtonCaption()(Code) | | Returns the add button visible or not
|
getButtonBgColor | public String getButtonBgColor()(Code) | | Returns the background color for the search and add buttons
|
getButtonDisplayLocation | public int getButtonDisplayLocation()(Code) | | the location for displaying the buttons |
getButtonFontStyle | public String getButtonFontStyle()(Code) | | Returns the font style for the search and add buttons
|
getCancelLookupButtonCaption | public String getCancelLookupButtonCaption()(Code) | | Returns the cancel lookup button caption
|
getCriteriaBuilder | public QBEBuilder getCriteriaBuilder()(Code) | | the criteria builder the component is using to build the search filter |
getCriteriaValidator | public HtmlValidatorText getCriteriaValidator()(Code) | | the criteria validator the component is using to validate entered criteria |
getDataModifiedQuestion | public String getDataModifiedQuestion()(Code) | | the question when asking whether to cancel an operation because the modified data will be overwritten |
getDataStoreBuffer | public DataStoreBuffer getDataStoreBuffer()(Code) | | the DataStoreBuffer this component is using |
getSearchButtonCaption | public String getSearchButtonCaption()(Code) | | Returns the text to display on the search button
|
isAddButtonVisible | public boolean isAddButtonVisible()(Code) | | Return the add button visible or not
|
isCancelButtonVisible | public boolean isCancelButtonVisible()(Code) | | Return the cancel lookup button visible or not
|
isSearchButtonVisible | public boolean isSearchButtonVisible()(Code) | | Returns the search button visible or not
|
processLocaleInfo | protected void processLocaleInfo()(Code) | | |
setAddButtonAccessKey | public void setAddButtonAccessKey(String key)(Code) | | Sets the access key for the add button
|
setAddButtonCaption | public void setAddButtonCaption(String caption)(Code) | | Sets the add button visible or not
|
setAddButtonVisible | public void setAddButtonVisible(boolean visible)(Code) | | Sets the add button visible or not
|
setButtonDisplayLocation | public void setButtonDisplayLocation(int loc)(Code) | | Sets the display location for a button. Valid values are BUTTON_DISPLAY_IN_HEADER and BUTTON_DISPLAY_BOX_BELOW_TABLE
|
setCancelButtonAccessKey | public void setCancelButtonAccessKey(String key)(Code) | | Set the access key for the lookup cancel button
|
setCancelButtonCaption | public void setCancelButtonCaption(String caption)(Code) | | Sets the cancel lookup button visible or not
|
setCancelButtonVisible | public void setCancelButtonVisible(boolean visible)(Code) | | Sets the cancel lookup button visible or not
|
setDataModifiedQuestion | public void setDataModifiedQuestion(String string)(Code) | | sets the question when asking whether to cancel an operation because the modified data will be overwritten
|
setListFormName | public void setListFormName(String name)(Code) | | Called by the tag handler to set the name of the ListForm. The autoBindComponents will lookup the name of the component and attach it to this one or try to discover it if the name is null
|
setQBEBuilderName | public void setQBEBuilderName(String name)(Code) | | Called by the tag handler to set the name of the QBEBuilder. The autoBindComponents will lookup the name of the component and attach it to this one or try to discover it if the name is null
|
setQBEValidatorName | public void setQBEValidatorName(String name)(Code) | | Called by the tag handler to set the name of the QBEValidator. The autoBindComponents will lookup the name of the component and attach it to this one or try to discover it if the name is null
|
setSearchButtonAccessKey | public void setSearchButtonAccessKey(String key)(Code) | | Sets the access key for the search button
|
setSearchButtonCaption | public void setSearchButtonCaption(String caption)(Code) | | Sets the text to display on the search button
|
setSearchButtonVisible | public void setSearchButtonVisible(boolean visible)(Code) | | Sets the search button visible or not
|
setTheme | public void setTheme(String theme)(Code) | | Sets the theme for the component
|
setUpButtons | protected void setUpButtons()(Code) | | |
trySearch | public void trySearch()(Code) | | |
updateLocale | public void updateLocale()(Code) | | Updates the display box button labels for the current language
The language property file must have the following key structure
FormDisplayBox.add represents the caption for the add button.
FormDisplayBox.search represents the caption for the search button.
FormDisplayBox.cancel represents the caption for the cancel button.
FormDisplayBox.ok represents the caption for the ok button.
FormDisplayBox.undo represents the caption for the ok button.
SearchFormDisplayBox.dataModifiedQuestion represents the question asked if a search will overwrite unsaved data
|
|
|
|