Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

oracle.javatools.history
Class HistoryModelEvent

java.lang.Object
  extended by java.util.EventObject
      extended by oracle.javatools.history.HistoryModelEvent
All Implemented Interfaces:
java.io.Serializable

public final class HistoryModelEvent
extends java.util.EventObject

An event from the HistoryModel.

Since:
10.0.3
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
HistoryModelEvent(HistoryModel source)
          Construct a history model event.
HistoryModelEvent(HistoryModel source, int start, int end)
          Construct a history model event.
 
Method Summary
 int getEnd()
          Get the last history entry this event relates to.
 int getStart()
          Get the first history entry this event relates to.
 java.lang.String toString()
          Get a string representation of this object.
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HistoryModelEvent

public HistoryModelEvent(HistoryModel source)
Construct a history model event.

Parameters:
source - the source should be the model this event relates to.

HistoryModelEvent

public HistoryModelEvent(HistoryModel source,
                         int start,
                         int end)
Construct a history model event.

Parameters:
source - the source should be the model this event relates to
start - the first entry index this event relates to
end - the last entry index this event relates to.
Method Detail

getStart

public int getStart()
Get the first history entry this event relates to.

Returns:
the first history entry this event relates to or -1 if it applies to the whole model.

getEnd

public int getEnd()
Get the last history entry this event relates to.

Returns:
the last history entry this event relates to or -1 if it applies to the whole model.

toString

public java.lang.String toString()
Get a string representation of this object.

Overrides:
toString in class java.util.EventObject
Returns:
a string representation of this object.

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

Copyright © 1997, 2011, Oracle. All rights reserved.