|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pivot.wtk.skin.ComponentSkin
org.apache.pivot.wtk.skin.terra.TerraTableViewSkin
public class TerraTableViewSkin
Table view skin.
TODO Add disableMouseSelection style to support the case where selection should be enabled but the caller wants to implement the management of it; e.g. changing a message's flag state in an email client.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.TableViewListener |
---|
TableViewListener.Adapter |
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.TableViewColumnListener |
---|
TableViewColumnListener.Adapter |
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.TableViewRowListener |
---|
TableViewRowListener.Adapter |
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.TableViewSelectionListener |
---|
TableViewSelectionListener.Adapter |
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentListener |
---|
ComponentListener.Adapter |
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentStateListener |
---|
ComponentStateListener.Adapter |
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentMouseListener |
---|
ComponentMouseListener.Adapter |
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentMouseButtonListener |
---|
ComponentMouseButtonListener.Adapter |
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentKeyListener |
---|
ComponentKeyListener.Adapter |
Constructor Summary | |
---|---|
TerraTableViewSkin()
|
Method Summary | |
---|---|
void |
columnCellRendererChanged(TableView.Column column,
TableView.CellRenderer previousCellRenderer)
Called when a column's cell renderer has changed. |
void |
columnFilterChanged(TableView.Column column,
Object previousFilter)
Called when a column's filter has changed. |
void |
columnHeaderDataChanged(TableView.Column column,
Object previousHeaderData)
Called when a column's header data has changed. |
void |
columnHeaderDataRendererChanged(TableView.Column column,
TableView.HeaderDataRenderer previousHeaderDataRenderer)
Called when a column's header data renderer has changed. |
void |
columnInserted(TableView tableView,
int index)
Called when a column is inserted into a table view's column sequence. |
void |
columnNameChanged(TableView.Column column,
String previousName)
Called when a column's name has changed. |
void |
columnSourceChanged(TableView tableView,
TableView previousColumnSource)
Called when a table view's column source has changed. |
void |
columnsRemoved(TableView tableView,
int index,
Sequence<TableView.Column> columns)
Called when columns are removed from a table view's column sequence. |
void |
columnWidthChanged(TableView.Column column,
int previousWidth,
boolean previousRelative)
Called when a column's width has changed. |
void |
columnWidthLimitsChanged(TableView.Column column,
int previousMinimumWidth,
int previousMaximumWidth)
Called when a column's width limits have changed. |
void |
disabledRowFilterChanged(TableView tableView,
Filter<?> previousDisabledRowFilter)
Called when a table view's disabled row filter has changed. |
void |
enabledChanged(Component component)
Called when a component's enabled state has changed. |
void |
focusedChanged(Component component,
Component obverseComponent)
Called when a component's focused state has changed. |
Color |
getAlternateRowBackgroundColor()
|
Color |
getBackgroundColor()
|
int |
getBaseline(int width,
int height)
Returns the baseline for a given width and height. |
Bounds |
getCellBounds(int rowIndex,
int columnIndex)
|
Color |
getColor()
|
int |
getColumnAt(int x)
|
Bounds |
getColumnBounds(int columnIndex)
|
Color |
getColumnSelectionColor()
|
Color |
getColumnSelectionHorizontalGridColor()
|
static ArrayList<Integer> |
getColumnWidths(TableView tableView,
int width)
|
Color |
getDisabledColor()
|
Font |
getFont()
|
Color |
getHighlightBackgroundColor()
|
Color |
getHorizontalGridColor()
|
Color |
getInactiveSelectionBackgroundColor()
|
Color |
getInactiveSelectionColor()
|
boolean |
getIncludeTrailingHorizontalGridLine()
|
boolean |
getIncludeTrailingVerticalGridLine()
|
int |
getPreferredHeight(int width)
Returns the visual's preferred height given the provided width constraint. |
Dimensions |
getPreferredSize()
Returns the visual's unconstrained preferred size. |
int |
getPreferredWidth(int height)
Returns the visual's preferred width given the provided height constraint. |
static int |
getPreferredWidth(TableView tableView,
boolean includeTrailingVerticalGridLine)
|
int |
getRowAt(int y)
|
Bounds |
getRowBounds(int rowIndex)
|
Color |
getSelectionBackgroundColor()
|
Color |
getSelectionColor()
|
boolean |
getShowHighlight()
|
boolean |
getShowHorizontalGridLines()
|
boolean |
getShowVerticalGridLines()
|
protected int |
getVariableRowHeight(int rowIndex,
ArrayList<Integer> columnWidthsArgument)
|
Color |
getVerticalGridColor()
|
void |
install(Component component)
Associates a skin with a component. |
boolean |
isEditOnMouseDown()
|
boolean |
isFocusable()
By default, skins are focusable. |
boolean |
isOpaque()
By default, skins are assumed to be opaque. |
boolean |
isVariableRowHeight()
|
boolean |
keyPressed(Component component,
int keyCode,
Keyboard.KeyLocation keyLocation)
UP Selects the previous enabled row when select mode
is not TableView.SelectMode.NONE DOWN Selects the next enabled row when select mode
is not TableView.SelectMode.NONE
SHIFT + UP Increases the
selection size by including the previous enabled row when select mode
is TableView.SelectMode.MULTI SHIFT + DOWN Increases the
selection size by including the next enabled row when select mode is
TableView.SelectMode.MULTI |
void |
layout()
If the component on which the skin is installed is a container, lays out the container's children. |
boolean |
mouseClick(Component component,
Mouse.Button button,
int x,
int y,
int count)
Called when a mouse button is clicked over a component. |
boolean |
mouseDown(Component component,
Mouse.Button button,
int x,
int y)
Called when a mouse button is pressed over a component. |
boolean |
mouseMove(Component component,
int x,
int y)
Called when the mouse is moved over a component. |
void |
mouseOut(Component component)
Called when the mouse exits a component. |
boolean |
mouseUp(Component component,
Mouse.Button button,
int x,
int y)
Called when a mouse button is released over a component. |
boolean |
mouseWheel(Component component,
Mouse.ScrollType scrollType,
int scrollAmount,
int wheelRotation,
int x,
int y)
Called when the mouse wheel is scrolled over a component. |
void |
paint(Graphics2D graphics)
Paints the visual. |
void |
rowEditorChanged(TableView tableView,
TableView.RowEditor previousRowEditor)
Called when a table view's row editor has changed. |
void |
rowInserted(TableView tableView,
int index)
Called when a row has been inserted into the table view. |
void |
rowsCleared(TableView listView)
Called when the rows in a table view have been cleared. |
void |
rowsRemoved(TableView tableView,
int index,
int count)
Called when rows have been removed from the table view. |
void |
rowsSorted(TableView tableView)
Called when the rows in a table have been sorted. |
void |
rowUpdated(TableView tableView,
int index)
Called when an row in the table view has been updated. |
void |
selectedRangeAdded(TableView tableView,
int rangeStart,
int rangeEnd)
Called when a range has been added to a table view's selection. |
void |
selectedRangeRemoved(TableView tableView,
int rangeStart,
int rangeEnd)
Called when a range has been removed from a table view's selection. |
void |
selectedRangesChanged(TableView tableView,
Sequence<Span> previousSelectedRanges)
Called when a table view's selection state has been reset. |
void |
selectedRowChanged(TableView tableView,
Object previousSelectedRow)
Called when a table view's selected item has changed. |
void |
selectModeChanged(TableView tableView,
TableView.SelectMode previousSelectMode)
Called when a table view's select mode has changed. |
void |
setAlternateRowBackgroundColor(Color alternateRowBackgroundColor)
|
void |
setAlternateRowBackgroundColor(int alternateRowBackgroundColor)
|
void |
setAlternateRowBackgroundColor(String alternateRowBackgroundColor)
|
void |
setBackgroundColor(Color backgroundColor)
|
void |
setBackgroundColor(int backgroundColor)
|
void |
setBackgroundColor(String backgroundColor)
|
void |
setColor(Color color)
|
void |
setColor(int color)
|
void |
setColor(String color)
|
void |
setColumnSelectionColor(Color columnSelectionColor)
|
void |
setColumnSelectionColor(int columnSelectionColor)
|
void |
setColumnSelectionColor(String columnSelectionColor)
|
void |
setColumnSelectionHorizontalGridColor(Color columnSelectionHorizontalGridColor)
|
void |
setColumnSelectionHorizontalGridColor(int columnSelectionHorizontalGridColor)
|
void |
setColumnSelectionHorizontalGridColor(String columnSelectionHorizontalGridColor)
|
void |
setDisabledColor(Color disabledColor)
|
void |
setDisabledColor(int disabledColor)
|
void |
setDisabledColor(String disabledColor)
|
void |
setEditOnMouseDown(boolean editOnMouseDown)
|
void |
setFont(Dictionary<String,?> font)
|
void |
setFont(Font font)
|
void |
setFont(String font)
|
void |
setHighlightBackgroundColor(Color highlightBackgroundColor)
|
void |
setHighlightBackgroundColor(int highlightBackgroundColor)
|
void |
setHighlightBackgroundColor(String highlightBackgroundColor)
|
void |
setHorizontalGridColor(Color horizontalGridColor)
|
void |
setHorizontalGridColor(int horizontalGridColor)
|
void |
setHorizontalGridColor(String horizontalGridColor)
|
void |
setInactiveSelectionBackgroundColor(Color inactiveSelectionBackgroundColor)
|
void |
setInactiveSelectionBackgroundColor(int inactiveSelectionBackgroundColor)
|
void |
setInactiveSelectionBackgroundColor(String inactiveSelectionBackgroundColor)
|
void |
setInactiveSelectionColor(Color inactiveSelectionColor)
|
void |
setInactiveSelectionColor(int inactiveSelectionColor)
|
void |
setInactiveSelectionColor(String inactiveSelectionColor)
|
void |
setIncludeTrailingHorizontalGridLine(boolean includeTrailingHorizontalGridLine)
|
void |
setIncludeTrailingVerticalGridLine(boolean includeTrailingVerticalGridLine)
|
void |
setSelectionBackgroundColor(Color selectionBackgroundColor)
|
void |
setSelectionBackgroundColor(int selectionBackgroundColor)
|
void |
setSelectionBackgroundColor(String selectionBackgroundColor)
|
void |
setSelectionColor(Color selectionColor)
|
void |
setSelectionColor(int selectionColor)
|
void |
setSelectionColor(String selectionColor)
|
void |
setShowHighlight(boolean showHighlight)
|
void |
setShowHorizontalGridLines(boolean showHorizontalGridLines)
|
void |
setShowVerticalGridLines(boolean showVerticalGridLines)
|
void |
setVariableRowHeight(boolean variableRowHeight)
|
void |
setVerticalGridColor(Color verticalGridColor)
|
void |
setVerticalGridColor(int verticalGridColor)
|
void |
setVerticalGridColor(String verticalGridColor)
|
void |
tableDataChanged(TableView tableView,
List<?> previousTableData)
Called when a table view's table data has changed. |
Methods inherited from class org.apache.pivot.wtk.skin.ComponentSkin |
---|
cursorChanged, decodeFont, dragSourceChanged, dropTargetChanged, getBaseline, getComponent, getHeight, getWidth, heightLimitsChanged, invalidateComponent, keyReleased, keyTyped, locationChanged, menuHandlerChanged, mouseOver, nameChanged, parentChanged, preferredSizeChanged, repaintComponent, repaintComponent, repaintComponent, repaintComponent, repaintComponent, setSize, sizeChanged, tooltipDelayChanged, tooltipTextChanged, tooltipTriggered, visibleChanged, widthLimitsChanged |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TerraTableViewSkin()
Method Detail |
---|
public void install(Component component)
Skin
install
in interface Skin
install
in class ComponentSkin
component
- The component to which the skin is being attached.public int getPreferredWidth(int height)
ConstrainedVisual
getPreferredWidth
in interface ConstrainedVisual
height
- The height by which to constrain the preferred width, or -1
for no constraint.public static int getPreferredWidth(TableView tableView, boolean includeTrailingVerticalGridLine)
public int getPreferredHeight(int width)
ConstrainedVisual
getPreferredHeight
in interface ConstrainedVisual
width
- The width by which to constrain the preferred height, or -1
for no constraint.public Dimensions getPreferredSize()
ConstrainedVisual
getPreferredSize
in interface ConstrainedVisual
getPreferredSize
in class ComponentSkin
public int getBaseline(int width, int height)
ConstrainedVisual
getBaseline
in interface ConstrainedVisual
getBaseline
in class ComponentSkin
public void layout()
Skin
layout
in interface Skin
public void paint(Graphics2D graphics)
Visual
paint
in interface Visual
graphics
- The graphics context in which to paint the visual.protected int getVariableRowHeight(int rowIndex, ArrayList<Integer> columnWidthsArgument)
public int getRowAt(int y)
getRowAt
in interface TableView.Skin
public int getColumnAt(int x)
getColumnAt
in interface TableView.Skin
public Bounds getRowBounds(int rowIndex)
getRowBounds
in interface TableView.Skin
public Bounds getColumnBounds(int columnIndex)
getColumnBounds
in interface TableView.Skin
public Bounds getCellBounds(int rowIndex, int columnIndex)
getCellBounds
in interface TableView.Skin
public static ArrayList<Integer> getColumnWidths(TableView tableView, int width)
public boolean isFocusable()
ComponentSkin
isFocusable
in interface Skin
isFocusable
in class ComponentSkin
public boolean isOpaque()
ComponentSkin
isOpaque
in interface Skin
isOpaque
in class ComponentSkin
public Font getFont()
public void setFont(Font font)
public final void setFont(String font)
public final void setFont(Dictionary<String,?> font)
public Color getColor()
public void setColor(Color color)
public final void setColor(String color)
public final void setColor(int color)
public Color getDisabledColor()
public void setDisabledColor(Color disabledColor)
public final void setDisabledColor(String disabledColor)
public final void setDisabledColor(int disabledColor)
public Color getBackgroundColor()
public void setBackgroundColor(Color backgroundColor)
public final void setBackgroundColor(String backgroundColor)
public final void setBackgroundColor(int backgroundColor)
public Color getSelectionColor()
public void setSelectionColor(Color selectionColor)
public final void setSelectionColor(String selectionColor)
public final void setSelectionColor(int selectionColor)
public Color getSelectionBackgroundColor()
public void setSelectionBackgroundColor(Color selectionBackgroundColor)
public final void setSelectionBackgroundColor(String selectionBackgroundColor)
public final void setSelectionBackgroundColor(int selectionBackgroundColor)
public Color getInactiveSelectionColor()
public void setInactiveSelectionColor(Color inactiveSelectionColor)
public final void setInactiveSelectionColor(String inactiveSelectionColor)
public final void setInactiveSelectionColor(int inactiveSelectionColor)
public Color getInactiveSelectionBackgroundColor()
public void setInactiveSelectionBackgroundColor(Color inactiveSelectionBackgroundColor)
public final void setInactiveSelectionBackgroundColor(String inactiveSelectionBackgroundColor)
public final void setInactiveSelectionBackgroundColor(int inactiveSelectionBackgroundColor)
public Color getHighlightBackgroundColor()
public void setHighlightBackgroundColor(Color highlightBackgroundColor)
public final void setHighlightBackgroundColor(String highlightBackgroundColor)
public final void setHighlightBackgroundColor(int highlightBackgroundColor)
public Color getAlternateRowBackgroundColor()
public void setAlternateRowBackgroundColor(Color alternateRowBackgroundColor)
public final void setAlternateRowBackgroundColor(String alternateRowBackgroundColor)
public final void setAlternateRowBackgroundColor(int alternateRowBackgroundColor)
public Color getColumnSelectionColor()
public void setColumnSelectionColor(Color columnSelectionColor)
public final void setColumnSelectionColor(String columnSelectionColor)
public final void setColumnSelectionColor(int columnSelectionColor)
public Color getColumnSelectionHorizontalGridColor()
public void setColumnSelectionHorizontalGridColor(Color columnSelectionHorizontalGridColor)
public final void setColumnSelectionHorizontalGridColor(String columnSelectionHorizontalGridColor)
public final void setColumnSelectionHorizontalGridColor(int columnSelectionHorizontalGridColor)
public Color getHorizontalGridColor()
public void setHorizontalGridColor(Color horizontalGridColor)
public final void setHorizontalGridColor(String horizontalGridColor)
public final void setHorizontalGridColor(int horizontalGridColor)
public Color getVerticalGridColor()
public void setVerticalGridColor(Color verticalGridColor)
public final void setVerticalGridColor(String verticalGridColor)
public final void setVerticalGridColor(int verticalGridColor)
public boolean getShowHighlight()
public void setShowHighlight(boolean showHighlight)
public boolean getShowHorizontalGridLines()
public void setShowHorizontalGridLines(boolean showHorizontalGridLines)
public boolean getShowVerticalGridLines()
public void setShowVerticalGridLines(boolean showVerticalGridLines)
public boolean getIncludeTrailingVerticalGridLine()
public void setIncludeTrailingVerticalGridLine(boolean includeTrailingVerticalGridLine)
public boolean getIncludeTrailingHorizontalGridLine()
public void setIncludeTrailingHorizontalGridLine(boolean includeTrailingHorizontalGridLine)
public boolean isVariableRowHeight()
public void setVariableRowHeight(boolean variableRowHeight)
public boolean isEditOnMouseDown()
public void setEditOnMouseDown(boolean editOnMouseDown)
public boolean mouseMove(Component component, int x, int y)
ComponentMouseListener
mouseMove
in interface ComponentMouseListener
mouseMove
in class ComponentSkin
public void mouseOut(Component component)
ComponentMouseListener
mouseOut
in interface ComponentMouseListener
mouseOut
in class ComponentSkin
public boolean mouseDown(Component component, Mouse.Button button, int x, int y)
ComponentMouseButtonListener
mouseDown
in interface ComponentMouseButtonListener
mouseDown
in class ComponentSkin
public boolean mouseUp(Component component, Mouse.Button button, int x, int y)
ComponentMouseButtonListener
mouseUp
in interface ComponentMouseButtonListener
mouseUp
in class ComponentSkin
public boolean mouseClick(Component component, Mouse.Button button, int x, int y, int count)
ComponentMouseButtonListener
mouseClick
in interface ComponentMouseButtonListener
mouseClick
in class ComponentSkin
public boolean mouseWheel(Component component, Mouse.ScrollType scrollType, int scrollAmount, int wheelRotation, int x, int y)
ComponentMouseWheelListener
mouseWheel
in interface ComponentMouseWheelListener
mouseWheel
in class ComponentSkin
public boolean keyPressed(Component component, int keyCode, Keyboard.KeyLocation keyLocation)
UP
Selects the previous enabled row when select mode
is not TableView.SelectMode.NONE
DOWN
Selects the next enabled row when select mode
is not TableView.SelectMode.NONE
SHIFT
+ UP
Increases the
selection size by including the previous enabled row when select mode
is TableView.SelectMode.MULTI
SHIFT
+ DOWN
Increases the
selection size by including the next enabled row when select mode is
TableView.SelectMode.MULTI
keyPressed
in interface ComponentKeyListener
keyPressed
in class ComponentSkin
public void enabledChanged(Component component)
ComponentStateListener
Called both when the component is enabled and when it is disabled.
The component's enabled
flag has already been set when this
method is called so the new state can be determined by calling the
Component.isEnabled()
method.
enabledChanged
in interface ComponentStateListener
enabledChanged
in class ComponentSkin
component
- The component whose enabled state is changing.public void focusedChanged(Component component, Component obverseComponent)
ComponentStateListener
This will be called both when a component gains focus and when it loses
focus. The currently focused component has already been set when this method
is called, so that the new state of the component can be determined by calling
the Component.isFocused()
method.
focusedChanged
in interface ComponentStateListener
focusedChanged
in class ComponentSkin
component
- The component that is either gaining focus or the one that
previously had focus and is now losing it.obverseComponent
- If the component is gaining focus, this is the component
that is losing focus. If the component is losing focus
this is the component that is gaining the focus instead.public void tableDataChanged(TableView tableView, List<?> previousTableData)
TableViewListener
tableDataChanged
in interface TableViewListener
public void columnSourceChanged(TableView tableView, TableView previousColumnSource)
TableViewListener
columnSourceChanged
in interface TableViewListener
public void rowEditorChanged(TableView tableView, TableView.RowEditor previousRowEditor)
TableViewListener
rowEditorChanged
in interface TableViewListener
public void selectModeChanged(TableView tableView, TableView.SelectMode previousSelectMode)
TableViewListener
selectModeChanged
in interface TableViewListener
public void disabledRowFilterChanged(TableView tableView, Filter<?> previousDisabledRowFilter)
TableViewListener
disabledRowFilterChanged
in interface TableViewListener
public void columnInserted(TableView tableView, int index)
TableViewColumnListener
columnInserted
in interface TableViewColumnListener
public void columnsRemoved(TableView tableView, int index, Sequence<TableView.Column> columns)
TableViewColumnListener
columnsRemoved
in interface TableViewColumnListener
public void columnNameChanged(TableView.Column column, String previousName)
TableViewColumnListener
columnNameChanged
in interface TableViewColumnListener
public void columnHeaderDataChanged(TableView.Column column, Object previousHeaderData)
TableViewColumnListener
columnHeaderDataChanged
in interface TableViewColumnListener
public void columnHeaderDataRendererChanged(TableView.Column column, TableView.HeaderDataRenderer previousHeaderDataRenderer)
TableViewColumnListener
columnHeaderDataRendererChanged
in interface TableViewColumnListener
public void columnWidthChanged(TableView.Column column, int previousWidth, boolean previousRelative)
TableViewColumnListener
columnWidthChanged
in interface TableViewColumnListener
public void columnWidthLimitsChanged(TableView.Column column, int previousMinimumWidth, int previousMaximumWidth)
TableViewColumnListener
columnWidthLimitsChanged
in interface TableViewColumnListener
public void columnFilterChanged(TableView.Column column, Object previousFilter)
TableViewColumnListener
columnFilterChanged
in interface TableViewColumnListener
public void columnCellRendererChanged(TableView.Column column, TableView.CellRenderer previousCellRenderer)
TableViewColumnListener
columnCellRendererChanged
in interface TableViewColumnListener
public void rowInserted(TableView tableView, int index)
TableViewRowListener
rowInserted
in interface TableViewRowListener
tableView
- The source of the event.index
- The index of the row that was inserted.public void rowsRemoved(TableView tableView, int index, int count)
TableViewRowListener
rowsRemoved
in interface TableViewRowListener
tableView
- The source of the event.index
- The first index affected by the event.count
- The number of rows that were removed, or -1 if all rows
were removed.public void rowUpdated(TableView tableView, int index)
TableViewRowListener
rowUpdated
in interface TableViewRowListener
tableView
- The source of the event.index
- The first index affected by the event.public void rowsCleared(TableView listView)
TableViewRowListener
rowsCleared
in interface TableViewRowListener
public void rowsSorted(TableView tableView)
TableViewRowListener
rowsSorted
in interface TableViewRowListener
tableView
- The source of the event.public void selectedRangeAdded(TableView tableView, int rangeStart, int rangeEnd)
TableViewSelectionListener
selectedRangeAdded
in interface TableViewSelectionListener
tableView
- The source of the event.rangeStart
- The start index of the range that was added, inclusive.rangeEnd
- The end index of the range that was added, inclusive.public void selectedRangeRemoved(TableView tableView, int rangeStart, int rangeEnd)
TableViewSelectionListener
selectedRangeRemoved
in interface TableViewSelectionListener
tableView
- The source of the event.rangeStart
- The start index of the range that was removed, inclusive.rangeEnd
- The end index of the range that was removed, inclusive.public void selectedRangesChanged(TableView tableView, Sequence<Span> previousSelectedRanges)
TableViewSelectionListener
selectedRangesChanged
in interface TableViewSelectionListener
tableView
- The source of the event.previousSelectedRanges
- If the selection changed directly, contains the ranges that were previously
selected. If the selection changed indirectly as a result of a model change,
contains the current selection. Otherwise, contains null.public void selectedRowChanged(TableView tableView, Object previousSelectedRow)
TableViewSelectionListener
selectedRowChanged
in interface TableViewSelectionListener
tableView
- The source of the event.previousSelectedRow
- The row that was previously selected.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |