Tabnine Logo
org.apache.wicket.extensions.wizard
Code IndexAdd Tabnine to your IDE (free)

How to use org.apache.wicket.extensions.wizard

Best Java code snippets using org.apache.wicket.extensions.wizard (Showing top 20 results out of 315)

origin: apache/wicket

@Override
protected void onConfigure()
{
  super.onConfigure();
  
  setVisible(getWizardModel().isCancelVisible());
}
origin: apache/wicket

  /**
   * @see org.apache.wicket.extensions.wizard.WizardButton#onClick()
   */
  @Override
  public void onClick()
  {
    IWizardModel wizardModel = getWizardModel();
    wizardModel.getActiveStep().applyState();
    wizardModel.last();
  }
}
origin: apache/wicket

@Override
protected void onConfigure()
{
  super.onConfigure();
  setEnabled(getWizardModel().isNextAvailable());
}
origin: apache/wicket

@Override
protected void onConfigure()
{
  super.onConfigure();
  setVisible(getWizardModel().isLastVisible());
  setEnabled(getWizardModel().isLastAvailable());
}
origin: apache/wicket

@Override
protected void onConfigure()
{
  super.onConfigure();
  
  setEnabled(getWizardModel().isPreviousAvailable());
}
origin: apache/wicket

/**
 * Convenience method to get the active step from the model.
 * 
 * @return The active step
 */
public final IWizardStep getActiveStep()
{
  return getWizardModel().getActiveStep();
}
origin: org.ops4j.pax.wicket/pax-wicket-service

/**
 * @see org.apache.wicket.Component#isEnabled()
 */
@Override
public boolean isEnabled()
{
  return getWizardModel().isNextAvailable();
}
origin: apache/wicket

  /**
   * @see org.apache.wicket.extensions.wizard.WizardButton#onClick()
   */
  @Override
  public void onClick()
  {
    getWizardModel().previous();
  }
}
origin: org.ops4j.pax.wicket/pax-wicket-service

/**
 * @see org.apache.wicket.Component#isEnabled()
 */
@Override
public boolean isEnabled()
{
  return getWizardModel().isPreviousAvailable();
}
origin: apache/wicket

  /**
   * @see org.apache.wicket.extensions.wizard.WizardButton#onClick()
   */
  @Override
  public final void onClick()
  {
    getWizardModel().cancel();
  }
}
origin: apache/wicket

/**
 * Gets the {@link IWizardModel wizard model}.
 * 
 * @return The wizard model
 */
protected final IWizardModel getWizardModel()
{
  return getWizard().getWizardModel();
}
origin: apache/wicket

/**
 * Checks if the next button should be enabled.
 * 
 * @return <tt>true</tt> if the next button should be enabled, <tt>false</tt> otherwise.
 */
@Override
public boolean isNextAvailable()
{
  return activeStep.isComplete() && !isLastStep(activeStep);
}
origin: org.ops4j.pax.wicket/pax-wicket-service

/**
 * @see org.apache.wicket.Component#isVisible()
 */
@Override
public boolean isVisible()
{
  return getWizardModel().isLastVisible();
}
origin: apache/wicket

@Override
protected void onConfigure()
{
  super.onConfigure();
  setEnabled(getWizardModel().isFinishAvailable());
}
origin: apache/wicket

@Override
public MarkupContainer add(Component... childs)
{
  for (Component component : childs)
  {
    if (component instanceof WizardButton)
    {
      ajaxify((WizardButton)component);
    }
  }
  return super.add(childs);
}
origin: org.ops4j.pax.wicket/pax-wicket-service

  /**
   * @see org.apache.wicket.extensions.wizard.WizardButton#onClick()
   */
  @Override
  public void onClick()
  {
    IWizardModel wizardModel = getWizardModel();
    wizardModel.getActiveStep().applyState();
    wizardModel.last();
  }
}
origin: org.ops4j.pax.wicket/pax-wicket-service

/**
 * Convenience method to get the active step from the model.
 * 
 * @return The active step
 */
public final IWizardStep getActiveStep()
{
  return getWizardModel().getActiveStep();
}
origin: org.ops4j.pax.wicket/pax-wicket-service

  /**
   * @see org.apache.wicket.extensions.wizard.WizardButton#onClick()
   */
  @Override
  public final void onClick()
  {
    getWizardModel().cancel();
  }
}
origin: org.ops4j.pax.wicket/pax-wicket-service

/**
 * Gets the {@link IWizardModel wizard model}.
 * 
 * @return The wizard model
 */
protected final IWizardModel getWizardModel()
{
  return getWizard().getWizardModel();
}
origin: org.ops4j.pax.wicket/pax-wicket-service

/**
 * Checks if the next button should be enabled.
 * 
 * @return <tt>true</tt> if the next button should be enabled, <tt>false</tt> otherwise.
 */
public boolean isNextAvailable()
{
  return activeStep.isComplete() && !isLastStep(activeStep);
}
org.apache.wicket.extensions.wizard

Most used classes

  • IWizardModel
    This interface defines the model for wizards. This model knows about the wizard's steps and the tran
  • IWizardStep
    Models one step in a wizard, and is the equivalent of one panel in a wizard from an end-user's persp
  • WizardModel
    Default implementation of IWizardModel, which models a semi-static wizard. This means that all steps
  • IWizard
    Interface for the wizard component. This interface is here for ultimate flexibility, though it doesn
  • DynamicWizardModel
    Wizard model that is specialized on dynamic wizards. Unlike the default, static WizardModel, this mo
  • WizardButton,
  • WizardStep,
  • CancelButton,
  • Wizard,
  • WizardButtonBar,
  • AbstractWizardModel,
  • IWizardModelListener,
  • LastButton,
  • NextButton,
  • PreviousButton,
  • StaticContentStep,
  • WizardModel$ICondition,
  • WizardStep$FormValidatorWrapper,
  • WizardStep$Header
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