public class Selection extends Object
Encapsulates the selection of a list or table.
Modifier and Type | Class and Description |
---|---|
static class |
Selection.SelectionEvent |
Modifier and Type | Field and Description |
---|---|
protected EventDispatcher |
listeners |
Constructor and Description |
---|
Selection() |
Selection(int firstRow,
int lastRow,
int firstColumn,
int lastColumn) |
Modifier and Type | Method and Description |
---|---|
void |
addSelectionListener(ActionListener<Selection.SelectionEvent> l) |
boolean |
equals(Object obj) |
int |
getFirstColumn() |
int |
getFirstRow() |
int |
getLastColumn() |
int |
getLastRow() |
int |
hashCode() |
boolean |
isSelected(int row,
int column) |
void |
removeSelectionListener(ActionListener<Selection.SelectionEvent> l) |
protected EventDispatcher listeners
public Selection()
public Selection(int firstRow, int lastRow, int firstColumn, int lastColumn)
public int getFirstRow()
public int getLastRow()
public int getFirstColumn()
public int getLastColumn()
public boolean isSelected(int row, int column)
public void addSelectionListener(ActionListener<Selection.SelectionEvent> l)
public void removeSelectionListener(ActionListener<Selection.SelectionEvent> l)
Copyright © 2021. All Rights Reserved.