javax.help.event

Class HelpHistoryModelEvent


public class HelpHistoryModelEvent
extends java.util.EventObject

Notifies interested parties that a change in a Help History Model source has occurred.

Constructor Summary

HelpHistoryModelEvent(Object source, boolean previous, boolean next)
Represents a history change

Method Summary

boolean
isNext()
Returns if action "next" is allowed
boolean
isPrevious()
Returns if action "previous" is allowed.

Constructor Details

HelpHistoryModelEvent

public HelpHistoryModelEvent(Object source,
                             boolean previous,
                             boolean next)
Represents a history change
Parameters:
source - The source for this event.
previous - If true a previous action is allowed.
next - If true a next action is allowed.

Method Details

isNext

public boolean isNext()
Returns if action "next" is allowed
Returns:
True if action is allowed, false otherwise.

isPrevious

public boolean isPrevious()
Returns if action "previous" is allowed.
Returns:
True if action is allowed, false otherwise.