LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.event
Class LyEvent

java.lang.Object
  extended by java.util.EventObject
      extended by leon.view.event.LyEvent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
LyActionEvent, LySelectionEvent

public class LyEvent
extends java.util.EventObject

The generic class for all graphical events.

See Also:
Serialized Form

Field Summary
static java.lang.String __VERSION
           
 
Constructor Summary
LyEvent(java.lang.Object source)
           
 
Method Summary
 void addIndex(int idx)
          Accessor to the index of the (un)selected item.
 void consume()
          Indicates that this event has been completely processed.
 int getIndex(int pos)
          Accessor to the index of the (un)selected item return -1 if not found.
 int getSubIndex()
          Sub-index associated to this event (optional).
 boolean isConsumed()
          Indicates wether this event has been completely processed. a Consumed event should not propagate.
 void setSubIndex(int sub_index)
          Value associated to this event (optional).
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

__VERSION

public static final java.lang.String __VERSION
See Also:
Constant Field Values
Constructor Detail

LyEvent

public LyEvent(java.lang.Object source)
Method Detail

isConsumed

public boolean isConsumed()
Indicates wether this event has been completely processed. a Consumed event should not propagate.


consume

public void consume()
Indicates that this event has been completely processed.


addIndex

public void addIndex(int idx)
Accessor to the index of the (un)selected item.


getIndex

public int getIndex(int pos)
Accessor to the index of the (un)selected item return -1 if not found.


getSubIndex

public int getSubIndex()
Sub-index associated to this event (optional).


setSubIndex

public void setSubIndex(int sub_index)
Value associated to this event (optional).


(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com