Tabnine Logo
WizardPanel
Code IndexAdd Tabnine to your IDE (free)

How to use
WizardPanel
in
org.jfree.ui

Best Java code snippets using org.jfree.ui.WizardPanel (Showing top 15 results out of 315)

origin: jfree/jcommon

/**
 * Returns true if it is possible to finish the sequence at this point (possibly with defaults
 * for the remaining entries).
 *
 * @return boolean.
 */
public boolean canFinish() {
  return this.currentPanel.canFinish();
}
origin: org.jfree/com.springsource.org.jfree

/**
 * Returns true if there is a 'next' panel, and false otherwise.
 *
 * @return boolean.
 */
public boolean canDoNextPanel() {
  return this.currentPanel.hasNextPanel();
}
origin: jfree/jcommon

/**
 * Displays the next step in the wizard sequence.
 */
public void next() {
  WizardPanel nextPanel = getWizardPanel(this.step + 1);
  if (nextPanel != null) {
    if (!this.currentPanel.canRedisplayNextPanel()) {
      nextPanel = this.currentPanel.getNextPanel();
    }
  }
  else {
    nextPanel = this.currentPanel.getNextPanel();
  }
  this.step = this.step + 1;
  if (this.step < this.panels.size()) {
    this.panels.set(this.step, nextPanel);
  }
  else {
    this.panels.add(nextPanel);
  }
  final Container content = getContentPane();
  content.remove(this.currentPanel);
  content.add(nextPanel);
  this.currentPanel = nextPanel;
  setTitle("Step " + (this.step + 1));
  enableButtons();
  pack();
}
origin: jfree/jcommon

/**
 * Finishes the wizard.
 */
public void finish() {
  this.result = this.currentPanel.getResult();
  setVisible(false);
}
origin: org.jfree/jcommon

/**
 * Handles a click on the "previous" button, by displaying the previous panel in the sequence.
 */
public void previous() {
  if (this.step > 0) {
    final WizardPanel previousPanel = getWizardPanel(this.step - 1);
    // tell the panel that we are returning
    previousPanel.returnFromLaterStep();
    final Container content = getContentPane();
    content.remove(this.currentPanel);
    content.add(previousPanel);
    this.step = this.step - 1;
    this.currentPanel = previousPanel;
    setTitle("Step " + (this.step + 1));
    enableButtons();
    pack();
  }
}
origin: org.jfree/com.springsource.org.jfree

/**
 * Displays the next step in the wizard sequence.
 */
public void next() {
  WizardPanel nextPanel = getWizardPanel(this.step + 1);
  if (nextPanel != null) {
    if (!this.currentPanel.canRedisplayNextPanel()) {
      nextPanel = this.currentPanel.getNextPanel();
    }
  }
  else {
    nextPanel = this.currentPanel.getNextPanel();
  }
  this.step = this.step + 1;
  if (this.step < this.panels.size()) {
    this.panels.set(this.step, nextPanel);
  }
  else {
    this.panels.add(nextPanel);
  }
  final Container content = getContentPane();
  content.remove(this.currentPanel);
  content.add(nextPanel);
  this.currentPanel = nextPanel;
  setTitle("Step " + (this.step + 1));
  enableButtons();
  pack();
}
origin: org.jfree/jcommon

/**
 * Finishes the wizard.
 */
public void finish() {
  this.result = this.currentPanel.getResult();
  setVisible(false);
}
origin: org.jfree/com.springsource.org.jfree

/**
 * Handles a click on the "previous" button, by displaying the previous panel in the sequence.
 */
public void previous() {
  if (this.step > 0) {
    final WizardPanel previousPanel = getWizardPanel(this.step - 1);
    // tell the panel that we are returning
    previousPanel.returnFromLaterStep();
    final Container content = getContentPane();
    content.remove(this.currentPanel);
    content.add(previousPanel);
    this.step = this.step - 1;
    this.currentPanel = previousPanel;
    setTitle("Step " + (this.step + 1));
    enableButtons();
    pack();
  }
}
origin: org.jfree/jcommon

/**
 * Displays the next step in the wizard sequence.
 */
public void next() {
  WizardPanel nextPanel = getWizardPanel(this.step + 1);
  if (nextPanel != null) {
    if (!this.currentPanel.canRedisplayNextPanel()) {
      nextPanel = this.currentPanel.getNextPanel();
    }
  }
  else {
    nextPanel = this.currentPanel.getNextPanel();
  }
  this.step = this.step + 1;
  if (this.step < this.panels.size()) {
    this.panels.set(this.step, nextPanel);
  }
  else {
    this.panels.add(nextPanel);
  }
  final Container content = getContentPane();
  content.remove(this.currentPanel);
  content.add(nextPanel);
  this.currentPanel = nextPanel;
  setTitle("Step " + (this.step + 1));
  enableButtons();
  pack();
}
origin: jfree/jcommon

/**
 * Returns true if there is a 'next' panel, and false otherwise.
 *
 * @return boolean.
 */
public boolean canDoNextPanel() {
  return this.currentPanel.hasNextPanel();
}
origin: org.jfree/com.springsource.org.jfree

/**
 * Finishes the wizard.
 */
public void finish() {
  this.result = this.currentPanel.getResult();
  setVisible(false);
}
origin: org.jfree/com.springsource.org.jfree

/**
 * Returns true if it is possible to finish the sequence at this point (possibly with defaults
 * for the remaining entries).
 *
 * @return boolean.
 */
public boolean canFinish() {
  return this.currentPanel.canFinish();
}
origin: jfree/jcommon

/**
 * Handles a click on the "previous" button, by displaying the previous panel in the sequence.
 */
public void previous() {
  if (this.step > 0) {
    final WizardPanel previousPanel = getWizardPanel(this.step - 1);
    // tell the panel that we are returning
    previousPanel.returnFromLaterStep();
    final Container content = getContentPane();
    content.remove(this.currentPanel);
    content.add(previousPanel);
    this.step = this.step - 1;
    this.currentPanel = previousPanel;
    setTitle("Step " + (this.step + 1));
    enableButtons();
    pack();
  }
}
origin: org.jfree/jcommon

/**
 * Returns true if there is a 'next' panel, and false otherwise.
 *
 * @return boolean.
 */
public boolean canDoNextPanel() {
  return this.currentPanel.hasNextPanel();
}
origin: org.jfree/jcommon

/**
 * Returns true if it is possible to finish the sequence at this point (possibly with defaults
 * for the remaining entries).
 *
 * @return boolean.
 */
public boolean canFinish() {
  return this.currentPanel.canFinish();
}
org.jfree.uiWizardPanel

Javadoc

A panel that provides the user interface for a single step in a WizardDialog.

Most used methods

  • canFinish
    Returns true if it is possible to finish from this panel.
  • canRedisplayNextPanel
    Returns true if it is OK to redisplay the last version of the next panel, or false if a new version
  • getNextPanel
    Returns the next panel in the sequence, given the current user input. Returns null if this panel is
  • getResult
    Returns the result.
  • hasNextPanel
    Returns true if there is a next panel.
  • returnFromLaterStep
    This method is called when the dialog redisplays this panel as a result of the user clicking the "Pr

Popular in Java

  • Finding current android device location
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • requestLocationUpdates (LocationManager)
  • compareTo (BigDecimal)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • JLabel (javax.swing)
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now