Lines Matching refs:buttonName
321 * @param buttonName the button name of the button.
324 public void setButtonEnabled(ButtonName buttonName, boolean enable)
326 getButton(buttonName).setEnabled(enable);
384 * Returns the button corresponding to the buttonName.
385 * @param buttonName the ButtonName for which we want to get the button.
386 * @return the button corresponding to the buttonName.
388 private JButton getButton(ButtonName buttonName)
393 if (buttonName == ButtonName.QUIT)
396 } else if (buttonName == ButtonName.CONTINUE_INSTALL)
401 button = getButtonsPanel().getButton(buttonName);
405 button = getButtonsPanel().getButton(buttonName);
412 * @param buttonName the ButtonName associated with the button.
414 public void setFocusOnButton(ButtonName buttonName)
416 JButton button = getButton(buttonName);
421 buttonName + "'"));
427 * @param buttonName the ButtonName associated with the button.
429 public void setDefaultButton(ButtonName buttonName)
431 getFrame().getRootPane().setDefaultButton(getButton(buttonName));
485 * in the button associated with buttonName.
486 * @param buttonName the ButtonName associated with the button.
488 public void notifyButtonEvent(ButtonName buttonName)
490 ButtonEvent be = new ButtonEvent(this, buttonName);