Package wizard

Source Code of wizard.Content

package wizard;

import ariba.ui.wizard.component.WizardFrameContent;
import ariba.ui.wizard.core.WizardActionTarget;
import ariba.ui.wizard.core.WizardAction;
import ariba.ui.wizard.core.Wizard;
import app.Post;

public class Content extends WizardFrameContent
{
    public WizardActionTarget actionClicked (WizardAction action)
    {
        Wizard wizard = getFrame().getWizard();
        if (wizard.next == action) {
            Post post = (Post)getContext();
            if (post.isPrivate) {
                return wizard.getFrameWithName("summaryFrame");
            }
        }
        return super.actionClicked(action);
    }
}
TOP

Related Classes of wizard.Content

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.