pt.moredata.widgets.table
Class ComboBoxDelegate

java.lang.Object
  extended bypt.moredata.widgets.table.WidgetDelegate
      extended bypt.moredata.widgets.table.ComboBoxDelegate
All Implemented Interfaces:
java.io.Serializable

public class ComboBoxDelegate
extends WidgetDelegate

See Also:
Serialized Form

Field Summary
protected  javax.swing.event.ChangeEvent changeEvent
           
protected  int currentCol
           
protected  int currentRow
           
protected  java.lang.Object nValue
           
 
Fields inherited from class pt.moredata.widgets.table.WidgetDelegate
cellPropertiesEditor, cellPropertiesRenderer, editorComponent, validated
 
Constructor Summary
ComboBoxDelegate(BaseTable table)
           
ComboBoxDelegate(BaseTable table, CellProperties prop)
           
 
Method Summary
 java.lang.Object getCellEditorValue()
          Não implementado
 void prepareEditor(javax.swing.JTable table, java.lang.Object value, boolean isSelected, int row, int column)
          Preparação antes de executar o editor
 void prepareRenderer(javax.swing.JTable table, java.lang.Object value, boolean isSelected, boolean hasFocus, int row, int column)
          Preparação antes de devolver o renderer
 void setCellEditorProperties(CellProperties _properties)
          Sets the cellEditorProperties attribute of the Delegate object
 void setCellProperties(CellProperties _properties)
          Sets the cellProperties attribute of the Delegate object
 void setCellRendererProperties(CellProperties _properties)
          Sets the cellRendererProperties attribute of the Delegate object
 void setEditorValue(java.lang.Object value)
          Não implementado.
 void setRendererValue(java.lang.Object value)
          Não implementado.
 
Methods inherited from class pt.moredata.widgets.table.WidgetDelegate
addAfterEditListener, addCellChangeListener, addFocusListener, addKeyListener, addTableListener, afterCheckIt, cancelCellEditing, checkIt, getCellProperties, getCurrentColumn, getCurrentRow, getEditorComponent, getFirstTime, getFocusGained, getRendererComponent, getValidated, isCellEditable, removeAfterEditListener, removeCellChangeListener, removeFocusListener, removeKeyListener, removeTableListener, setCurrentColumn, setCurrentRow, setEditorComponent, setFirstTime, setFocusGained, setRendererComponent, setValidated, startCellEditing, stopCellEditing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

changeEvent

protected javax.swing.event.ChangeEvent changeEvent

currentCol

protected int currentCol

currentRow

protected int currentRow

nValue

protected java.lang.Object nValue
Constructor Detail

ComboBoxDelegate

public ComboBoxDelegate(BaseTable table)

ComboBoxDelegate

public ComboBoxDelegate(BaseTable table,
                        CellProperties prop)
Method Detail

setCellProperties

public void setCellProperties(CellProperties _properties)
Description copied from class: WidgetDelegate
Sets the cellProperties attribute of the Delegate object

Overrides:
setCellProperties in class WidgetDelegate
Parameters:
_properties - The new cellProperties value

setCellRendererProperties

public void setCellRendererProperties(CellProperties _properties)
Description copied from class: WidgetDelegate
Sets the cellRendererProperties attribute of the Delegate object

Overrides:
setCellRendererProperties in class WidgetDelegate
Parameters:
_properties - The new cellRendererProperties value

setCellEditorProperties

public void setCellEditorProperties(CellProperties _properties)
Description copied from class: WidgetDelegate
Sets the cellEditorProperties attribute of the Delegate object

Overrides:
setCellEditorProperties in class WidgetDelegate
Parameters:
_properties - The new cellEditorProperties value

prepareEditor

public void prepareEditor(javax.swing.JTable table,
                          java.lang.Object value,
                          boolean isSelected,
                          int row,
                          int column)
Description copied from class: WidgetDelegate
Preparação antes de executar o editor

Overrides:
prepareEditor in class WidgetDelegate
Parameters:
table - Description of the Parameter
value - Description of the Parameter
isSelected - Description of the Parameter
row - Description of the Parameter
column - Description of the Parameter

prepareRenderer

public void prepareRenderer(javax.swing.JTable table,
                            java.lang.Object value,
                            boolean isSelected,
                            boolean hasFocus,
                            int row,
                            int column)
Description copied from class: WidgetDelegate
Preparação antes de devolver o renderer

Overrides:
prepareRenderer in class WidgetDelegate
Parameters:
table - Description of the Parameter
value - Description of the Parameter
isSelected - Description of the Parameter
hasFocus - Description of the Parameter
row - Description of the Parameter
column - Description of the Parameter

setRendererValue

public void setRendererValue(java.lang.Object value)
Description copied from class: WidgetDelegate
Não implementado.

Specified by:
setRendererValue in class WidgetDelegate
Parameters:
value - The new rendererValue value

setEditorValue

public void setEditorValue(java.lang.Object value)
Description copied from class: WidgetDelegate
Não implementado.

Specified by:
setEditorValue in class WidgetDelegate
Parameters:
value - The new editorValue value

getCellEditorValue

public java.lang.Object getCellEditorValue()
Description copied from class: WidgetDelegate
Não implementado

Specified by:
getCellEditorValue in class WidgetDelegate
Returns:
The cellEditorValue value