Exemplo n.º 1
0
 /**
  * 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);
 }
Exemplo n.º 2
0
 /** 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);
 }
Exemplo n.º 3
0
 /** This method will set the focus to the edit component. */
 public void setFocus(int row) {
   if (_editHandle instanceof HtmlFormComponent) ((HtmlFormComponent) _editHandle).setFocus(row);
 }