LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.event
Class LySelectionEvent

java.lang.Object
  extended by java.util.EventObject
      extended by leon.view.event.LyEvent
          extended by leon.view.event.LySelectionEvent
All Implemented Interfaces:
java.io.Serializable

public class LySelectionEvent
extends LyEvent

The listener interface for receiving selection events.

See Also:
Serialized Form

Field Summary
static java.lang.String __VERSION
           
 
Constructor Summary
LySelectionEvent(java.lang.Object source, java.lang.Object item, boolean selected)
          Constructor.
 
Method Summary
 java.lang.Object getItem()
          Accessor to the (un)selected item identifier.
 int[] getPosition()
          Accessor to the position identifier.
 int getSelectionSize()
          Accessor to the number of selections.
 boolean isExtend()
          Accessor to the new extension status.
 boolean isSelected()
          Accessor to the new selection status.
 void setExtend(boolean extend)
          Accessor to the new extension status.
 void setItem(java.lang.Object item)
           
 void setPosition(int[] p)
          Accessor to the position identifier.
 void setSelectionSize(int size)
          Accessor to the number of selections.
 
Methods inherited from class leon.view.event.LyEvent
addIndex, consume, getIndex, getSubIndex, isConsumed, setSubIndex
 
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

LySelectionEvent

public LySelectionEvent(java.lang.Object source,
                        java.lang.Object item,
                        boolean selected)
Constructor.

Method Detail

getItem

public java.lang.Object getItem()
Accessor to the (un)selected item identifier.


setItem

public void setItem(java.lang.Object item)

setSelectionSize

public void setSelectionSize(int size)
Accessor to the number of selections.


getSelectionSize

public int getSelectionSize()
Accessor to the number of selections.


isSelected

public boolean isSelected()
Accessor to the new selection status.


isExtend

public boolean isExtend()
Accessor to the new extension status.

Returns:
true if the selection extends previous notification

setExtend

public void setExtend(boolean extend)
Accessor to the new extension status. Default is false.

Parameters:
extend - true if the selection extends previous notification.

getPosition

public int[] getPosition()
Accessor to the position identifier.


setPosition

public void setPosition(int[] p)
Accessor to the position identifier.


(c) January 2013 - W4 S.A.

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