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

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

Best Java code snippets using org.jfree.ui.WizardDialog.getContentPane (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.uiWizardDialoggetContentPane

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.
  • getWizardPanel
    Returns the panel for the specified step (steps are numbered from zero).
  • 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

  • Creating JSON documents from java classes using gson
  • scheduleAtFixedRate (Timer)
  • onCreateOptionsMenu (Activity)
  • getResourceAsStream (ClassLoader)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • Kernel (java.awt.image)
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • Runner (org.openjdk.jmh.runner)
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Github Copilot 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