Class PortComboBoxWithButtonEditor<E extends org.bidib.wizard.model.status.BidibStatus>
java.lang.Object
javax.swing.AbstractCellEditor
org.bidib.wizard.mvc.main.view.table.PortComboBoxWithButtonEditor<E>
- All Implemented Interfaces:
Serializable,CellEditor,TableCellEditor
public class PortComboBoxWithButtonEditor<E extends org.bidib.wizard.model.status.BidibStatus>
extends AbstractCellEditor
implements TableCellEditor
- See Also:
-
Field Summary
FieldsFields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList -
Constructor Summary
ConstructorsConstructorDescriptionPortComboBoxWithButtonEditor(E[] items, String buttonText, Class<?> resourceClazz) PortComboBoxWithButtonEditor(E[] items, String buttonText, String resourceClazz) -
Method Summary
Modifier and TypeMethodDescriptionvoidgetTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column) protected voidsetSelectedValue(E status) protected voidsetSelectedValue(org.bidib.wizard.model.ports.Port<? extends org.bidib.wizard.model.status.BidibStatus> port) Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditingMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.swing.CellEditor
addCellEditorListener, cancelCellEditing, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
-
Field Details
-
comboBox
-
-
Constructor Details
-
PortComboBoxWithButtonEditor
-
PortComboBoxWithButtonEditor
-
-
Method Details
-
addButtonListener
-
getCellEditorValue
- Specified by:
getCellEditorValuein interfaceCellEditor
-
getTableCellEditorComponent
public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column) - Specified by:
getTableCellEditorComponentin interfaceTableCellEditor
-
setSelectedValue
protected void setSelectedValue(org.bidib.wizard.model.ports.Port<? extends org.bidib.wizard.model.status.BidibStatus> port) -
setSelectedValue
-