com.pepper.platform.program
Class SectionEvent
java.lang.Object
java.util.EventObject
com.pepper.platform.program.SectionEvent
- All Implemented Interfaces:
- Serializable
public class SectionEvent
- extends EventObject
This event indicates that a section has been changed.
- See Also:
- Serialized Form
SectionEvent
public SectionEvent(Object source,
Section prevSection,
Section newSection)
- Constructs a new
SectionEvent
using the given parameters.
- Parameters:
source
- an Object
instance for which this event is
is tied to; this is always an instance of the PepperTabPanel.prevSection
- a Section
instance of the old section.newSection
- a Section
instance of the new section.
getPreviousSection
public Section getPreviousSection()
- Returns the previous section.
- Returns:
- The previous
Section
instance.
getNewSection
public Section getNewSection()
- Returns the new section.
- Returns:
- The new
Section
instance.
Copyright © 2006-2007 Pepper Computer, Inc. All Rights Reserved.