com.openindex.openestate.tool.utils.engine.ui.swing.firefoxstyle
Class PluginCellRenderer

java.lang.Object
  extended by javax.swing.AbstractCellEditor
      extended by com.openindex.openestate.tool.utils.engine.ui.swing.firefoxstyle.PluginCellRenderer
All Implemented Interfaces:
Serializable, CellEditor, TableCellEditor, TableCellRenderer

public class PluginCellRenderer
extends AbstractCellEditor
implements TableCellRenderer, TableCellEditor

PluginCellRenderer.
$Id: PluginCellRenderer.java 856 2011-04-29 22:30:40Z andy $

Author:
Christophe Le Besnerais, Andreas Rudolph
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
 
Constructor Summary
PluginCellRenderer()
           
 
Method Summary
 Object getCellEditorValue()
           
 Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
           
 Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)
           
protected static BufferedImage getThumbnail(BufferedImage image, int size)
           
 boolean isCellEditable(EventObject e)
           
 
Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, 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, removeCellEditorListener, shouldSelectCell, stopCellEditing
 

Constructor Detail

PluginCellRenderer

public PluginCellRenderer()
Method Detail

getTableCellRendererComponent

public Component getTableCellRendererComponent(JTable table,
                                               Object value,
                                               boolean isSelected,
                                               boolean hasFocus,
                                               int row,
                                               int column)
Specified by:
getTableCellRendererComponent in interface TableCellRenderer

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 e)
Specified by:
isCellEditable in interface CellEditor
Overrides:
isCellEditable in class AbstractCellEditor

getThumbnail

protected static BufferedImage getThumbnail(BufferedImage image,
                                            int size)


Copyright © 2012 OpenEstate. All Rights Reserved.