/** * Sets the flag for ability to respond to user input (true = does respond). * * @param enabled boolean */ public void setEnabled(boolean enabled) { super.setEnabled(enabled); if (_editHandle instanceof HtmlFormComponent) ((HtmlFormComponent) _editHandle).setEnabled(enabled); if (_usePopup) _browsePopupImageLink.setVisible(enabled); else _browseImage.setVisible(enabled); }
/** This method will set the focus to the edit component. */ public void setFocus(int row, boolean select) { if (_editHandle instanceof HtmlFormComponent) ((HtmlFormComponent) _editHandle).setFocus(row, select); }
/** This method will set the focus to the edit component. */ public void setFocus(int row) { if (_editHandle instanceof HtmlFormComponent) ((HtmlFormComponent) _editHandle).setFocus(row); }