Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.sunwheeltech.sirius
Class TreeBrowserEvent  view TreeBrowserEvent download TreeBrowserEvent.java

java.lang.Object
  extended byjava.util.EventObject
      extended bycom.sunwheeltech.sirius.TreeBrowserEvent
All Implemented Interfaces:
java.io.Serializable

public class TreeBrowserEvent
extends java.util.EventObject

Wrapper event type for Uncle Unc item tree events, that presents the affected item in the tree and the underlying event. It declkares te Item as its source, but also offers a convenience getter to avoid class casting. Can query the underlying event for its source if required.


Field Summary
(package private)  java.util.EventObject event
          the underlying event object (usually an AWT event, but lets be broad-minded
(package private)  ulu.view.Item item
          the Uncle Unc Item behind the event
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
TreeBrowserEvent(ulu.view.Item it, java.util.EventObject ev)
          constructor requires the parent event and item
 
Method Summary
 java.util.EventObject getEvent()
          get the underlying event object
 ulu.view.Item getItem()
          get the Item behind the event
 java.lang.String getItemName()
          convenience helper to get the name of the Item
 java.lang.Object getItemReference()
          convenience helper to get the underlying object referenced by the Item
 
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
 

Field Detail

item

ulu.view.Item item
the Uncle Unc Item behind the event


event

java.util.EventObject event
the underlying event object (usually an AWT event, but lets be broad-minded

Constructor Detail

TreeBrowserEvent

public TreeBrowserEvent(ulu.view.Item it,
                        java.util.EventObject ev)
constructor requires the parent event and item

Method Detail

getItem

public ulu.view.Item getItem()
get the Item behind the event


getItemReference

public java.lang.Object getItemReference()
convenience helper to get the underlying object referenced by the Item


getItemName

public java.lang.String getItemName()
convenience helper to get the name of the Item


getEvent

public java.util.EventObject getEvent()
get the underlying event object