org.apache.ws.commons.tcpmon.eclipse.ui
Class TableEnhancer
java.lang.Object
org.apache.ws.commons.tcpmon.eclipse.ui.TableEnhancer
public class TableEnhancer
- extends Object
A table enhancer class that wraps a table - A 'decorator' :)
Constructor Summary |
TableEnhancer(org.eclipse.swt.widgets.Table table)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TableEnhancer
public TableEnhancer(org.eclipse.swt.widgets.Table table)
setValueAt
public void setValueAt(String value,
int row,
int column)
getLeadSelectionIndex
public int getLeadSelectionIndex()
getMaxSelectionIndex
public int getMaxSelectionIndex()
getNearestSelectionToZero
public int getNearestSelectionToZero()
getSelectionIndicesWithoutZero
public int[] getSelectionIndicesWithoutZero()
getMinSelectionIndex
public int getMinSelectionIndex()
setSelectionInterval
public void setSelectionInterval(int index0,
int index1)
- Parameters:
index0
- index1
- Similar to setSelectionInterval(int index0, int index1) in DefaultListSelectionModel of SWING
but index0 should be less than index1
isSelectionEmpty
public boolean isSelectionEmpty()
selectAll
public void selectAll()
clearSelection
public void clearSelection()
indexOf
public int indexOf(org.eclipse.swt.widgets.TableItem item)
remove
public void remove(int index)
notifyListeners
public void notifyListeners(int type,
org.eclipse.swt.widgets.Event e)
isSelectedIndex
public boolean isSelectedIndex(int index)
Copyright © The Apache Software Foundation. All Rights Reserved.