com.jurismarches.vradi.ui.editors
Class JListCellEditor
java.lang.Object
javax.swing.AbstractCellEditor
com.jurismarches.vradi.ui.editors.JListCellEditor
- All Implemented Interfaces:
- Serializable, CellEditor, TableCellEditor
public class JListCellEditor
- extends AbstractCellEditor
- implements TableCellEditor
Un éditeur de JList dans une cellule de tableau.
Les objects sélectionnés de la liste sont ceux renvoyés par l'éditeur.
User: chemit
Date: 15 nov. 2009
Time: 21:15:39
- See Also:
- Serialized Form
|
Field Summary |
protected TableCellEditor |
delegate
l'editeur de délégation, pour obtenir certaines informations sur le rendu visuel |
protected JList |
list
le composant pour éditer |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
list
protected JList list
- le composant pour éditer
delegate
protected TableCellEditor delegate
- l'editeur de délégation, pour obtenir certaines informations sur le rendu visuel
JListCellEditor
public JListCellEditor(TableCellEditor delegate)
JListCellEditor
public JListCellEditor()
updateUniverse
public void updateUniverse(List<String> values)
- Pour mettre à jour la liste des valeurs sélectionnables.
- Parameters:
values - les valeurs sélectionnables (à placer dans le modèle de la liste)
isCellEditable
public boolean isCellEditable(EventObject e)
- Specified by:
isCellEditable in interface CellEditor- Overrides:
isCellEditable in class AbstractCellEditor
getCellEditorValue
public Object getCellEditorValue()
- Specified by:
getCellEditorValue in interface CellEditor
getTableCellEditorComponent
public Component getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column)
- Specified by:
getTableCellEditorComponent in interface TableCellEditor
Copyright © 2009-2010 JurisMarches. All Rights Reserved.