Style Intelligence v12.0

inetsoft.report.event
Class SectionSelectionEvent

java.lang.Object
  extended by java.util.EventObject
      extended by inetsoft.report.event.SelectionEvent
          extended by inetsoft.report.event.SectionSelectionEvent
All Implemented Interfaces:
ReportEvent, Serializable

public class SectionSelectionEvent
extends SelectionEvent

Section selection event. This event is posted with an element in a section is selected.

See Also:
Serialized Form

Field Summary
protected  int row
           
 
Fields inherited from class inetsoft.report.event.SelectionEvent
clickCount, eid, item, mouseEvent
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
SectionSelectionEvent(Object source, String eid, Object item, int clickCount, MouseEvent mouseEvent, int row)
          Create a selection event.
 
Method Summary
 boolean equals(Object obj)
           
 int getRow()
          Get the row number the band of this element corresponds to.
 boolean matches(SelectionEvent e2)
          Match two events.
 String toString()
           
 
Methods inherited from class inetsoft.report.event.SelectionEvent
getClickCount, getColumn, getElementID, getItem, getMouseEvent
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

row

protected int row
Constructor Detail

SectionSelectionEvent

public SectionSelectionEvent(Object source,
                             String eid,
                             Object item,
                             int clickCount,
                             MouseEvent mouseEvent,
                             int row)
Create a selection event.

Parameters:
source - event source, e.g. TableLens, ChartLens.
item - selecttion item.
clickCount - the mouse click count.
Method Detail

getRow

public int getRow()
Get the row number the band of this element corresponds to.

Overrides:
getRow in class SelectionEvent
Returns:
row number.

toString

public String toString()
Overrides:
toString in class SelectionEvent

equals

public boolean equals(Object obj)
Overrides:
equals in class SelectionEvent

matches

public boolean matches(SelectionEvent e2)
Description copied from class: SelectionEvent
Match two events. The are considered a match if the id, row, column are the same or if the index is ignored (-1).

Overrides:
matches in class SelectionEvent

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.