com.rapidminer.gui.properties.celleditors.value
Class InnerOperatorValueCellEditor

java.lang.Object
  extended by javax.swing.AbstractCellEditor
      extended by com.rapidminer.gui.properties.celleditors.value.InnerOperatorValueCellEditor
All Implemented Interfaces:
PropertyValueCellEditor, java.io.Serializable, javax.swing.CellEditor, javax.swing.table.TableCellEditor, javax.swing.table.TableCellRenderer

public class InnerOperatorValueCellEditor
extends javax.swing.AbstractCellEditor
implements PropertyValueCellEditor

Parameter editor for ParameterTypeInnerOperator.

Author:
Ingo Mierswa
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
 
Constructor Summary
InnerOperatorValueCellEditor(ParameterTypeInnerOperator type)
           
 
Method Summary
 java.lang.Object getCellEditorValue()
           
 java.awt.Component getTableCellEditorComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, int row, int col)
           
 java.awt.Component getTableCellRendererComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, boolean hasFocus, int row, int column)
           
 boolean rendersLabel()
          Indicates whether this editor renders the parameter type key and does not need to be rendered by the PropertyPanel.
 void setOperator(Operator parentOperator)
          This method can be implemented to perform operator specific settings.
 void setValue(java.lang.String valueName)
           
 boolean useEditorAsRenderer()
          Returns true if this editor should also be used as renderer.
 
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
 

Constructor Detail

InnerOperatorValueCellEditor

public InnerOperatorValueCellEditor(ParameterTypeInnerOperator type)
Method Detail

setOperator

public void setOperator(Operator parentOperator)
Description copied from interface: PropertyValueCellEditor
This method can be implemented to perform operator specific settings.

Specified by:
setOperator in interface PropertyValueCellEditor

getCellEditorValue

public java.lang.Object getCellEditorValue()
Specified by:
getCellEditorValue in interface javax.swing.CellEditor

setValue

public void setValue(java.lang.String valueName)

getTableCellEditorComponent

public java.awt.Component getTableCellEditorComponent(javax.swing.JTable table,
                                                      java.lang.Object value,
                                                      boolean isSelected,
                                                      int row,
                                                      int col)
Specified by:
getTableCellEditorComponent in interface javax.swing.table.TableCellEditor

getTableCellRendererComponent

public java.awt.Component getTableCellRendererComponent(javax.swing.JTable table,
                                                        java.lang.Object value,
                                                        boolean isSelected,
                                                        boolean hasFocus,
                                                        int row,
                                                        int column)
Specified by:
getTableCellRendererComponent in interface javax.swing.table.TableCellRenderer

useEditorAsRenderer

public boolean useEditorAsRenderer()
Description copied from interface: PropertyValueCellEditor
Returns true if this editor should also be used as renderer. Should not be the case for components with frames around the component like JTextFields.

Specified by:
useEditorAsRenderer in interface PropertyValueCellEditor

rendersLabel

public boolean rendersLabel()
Description copied from interface: PropertyValueCellEditor
Indicates whether this editor renders the parameter type key and does not need to be rendered by the PropertyPanel.

Specified by:
rendersLabel in interface PropertyValueCellEditor


Copyright © 2001-2009 by Rapid-I