jaxx.runtime.swing.editor.config
Class ConfigTableEditor

java.lang.Object
  extended by jaxx.runtime.swing.editor.config.ConfigTableEditor
All Implemented Interfaces:
CellEditor, TableCellEditor

public class ConfigTableEditor
extends Object
implements TableCellEditor

L'éditeur des valeurs des propriétés d'une configuration

Author:
chemit

Field Summary
protected  TableCellEditor delegate
           
protected  ConfigTableModel model
           
 
Constructor Summary
ConfigTableEditor(ConfigTableModel model)
           
 
Method Summary
 void addCellEditorListener(CellEditorListener l)
           
 void cancelCellEditing()
           
protected  TableCellEditor findDelegate(JTable table, OptionModel option)
           
 Object getCellEditorValue()
           
 Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
           
protected  boolean hasDelegate()
           
 boolean isCellEditable(EventObject anEvent)
           
 void removeCellEditorListener(CellEditorListener l)
           
 boolean shouldSelectCell(EventObject anEvent)
           
 boolean stopCellEditing()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

delegate

protected TableCellEditor delegate

model

protected ConfigTableModel model
Constructor Detail

ConfigTableEditor

public ConfigTableEditor(ConfigTableModel model)
Method Detail

getTableCellEditorComponent

public Component getTableCellEditorComponent(JTable table,
                                             Object value,
                                             boolean isSelected,
                                             int row,
                                             int column)
Specified by:
getTableCellEditorComponent in interface TableCellEditor

getCellEditorValue

public Object getCellEditorValue()
Specified by:
getCellEditorValue in interface CellEditor

isCellEditable

public boolean isCellEditable(EventObject anEvent)
Specified by:
isCellEditable in interface CellEditor

shouldSelectCell

public boolean shouldSelectCell(EventObject anEvent)
Specified by:
shouldSelectCell in interface CellEditor

stopCellEditing

public boolean stopCellEditing()
Specified by:
stopCellEditing in interface CellEditor

cancelCellEditing

public void cancelCellEditing()
Specified by:
cancelCellEditing in interface CellEditor

addCellEditorListener

public void addCellEditorListener(CellEditorListener l)
Specified by:
addCellEditorListener in interface CellEditor

removeCellEditorListener

public void removeCellEditorListener(CellEditorListener l)
Specified by:
removeCellEditorListener in interface CellEditor

findDelegate

protected TableCellEditor findDelegate(JTable table,
                                       OptionModel option)

hasDelegate

protected boolean hasDelegate()


Copyright © 2008-2010 CodeLutin. All Rights Reserved.