|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
tico.components.events.OrderChangeEvent
public class OrderChangeEvent
A semantic event which indicates that a change of order action occured. This
event is generated by an ordered list component (such as a
TOrderList
) when the change of order occurs. The event is passed
to every every OrderChangeListener
object that registered to
receive such events using the component's addOrderChangeListener
method.
The object that implements the OrderChangeListener
interface gets
this OrderChangeEvent
when the event occurs.
Constructor Summary | |
---|---|
OrderChangeEvent(java.lang.Object source,
java.lang.Object changedObject,
int initialPosition,
int finalPosition)
Constructs an OrderChangeEvent object. |
Method Summary | |
---|---|
java.lang.Object |
getChangedObject()
Returns the position changed object . |
int |
getFinalPosition()
Returns the changed object finalPosition . |
int |
getInitialPosition()
Returns the changed object initialPosition . |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OrderChangeEvent(java.lang.Object source, java.lang.Object changedObject, int initialPosition, int finalPosition)
OrderChangeEvent
object.
source
- The object that originated the eventchangedObject
- The position changed object
initialPosition
- The changed object initialPosition
finalPosition
- The changed object finalPosition
Method Detail |
---|
public java.lang.Object getChangedObject()
object
.
object
public int getInitialPosition()
initialPosition
.
initialPosition
public int getFinalPosition()
finalPosition
.
finalPosition
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |