fr.orsay.lri.varna.components
Class BaseSpecialColorEditor

java.lang.Object
  extended by javax.swing.AbstractCellEditor
      extended by fr.orsay.lri.varna.components.BaseSpecialColorEditor
All Implemented Interfaces:
Serializable, CellEditor, TableCellEditor

public class BaseSpecialColorEditor
extends AbstractCellEditor
implements TableCellEditor

See Also:
Serialized Form

Field Summary
private  fr.orsay.lri.varna.controlers.ControleurBaseSpecialColorEditor _controleurSpecialColorEditor
           
private  VueBases _vueBases
           
private  JButton button
           
private  JColorChooser colorChooser
           
private  Color currentColor
           
private  JDialog dialog
           
protected static String EDIT
           
private static long serialVersionUID
           
 
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
 
Constructor Summary
BaseSpecialColorEditor(VueBases vueBases)
           
 
Method Summary
 void callFireEditingStopped()
           
 fr.orsay.lri.varna.controlers.ControleurBaseSpecialColorEditor get_controleurSpecialColorEditor()
           
 VueBases get_vueBases()
           
 JButton getButton()
           
 Object getCellEditorValue()
           
 JColorChooser getColorChooser()
           
 Color getCurrentColor()
           
 JDialog getDialog()
           
static String getEDIT()
           
static long getSerialVersionUID()
           
 Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
           
 void setCurrentColor(Color currentColor)
           
 
Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.swing.CellEditor
addCellEditorListener, cancelCellEditing, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

currentColor

private Color currentColor

button

private JButton button

colorChooser

private JColorChooser colorChooser

dialog

private JDialog dialog

EDIT

protected static final String EDIT
See Also:
Constant Field Values

_vueBases

private VueBases _vueBases

_controleurSpecialColorEditor

private fr.orsay.lri.varna.controlers.ControleurBaseSpecialColorEditor _controleurSpecialColorEditor
Constructor Detail

BaseSpecialColorEditor

public BaseSpecialColorEditor(VueBases vueBases)
Method Detail

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

getSerialVersionUID

public static long getSerialVersionUID()

getCurrentColor

public Color getCurrentColor()

getButton

public JButton getButton()

getColorChooser

public JColorChooser getColorChooser()

getDialog

public JDialog getDialog()

getEDIT

public static String getEDIT()

get_vueBases

public VueBases get_vueBases()

get_controleurSpecialColorEditor

public fr.orsay.lri.varna.controlers.ControleurBaseSpecialColorEditor get_controleurSpecialColorEditor()

setCurrentColor

public void setCurrentColor(Color currentColor)

callFireEditingStopped

public void callFireEditingStopped()