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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected JComboBox<E>comboBox-
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
-
-
Constructor Summary
Constructors Constructor Description PortComboBoxWithButtonEditor(E[] items, String buttonText, Class<?> resourceClazz)PortComboBoxWithButtonEditor(E[] items, String buttonText, String resourceClazz)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddButtonListener(ButtonListener l)ObjectgetCellEditorValue()ComponentgetTableCellEditorComponent(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, 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
-
-
-
-
Method Detail
-
addButtonListener
public void addButtonListener(ButtonListener l)
-
getCellEditorValue
public Object 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
protected void setSelectedValue(E status)
-
-