inetsoft.report.event
Class SectionSelectionEvent
java.lang.Object
java.util.EventObject
inetsoft.report.event.SelectionEvent
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
|
row
protected int row
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.
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