Codota Logo
WizardPanel.returnFromLaterStep
Code IndexAdd Codota to your IDE (free)

How to use
returnFromLaterStep
method
in
org.jfree.ui.WizardPanel

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

  • Common ways to obtain WizardPanel
private void myMethod () {
WizardPanel w =
  • Codota IconWizardDialog wizardDialog;wizardDialog.currentPanel.getNextPanel()
  • Codota IconWizardDialog wizardDialog;(WizardPanel) wizardDialog.panels.get(location)
  • Codota IconWizardDialog wizardDialog;WizardDialog wizardDialog2;wizardDialog.getWizardPanel(wizardDialog2.step + 1)
  • Smart code suggestions by Codota
}
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();
  }
}
org.jfree.uiWizardPanelreturnFromLaterStep

Javadoc

This method is called when the dialog redisplays this panel as a result of the user clicking the "Previous" button. Inside this method, subclasses should make a note of their current state, so that they can decide what to do when the user hits "Next".

Popular methods of WizardPanel

  • 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.

Popular in Java

  • Making http post requests using okhttp
  • requestLocationUpdates (LocationManager)
  • getContentResolver (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • TreeSet (java.util)
    A NavigableSet implementation based on a TreeMap. The elements are ordered using their Comparable, o
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • JFrame (javax.swing)
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now