Tabnine Logo
WizardDialog.getWizardPanel
Code IndexAdd Tabnine to your IDE (free)

How to use
getWizardPanel
method
in
org.jfree.ui.WizardDialog

Best Java code snippets using org.jfree.ui.WizardDialog.getWizardPanel (Showing top 6 results out of 315)

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

/**
 * 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

/**
 * 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

/**
 * 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/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();
}
org.jfree.uiWizardDialoggetWizardPanel

Javadoc

Returns the panel for the specified step (steps are numbered from zero).

Popular methods of WizardDialog

  • canDoNextPanel
    Returns true if there is a 'next' panel, and false otherwise.
  • canFinish
    Returns true if it is possible to finish the sequence at this point (possibly with defaults for the
  • createContent
    Creates a panel containing the user interface for the dialog.
  • enableButtons
    Enables/disables the buttons according to the current step. A good idea would be to ask the panels t
  • finish
    Finishes the wizard.
  • getContentPane
  • next
    Displays the next step in the wizard sequence.
  • pack
  • previous
    Handles a click on the "previous" button, by displaying the previous panel in the sequence.
  • setContentPane
  • setTitle
  • setVisible
  • setTitle,
  • setVisible

Popular in Java

  • Start an intent from android
  • getExternalFilesDir (Context)
  • setContentView (Activity)
  • getApplicationContext (Context)
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Permission (java.security)
    Legacy security code; do not use.
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • CodeWhisperer alternatives
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