edd884cac454202076ea91062c7e26723718936bneil_a_wilson/*
edd884cac454202076ea91062c7e26723718936bneil_a_wilson * CDDL HEADER START
edd884cac454202076ea91062c7e26723718936bneil_a_wilson *
edd884cac454202076ea91062c7e26723718936bneil_a_wilson * The contents of this file are subject to the terms of the
edd884cac454202076ea91062c7e26723718936bneil_a_wilson * Common Development and Distribution License, Version 1.0 only
edd884cac454202076ea91062c7e26723718936bneil_a_wilson * (the "License"). You may not use this file except in compliance
edd884cac454202076ea91062c7e26723718936bneil_a_wilson * with the License.
edd884cac454202076ea91062c7e26723718936bneil_a_wilson *
edd884cac454202076ea91062c7e26723718936bneil_a_wilson * You can obtain a copy of the license at legal-notices/CDDLv1_0.txt
edd884cac454202076ea91062c7e26723718936bneil_a_wilson * or http://forgerock.org/license/CDDLv1.0.html.
edd884cac454202076ea91062c7e26723718936bneil_a_wilson * See the License for the specific language governing permissions
edd884cac454202076ea91062c7e26723718936bneil_a_wilson * and limitations under the License.
edd884cac454202076ea91062c7e26723718936bneil_a_wilson *
edd884cac454202076ea91062c7e26723718936bneil_a_wilson * When distributing Covered Code, include this CDDL HEADER in each
edd884cac454202076ea91062c7e26723718936bneil_a_wilson * file and include the License file at legal-notices/CDDLv1_0.txt.
edd884cac454202076ea91062c7e26723718936bneil_a_wilson * If applicable, add the following below this CDDL HEADER, with the
edd884cac454202076ea91062c7e26723718936bneil_a_wilson * fields enclosed by brackets "[]" replaced with your own identifying
edd884cac454202076ea91062c7e26723718936bneil_a_wilson * information:
edd884cac454202076ea91062c7e26723718936bneil_a_wilson * Portions Copyright [yyyy] [name of copyright owner]
edd884cac454202076ea91062c7e26723718936bneil_a_wilson *
edd884cac454202076ea91062c7e26723718936bneil_a_wilson * CDDL HEADER END
edd884cac454202076ea91062c7e26723718936bneil_a_wilson *
edd884cac454202076ea91062c7e26723718936bneil_a_wilson *
edd884cac454202076ea91062c7e26723718936bneil_a_wilson * Copyright 2006-2008 Sun Microsystems, Inc.
edd884cac454202076ea91062c7e26723718936bneil_a_wilson */
edd884cac454202076ea91062c7e26723718936bneil_a_wilson
edd884cac454202076ea91062c7e26723718936bneil_a_wilsonpackage org.opends.quicksetup.event;
edd884cac454202076ea91062c7e26723718936bneil_a_wilson
edd884cac454202076ea91062c7e26723718936bneil_a_wilsonimport java.util.EventObject;
import org.opends.quicksetup.ButtonName;
/**
* The event that is generated when the user clicks in one of the wizard buttons
* specified in org.opends.quicksetup.ButtonName.
*
*/
public class ButtonEvent extends EventObject
{
private static final long serialVersionUID = -4411929136433332009L;
private ButtonName buttonName;
/**
* Constructor.
* @param source the button that generated the event
* @param buttonName the button name.
*/
public ButtonEvent(Object source, ButtonName buttonName)
{
super(source);
this.buttonName = buttonName;
}
/**
* Gets the ButtonName of the button that generated the event.
* @return the ButtonName of the button that generated the event.
*/
public ButtonName getButtonName()
{
return buttonName;
}
}