com.quadrique.jbuildingblocks.gui
Class ButtonAreaEvent
java.lang.Object
java.util.EventObject
com.quadrique.jbuildingblocks.gui.ButtonAreaEvent
- All Implemented Interfaces:
- Serializable
public class ButtonAreaEvent
- extends EventObject
This class describes the event posted by a ButtonsBar class instance
whenever one of the button in the area has been selected by the user.
- Author:
- Hervé Rivere
- See Also:
ButtonArea,
Serialized Form
ButtonAreaEvent
public ButtonAreaEvent(Object zSource,
int zSelectedButtonId)
- The constructor of the class.
- Parameters:
zSource - the object that created this event,zSelectedButtonId - the identifier of the selected
button (i.e. the identifier value that you used for the
zButtonId parameter in ButtonArea.addButton()).- See Also:
ButtonArea
getSelectedButtonId
public int getSelectedButtonId()
- Returns:
- the identifier of the selected
button (i.e. the identifier value that you used for the
zButtonId parameter in ButtonArea.addButton()).
- See Also:
ButtonArea
Copyright © 2001-2009 Quadrique Corporation. All Rights Reserved.