thinwire.ui.event
Class ItemChangeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by thinwire.ui.event.ItemChangeEvent
All Implemented Interfaces:
java.io.Serializable

public final class ItemChangeEvent
extends java.util.EventObject

Sends a trigger to a listener when something changes in an item.

See Also:
Serialized Form

Nested Class Summary
static class ItemChangeEvent.Type
           
 
Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ItemChangeEvent(ItemChangeEventComponent sourceComponent, ItemChangeEvent.Type type, java.lang.Object position, java.lang.Object oldValue, java.lang.Object newValue)
           
ItemChangeEvent(ItemChangeEventComponent sourceComponent, java.lang.Object source, ItemChangeEvent.Type type, java.lang.Object position, java.lang.Object oldValue, java.lang.Object newValue)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.Object getNewValue()
           
 java.lang.Object getOldValue()
           
 java.lang.Object getPosition()
           
 ItemChangeEventComponent getSourceComponent()
           
 ItemChangeEvent.Type getType()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ItemChangeEvent

public ItemChangeEvent(ItemChangeEventComponent sourceComponent,
                       ItemChangeEvent.Type type,
                       java.lang.Object position,
                       java.lang.Object oldValue,
                       java.lang.Object newValue)

ItemChangeEvent

public ItemChangeEvent(ItemChangeEventComponent sourceComponent,
                       java.lang.Object source,
                       ItemChangeEvent.Type type,
                       java.lang.Object position,
                       java.lang.Object oldValue,
                       java.lang.Object newValue)
Method Detail

getSourceComponent

public ItemChangeEventComponent getSourceComponent()

getType

public ItemChangeEvent.Type getType()

getPosition

public java.lang.Object getPosition()

getNewValue

public java.lang.Object getNewValue()

getOldValue

public java.lang.Object getOldValue()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.util.EventObject


ThinWire® is a registered of Custom Credit Systems  Copyright © 2007 All rights reserved.
ThinWire_is_Open_Source_under_the_terms_of_the_LGPLv2.1 SourceForge.net_Project_Page java.net_Member Support_ThinWire,_Digg_our_Story