com.ibm.as400.util.servlet
Class SectionCompletedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.ibm.as400.util.servlet.SectionCompletedEvent
All Implemented Interfaces:
Serializable

public class SectionCompletedEvent
extends EventObject

The SectionCompletedEvent class represents a SectionCompleted event.

See Also:
Serialized Form

Field Summary
Modifier and Type Field and Description
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
Constructor and Description
SectionCompletedEvent(Object source)
          Constructs a SectionCompletedEvent object.
SectionCompletedEvent(Object source, String section)
          Constructs a SectionCompletedEvent object with the specified data section.
 
Method Summary
Modifier and Type Method and Description
 String getSection()
          Returns the completed section of data.
 void setSection(String section)
          Sets the completed section of data.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SectionCompletedEvent

public SectionCompletedEvent(Object source)
Constructs a SectionCompletedEvent object. It uses the specified source object that completed the section.

Parameters:
source - The object where the event originated.

SectionCompletedEvent

public SectionCompletedEvent(Object source,
                             String section)
Constructs a SectionCompletedEvent object with the specified data section. It uses the specified source object that completed the section.

Parameters:
source - The object where the event originated.
section - The completed section of data.
Method Detail

getSection

public String getSection()
Returns the completed section of data.

Returns:
The section of data.

setSection

public void setSection(String section)
Sets the completed section of data.

Parameters:
section - The section of data.