public class TableComponent extends Object implements CatalogComponent
CatalogComponent.ObjectSelectionEvent, CatalogComponent.ObjectSelectionListener| Constructor and Description |
|---|
TableComponent() |
| Modifier and Type | Method and Description |
|---|---|
void |
addEnterSelection(CatalogComponent.ObjectSelectionListener a) |
void |
addListSelectionListener(CatalogComponent.ObjectSelectionListener d) |
void |
addMouseSelection(CatalogComponent.ObjectSelectionListener d) |
void |
addValue(Object a) |
void |
clearValues() |
Equalizer |
getEqualizer() |
protected ObjectTableModel |
getModel() |
int |
getSelectedIndex() |
Object |
getSelectedValue() |
JTable |
getTable() |
Object |
getValue(int row) |
List<Object> |
getValues() |
int |
indexOf(Object a) |
void |
removeValue(Object a) |
void |
repaint() |
TableComponent |
setColumns(ObjectTableModel.Columns d) |
void |
setElementHeight(int h) |
void |
setEqualizer(Equalizer equalizer) |
void |
setSelectedIndex(int i) |
void |
setSelectedValue(Object i) |
void |
setValues(List<Object> a) |
JComponent |
toComponent() |
public void addEnterSelection(CatalogComponent.ObjectSelectionListener a)
addEnterSelection in interface CatalogComponentpublic JTable getTable()
public Equalizer getEqualizer()
getEqualizer in interface CatalogComponentpublic void setEqualizer(Equalizer equalizer)
setEqualizer in interface CatalogComponentpublic void setElementHeight(int h)
setElementHeight in interface CatalogComponentpublic void setSelectedValue(Object i)
setSelectedValue in interface CatalogComponentpublic void addListSelectionListener(CatalogComponent.ObjectSelectionListener d)
addListSelectionListener in interface CatalogComponentpublic void addMouseSelection(CatalogComponent.ObjectSelectionListener d)
addMouseSelection in interface CatalogComponentpublic TableComponent setColumns(ObjectTableModel.Columns d)
public List<Object> getValues()
getValues in interface CatalogComponentpublic void setValues(List<Object> a)
setValues in interface CatalogComponentpublic void clearValues()
clearValues in interface CatalogComponentpublic int indexOf(Object a)
indexOf in interface CatalogComponentpublic void removeValue(Object a)
removeValue in interface CatalogComponentpublic void addValue(Object a)
addValue in interface CatalogComponentprotected ObjectTableModel getModel()
public Object getSelectedValue()
getSelectedValue in interface CatalogComponentpublic int getSelectedIndex()
getSelectedIndex in interface CatalogComponentpublic void setSelectedIndex(int i)
setSelectedIndex in interface CatalogComponentpublic JComponent toComponent()
toComponent in interface CatalogComponentpublic void repaint()
repaint in interface CatalogComponentpublic Object getValue(int row)
Copyright © 2022 vpc open source initiative. All rights reserved.