org.apache.pivot.wtk.skin.terra
Class TerraListViewSkin

java.lang.Object
  extended by org.apache.pivot.wtk.skin.ComponentSkin
      extended by org.apache.pivot.wtk.skin.terra.TerraListViewSkin
All Implemented Interfaces:
org.apache.pivot.wtk.ComponentKeyListener, org.apache.pivot.wtk.ComponentListener, org.apache.pivot.wtk.ComponentMouseButtonListener, org.apache.pivot.wtk.ComponentMouseListener, org.apache.pivot.wtk.ComponentMouseWheelListener, org.apache.pivot.wtk.ComponentStateListener, org.apache.pivot.wtk.ComponentTooltipListener, org.apache.pivot.wtk.ConstrainedVisual, org.apache.pivot.wtk.ListView.Skin, org.apache.pivot.wtk.ListViewItemListener, org.apache.pivot.wtk.ListViewItemStateListener, org.apache.pivot.wtk.ListViewListener, org.apache.pivot.wtk.ListViewSelectionListener, org.apache.pivot.wtk.Skin, org.apache.pivot.wtk.Visual

public class TerraListViewSkin
extends org.apache.pivot.wtk.skin.ComponentSkin
implements org.apache.pivot.wtk.ListView.Skin, org.apache.pivot.wtk.ListViewListener, org.apache.pivot.wtk.ListViewItemListener, org.apache.pivot.wtk.ListViewItemStateListener, org.apache.pivot.wtk.ListViewSelectionListener

List view skin.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ListViewListener
org.apache.pivot.wtk.ListViewListener.Adapter
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ListViewItemListener
org.apache.pivot.wtk.ListViewItemListener.Adapter
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ListViewSelectionListener
org.apache.pivot.wtk.ListViewSelectionListener.Adapter
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentListener
org.apache.pivot.wtk.ComponentListener.Adapter
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentStateListener
org.apache.pivot.wtk.ComponentStateListener.Adapter
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentMouseListener
org.apache.pivot.wtk.ComponentMouseListener.Adapter
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentMouseButtonListener
org.apache.pivot.wtk.ComponentMouseButtonListener.Adapter
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentKeyListener
org.apache.pivot.wtk.ComponentKeyListener.Adapter
 
Constructor Summary
TerraListViewSkin()
           
 
Method Summary
 void checkmarksEnabledChanged(org.apache.pivot.wtk.ListView listView)
           
 void disabledCheckmarkFilterChanged(org.apache.pivot.wtk.ListView listView, org.apache.pivot.util.Filter<?> previousDisabledCheckmarkFilter)
           
 void disabledItemFilterChanged(org.apache.pivot.wtk.ListView listView, org.apache.pivot.util.Filter<?> previousDisabledItemFilter)
           
 void enabledChanged(org.apache.pivot.wtk.Component component)
           
 void focusedChanged(org.apache.pivot.wtk.Component component, org.apache.pivot.wtk.Component obverseComponent)
           
 Color getAlternateItemBackgroundColor()
           
 Color getBackgroundColor()
           
 int getBaseline(int width, int height)
           
 org.apache.pivot.wtk.Insets getCheckboxPadding()
           
 Color getColor()
           
 Color getDisabledColor()
           
 Font getFont()
           
 Color getHighlightBackgroundColor()
           
 Color getInactiveSelectionBackgroundColor()
           
 Color getInactiveSelectionColor()
           
 int getItemAt(int y)
           
 org.apache.pivot.wtk.Bounds getItemBounds(int index)
           
 int getItemIndent()
           
 int getPreferredHeight(int width)
           
 int getPreferredWidth(int height)
           
 Color getSelectionBackgroundColor()
           
 Color getSelectionColor()
           
 boolean getShowHighlight()
           
 boolean getWrapSelectNext()
           
 void install(org.apache.pivot.wtk.Component component)
           
 boolean isFocusable()
           
 boolean isOpaque()
           
 boolean isVariableItemHeight()
           
 void itemCheckedChanged(org.apache.pivot.wtk.ListView listView, int index)
           
 void itemEditorChanged(org.apache.pivot.wtk.ListView listView, org.apache.pivot.wtk.ListView.ItemEditor previousItemEditor)
           
 void itemInserted(org.apache.pivot.wtk.ListView listView, int index)
           
 void itemRendererChanged(org.apache.pivot.wtk.ListView listView, org.apache.pivot.wtk.ListView.ItemRenderer previousItemRenderer)
           
 void itemsCleared(org.apache.pivot.wtk.ListView listView)
           
 void itemsRemoved(org.apache.pivot.wtk.ListView listView, int index, int count)
           
 void itemsSorted(org.apache.pivot.wtk.ListView listView)
           
 void itemUpdated(org.apache.pivot.wtk.ListView listView, int index)
           
 boolean keyPressed(org.apache.pivot.wtk.Component component, int keyCode, org.apache.pivot.wtk.Keyboard.KeyLocation keyLocation)
          UP Selects the previous enabled list item when select mode is not ListView.SelectMode.NONE
DOWN Selects the next enabled list item when select mode is not ListView.SelectMode.NONE SHIFT + UP Increases the selection size by including the previous enabled list item when select mode is ListView.SelectMode.MULTI
SHIFT + DOWN Increases the selection size by including the next enabled list item when select mode is ListView.SelectMode.MULTI
 boolean keyReleased(org.apache.pivot.wtk.Component component, int keyCode, org.apache.pivot.wtk.Keyboard.KeyLocation keyLocation)
          SPACE Toggles check mark selection when select mode is ListView.SelectMode.SINGLE
 boolean keyTyped(org.apache.pivot.wtk.Component component, char character)
          Select the next enabled list item where the first character of the rendered text matches the typed key (case insensitive).
 void layout()
           
 void listDataChanged(org.apache.pivot.wtk.ListView listView, org.apache.pivot.collections.List<?> previousListData)
           
 boolean mouseClick(org.apache.pivot.wtk.Component component, org.apache.pivot.wtk.Mouse.Button button, int x, int y, int count)
           
 boolean mouseDown(org.apache.pivot.wtk.Component component, org.apache.pivot.wtk.Mouse.Button button, int x, int y)
           
 boolean mouseMove(org.apache.pivot.wtk.Component component, int x, int y)
           
 void mouseOut(org.apache.pivot.wtk.Component component)
           
 boolean mouseUp(org.apache.pivot.wtk.Component component, org.apache.pivot.wtk.Mouse.Button button, int x, int y)
           
 boolean mouseWheel(org.apache.pivot.wtk.Component component, org.apache.pivot.wtk.Mouse.ScrollType scrollType, int scrollAmount, int wheelRotation, int x, int y)
           
 void paint(Graphics2D graphics)
           
 void selectedItemChanged(org.apache.pivot.wtk.ListView listView, Object previousSelectedItem)
           
 void selectedRangeAdded(org.apache.pivot.wtk.ListView listView, int rangeStart, int rangeEnd)
           
 void selectedRangeRemoved(org.apache.pivot.wtk.ListView listView, int rangeStart, int rangeEnd)
           
 void selectedRangesChanged(org.apache.pivot.wtk.ListView listView, org.apache.pivot.collections.Sequence<org.apache.pivot.wtk.Span> previousSelectedRanges)
           
 void selectModeChanged(org.apache.pivot.wtk.ListView listView, org.apache.pivot.wtk.ListView.SelectMode previousSelectMode)
           
 void setAlternateItemBackgroundColor(Color alternateItemBackgroundColor)
           
 void setAlternateItemBackgroundColor(String alternateItemBackgroundColor)
           
 void setAlternateItemColor(int alternateItemBackgroundColor)
           
 void setBackgroundColor(Color backgroundColor)
           
 void setBackgroundColor(int backgroundColor)
           
 void setBackgroundColor(String backgroundColor)
           
 void setCheckboxPadding(org.apache.pivot.collections.Dictionary<String,?> checkboxPadding)
           
 void setCheckboxPadding(org.apache.pivot.wtk.Insets checkboxPadding)
           
 void setCheckboxPadding(int checkboxPadding)
           
 void setCheckboxPadding(Number padding)
           
 void setCheckboxPadding(String checkboxPadding)
           
 void setColor(Color color)
           
 void setColor(int color)
           
 void setColor(String color)
           
 void setDisabledColor(Color disabledColor)
           
 void setDisabledColor(int disabledColor)
           
 void setDisabledColor(String disabledColor)
           
 void setFont(org.apache.pivot.collections.Dictionary<String,?> font)
           
 void setFont(Font font)
           
 void setFont(String font)
           
 void setHighlightBackgroundColor(Color highlightBackgroundColor)
           
 void setHighlightBackgroundColor(int highlightBackgroundColor)
           
 void setHighlightBackgroundColor(String highlightBackgroundColor)
           
 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 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 setVariableItemHeight(boolean variableItemHeight)
           
 void setWrapSelectNext(boolean wrapSelectNext)
           
 
Methods inherited from class org.apache.pivot.wtk.skin.ComponentSkin
cursorChanged, decodeFont, dragSourceChanged, dropTargetChanged, getBaseline, getComponent, getHeight, getPreferredSize, getWidth, heightLimitsChanged, invalidateComponent, 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

TerraListViewSkin

public TerraListViewSkin()
Method Detail

install

public void install(org.apache.pivot.wtk.Component component)
Specified by:
install in interface org.apache.pivot.wtk.Skin
Overrides:
install in class org.apache.pivot.wtk.skin.ComponentSkin

getPreferredWidth

public int getPreferredWidth(int height)
Specified by:
getPreferredWidth in interface org.apache.pivot.wtk.ConstrainedVisual

getPreferredHeight

public int getPreferredHeight(int width)
Specified by:
getPreferredHeight in interface org.apache.pivot.wtk.ConstrainedVisual

getBaseline

public int getBaseline(int width,
                       int height)
Specified by:
getBaseline in interface org.apache.pivot.wtk.ConstrainedVisual
Overrides:
getBaseline in class org.apache.pivot.wtk.skin.ComponentSkin

layout

public void layout()
Specified by:
layout in interface org.apache.pivot.wtk.Skin

paint

public void paint(Graphics2D graphics)
Specified by:
paint in interface org.apache.pivot.wtk.Visual

getItemAt

public int getItemAt(int y)
Specified by:
getItemAt in interface org.apache.pivot.wtk.ListView.Skin

getItemBounds

public org.apache.pivot.wtk.Bounds getItemBounds(int index)
Specified by:
getItemBounds in interface org.apache.pivot.wtk.ListView.Skin

getItemIndent

public int getItemIndent()
Specified by:
getItemIndent in interface org.apache.pivot.wtk.ListView.Skin

isFocusable

public boolean isFocusable()
Specified by:
isFocusable in interface org.apache.pivot.wtk.Skin
Overrides:
isFocusable in class org.apache.pivot.wtk.skin.ComponentSkin

isOpaque

public boolean isOpaque()
Specified by:
isOpaque in interface org.apache.pivot.wtk.Skin
Overrides:
isOpaque in class org.apache.pivot.wtk.skin.ComponentSkin

getFont

public Font getFont()

setFont

public void setFont(Font font)

setFont

public final void setFont(String font)

setFont

public final void setFont(org.apache.pivot.collections.Dictionary<String,?> font)

getColor

public Color getColor()

setColor

public void setColor(Color color)

setColor

public final void setColor(String color)

setColor

public final void setColor(int color)

getDisabledColor

public Color getDisabledColor()

setDisabledColor

public void setDisabledColor(Color disabledColor)

setDisabledColor

public final void setDisabledColor(String disabledColor)

setDisabledColor

public final void setDisabledColor(int disabledColor)

getBackgroundColor

public Color getBackgroundColor()

setBackgroundColor

public void setBackgroundColor(Color backgroundColor)

setBackgroundColor

public final void setBackgroundColor(String backgroundColor)

setBackgroundColor

public final void setBackgroundColor(int backgroundColor)

getSelectionColor

public Color getSelectionColor()

setSelectionColor

public void setSelectionColor(Color selectionColor)

setSelectionColor

public final void setSelectionColor(String selectionColor)

setSelectionColor

public final void setSelectionColor(int selectionColor)

getSelectionBackgroundColor

public Color getSelectionBackgroundColor()

setSelectionBackgroundColor

public void setSelectionBackgroundColor(Color selectionBackgroundColor)

setSelectionBackgroundColor

public final void setSelectionBackgroundColor(String selectionBackgroundColor)

setSelectionBackgroundColor

public final void setSelectionBackgroundColor(int selectionBackgroundColor)

getInactiveSelectionColor

public Color getInactiveSelectionColor()

setInactiveSelectionColor

public void setInactiveSelectionColor(Color inactiveSelectionColor)

setInactiveSelectionColor

public final void setInactiveSelectionColor(String inactiveSelectionColor)

setInactiveSelectionColor

public final void setInactiveSelectionColor(int inactiveSelectionColor)

getInactiveSelectionBackgroundColor

public Color getInactiveSelectionBackgroundColor()

setInactiveSelectionBackgroundColor

public void setInactiveSelectionBackgroundColor(Color inactiveSelectionBackgroundColor)

setInactiveSelectionBackgroundColor

public final void setInactiveSelectionBackgroundColor(String inactiveSelectionBackgroundColor)

setInactiveSelectionBackgroundColor

public final void setInactiveSelectionBackgroundColor(int inactiveSelectionBackgroundColor)

getHighlightBackgroundColor

public Color getHighlightBackgroundColor()

setHighlightBackgroundColor

public void setHighlightBackgroundColor(Color highlightBackgroundColor)

setHighlightBackgroundColor

public final void setHighlightBackgroundColor(String highlightBackgroundColor)

setHighlightBackgroundColor

public final void setHighlightBackgroundColor(int highlightBackgroundColor)

getAlternateItemBackgroundColor

public Color getAlternateItemBackgroundColor()

setAlternateItemBackgroundColor

public void setAlternateItemBackgroundColor(Color alternateItemBackgroundColor)

setAlternateItemBackgroundColor

public final void setAlternateItemBackgroundColor(String alternateItemBackgroundColor)

setAlternateItemColor

public final void setAlternateItemColor(int alternateItemBackgroundColor)

getShowHighlight

public boolean getShowHighlight()

setShowHighlight

public void setShowHighlight(boolean showHighlight)

getWrapSelectNext

public boolean getWrapSelectNext()

setWrapSelectNext

public void setWrapSelectNext(boolean wrapSelectNext)

getCheckboxPadding

public org.apache.pivot.wtk.Insets getCheckboxPadding()

setCheckboxPadding

public void setCheckboxPadding(org.apache.pivot.wtk.Insets checkboxPadding)

setCheckboxPadding

public final void setCheckboxPadding(org.apache.pivot.collections.Dictionary<String,?> checkboxPadding)

setCheckboxPadding

public final void setCheckboxPadding(int checkboxPadding)

setCheckboxPadding

public final void setCheckboxPadding(Number padding)

setCheckboxPadding

public final void setCheckboxPadding(String checkboxPadding)

isVariableItemHeight

public boolean isVariableItemHeight()

setVariableItemHeight

public void setVariableItemHeight(boolean variableItemHeight)

mouseMove

public boolean mouseMove(org.apache.pivot.wtk.Component component,
                         int x,
                         int y)
Specified by:
mouseMove in interface org.apache.pivot.wtk.ComponentMouseListener
Overrides:
mouseMove in class org.apache.pivot.wtk.skin.ComponentSkin

mouseOut

public void mouseOut(org.apache.pivot.wtk.Component component)
Specified by:
mouseOut in interface org.apache.pivot.wtk.ComponentMouseListener
Overrides:
mouseOut in class org.apache.pivot.wtk.skin.ComponentSkin

mouseDown

public boolean mouseDown(org.apache.pivot.wtk.Component component,
                         org.apache.pivot.wtk.Mouse.Button button,
                         int x,
                         int y)
Specified by:
mouseDown in interface org.apache.pivot.wtk.ComponentMouseButtonListener
Overrides:
mouseDown in class org.apache.pivot.wtk.skin.ComponentSkin

mouseUp

public boolean mouseUp(org.apache.pivot.wtk.Component component,
                       org.apache.pivot.wtk.Mouse.Button button,
                       int x,
                       int y)
Specified by:
mouseUp in interface org.apache.pivot.wtk.ComponentMouseButtonListener
Overrides:
mouseUp in class org.apache.pivot.wtk.skin.ComponentSkin

mouseClick

public boolean mouseClick(org.apache.pivot.wtk.Component component,
                          org.apache.pivot.wtk.Mouse.Button button,
                          int x,
                          int y,
                          int count)
Specified by:
mouseClick in interface org.apache.pivot.wtk.ComponentMouseButtonListener
Overrides:
mouseClick in class org.apache.pivot.wtk.skin.ComponentSkin

mouseWheel

public boolean mouseWheel(org.apache.pivot.wtk.Component component,
                          org.apache.pivot.wtk.Mouse.ScrollType scrollType,
                          int scrollAmount,
                          int wheelRotation,
                          int x,
                          int y)
Specified by:
mouseWheel in interface org.apache.pivot.wtk.ComponentMouseWheelListener
Overrides:
mouseWheel in class org.apache.pivot.wtk.skin.ComponentSkin

keyPressed

public boolean keyPressed(org.apache.pivot.wtk.Component component,
                          int keyCode,
                          org.apache.pivot.wtk.Keyboard.KeyLocation keyLocation)
UP Selects the previous enabled list item when select mode is not ListView.SelectMode.NONE
DOWN Selects the next enabled list item when select mode is not ListView.SelectMode.NONE

SHIFT + UP Increases the selection size by including the previous enabled list item when select mode is ListView.SelectMode.MULTI
SHIFT + DOWN Increases the selection size by including the next enabled list item when select mode is ListView.SelectMode.MULTI

Specified by:
keyPressed in interface org.apache.pivot.wtk.ComponentKeyListener
Overrides:
keyPressed in class org.apache.pivot.wtk.skin.ComponentSkin

keyReleased

public boolean keyReleased(org.apache.pivot.wtk.Component component,
                           int keyCode,
                           org.apache.pivot.wtk.Keyboard.KeyLocation keyLocation)
SPACE Toggles check mark selection when select mode is ListView.SelectMode.SINGLE

Specified by:
keyReleased in interface org.apache.pivot.wtk.ComponentKeyListener
Overrides:
keyReleased in class org.apache.pivot.wtk.skin.ComponentSkin

keyTyped

public boolean keyTyped(org.apache.pivot.wtk.Component component,
                        char character)
Select the next enabled list item where the first character of the rendered text matches the typed key (case insensitive).

Specified by:
keyTyped in interface org.apache.pivot.wtk.ComponentKeyListener
Overrides:
keyTyped in class org.apache.pivot.wtk.skin.ComponentSkin

enabledChanged

public void enabledChanged(org.apache.pivot.wtk.Component component)
Specified by:
enabledChanged in interface org.apache.pivot.wtk.ComponentStateListener
Overrides:
enabledChanged in class org.apache.pivot.wtk.skin.ComponentSkin

focusedChanged

public void focusedChanged(org.apache.pivot.wtk.Component component,
                           org.apache.pivot.wtk.Component obverseComponent)
Specified by:
focusedChanged in interface org.apache.pivot.wtk.ComponentStateListener
Overrides:
focusedChanged in class org.apache.pivot.wtk.skin.ComponentSkin

listDataChanged

public void listDataChanged(org.apache.pivot.wtk.ListView listView,
                            org.apache.pivot.collections.List<?> previousListData)
Specified by:
listDataChanged in interface org.apache.pivot.wtk.ListViewListener

itemRendererChanged

public void itemRendererChanged(org.apache.pivot.wtk.ListView listView,
                                org.apache.pivot.wtk.ListView.ItemRenderer previousItemRenderer)
Specified by:
itemRendererChanged in interface org.apache.pivot.wtk.ListViewListener

itemEditorChanged

public void itemEditorChanged(org.apache.pivot.wtk.ListView listView,
                              org.apache.pivot.wtk.ListView.ItemEditor previousItemEditor)
Specified by:
itemEditorChanged in interface org.apache.pivot.wtk.ListViewListener

selectModeChanged

public void selectModeChanged(org.apache.pivot.wtk.ListView listView,
                              org.apache.pivot.wtk.ListView.SelectMode previousSelectMode)
Specified by:
selectModeChanged in interface org.apache.pivot.wtk.ListViewListener

checkmarksEnabledChanged

public void checkmarksEnabledChanged(org.apache.pivot.wtk.ListView listView)
Specified by:
checkmarksEnabledChanged in interface org.apache.pivot.wtk.ListViewListener

disabledItemFilterChanged

public void disabledItemFilterChanged(org.apache.pivot.wtk.ListView listView,
                                      org.apache.pivot.util.Filter<?> previousDisabledItemFilter)
Specified by:
disabledItemFilterChanged in interface org.apache.pivot.wtk.ListViewListener

disabledCheckmarkFilterChanged

public void disabledCheckmarkFilterChanged(org.apache.pivot.wtk.ListView listView,
                                           org.apache.pivot.util.Filter<?> previousDisabledCheckmarkFilter)
Specified by:
disabledCheckmarkFilterChanged in interface org.apache.pivot.wtk.ListViewListener

itemInserted

public void itemInserted(org.apache.pivot.wtk.ListView listView,
                         int index)
Specified by:
itemInserted in interface org.apache.pivot.wtk.ListViewItemListener

itemsRemoved

public void itemsRemoved(org.apache.pivot.wtk.ListView listView,
                         int index,
                         int count)
Specified by:
itemsRemoved in interface org.apache.pivot.wtk.ListViewItemListener

itemUpdated

public void itemUpdated(org.apache.pivot.wtk.ListView listView,
                        int index)
Specified by:
itemUpdated in interface org.apache.pivot.wtk.ListViewItemListener

itemsCleared

public void itemsCleared(org.apache.pivot.wtk.ListView listView)
Specified by:
itemsCleared in interface org.apache.pivot.wtk.ListViewItemListener

itemsSorted

public void itemsSorted(org.apache.pivot.wtk.ListView listView)
Specified by:
itemsSorted in interface org.apache.pivot.wtk.ListViewItemListener

itemCheckedChanged

public void itemCheckedChanged(org.apache.pivot.wtk.ListView listView,
                               int index)
Specified by:
itemCheckedChanged in interface org.apache.pivot.wtk.ListViewItemStateListener

selectedRangeAdded

public void selectedRangeAdded(org.apache.pivot.wtk.ListView listView,
                               int rangeStart,
                               int rangeEnd)
Specified by:
selectedRangeAdded in interface org.apache.pivot.wtk.ListViewSelectionListener

selectedRangeRemoved

public void selectedRangeRemoved(org.apache.pivot.wtk.ListView listView,
                                 int rangeStart,
                                 int rangeEnd)
Specified by:
selectedRangeRemoved in interface org.apache.pivot.wtk.ListViewSelectionListener

selectedRangesChanged

public void selectedRangesChanged(org.apache.pivot.wtk.ListView listView,
                                  org.apache.pivot.collections.Sequence<org.apache.pivot.wtk.Span> previousSelectedRanges)
Specified by:
selectedRangesChanged in interface org.apache.pivot.wtk.ListViewSelectionListener

selectedItemChanged

public void selectedItemChanged(org.apache.pivot.wtk.ListView listView,
                                Object previousSelectedItem)
Specified by:
selectedItemChanged in interface org.apache.pivot.wtk.ListViewSelectionListener