    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class jclass.bwt.JCItemEvent

    java.lang.Object
       |
       +----java.util.EventObject
               |
               +----java.awt.AWTEvent
                       |
                       +----java.awt.event.ItemEvent
                               |
                               +----jclass.bwt.JCItemEvent

public class JCItemEvent
extends ItemEvent

The item event posted by JCItemSelectable objects. This event is generated when an item is selected, de-selected, expanded, or contracted.

See Also:
  JCItemSelectable, ItemListener

##

JCItemEvent(Object, int, Object, int)
  Constructs an event with the specified source, type, item, and item select state.

##

getItem()
  Returns the item where the event occurred.
getStateChange()
  Returns the state change type which generated the event: SELECTED or DESELECTED

##

JCItemEvent

     public JCItemEvent(Object source,
                        int id,
                        Object item,
                        int stateChange)

  Constructs an event with the specified source, type, item, and item select state.

##

getItem

     public Object getItem()

  Returns the item where the event occurred.

  Overrides:
    getItem in class ItemEvent

getStateChange

     public int getStateChange()

  Returns the state change type which generated the event: SELECTED or DESELECTED

  Overrides:
    getStateChange in class ItemEvent

    All Packages  Class Hierarchy  This Package  Previous  Next  Index