Package mekhq.gui.model
Class PartsInUseTableModel.ButtonColumn
java.lang.Object
javax.swing.AbstractCellEditor
mekhq.gui.model.PartsInUseTableModel.ButtonColumn
- All Implemented Interfaces:
ActionListener
,MouseListener
,Serializable
,EventListener
,CellEditor
,TableCellEditor
,TableCellRenderer
- Enclosing class:
- PartsInUseTableModel
public static class PartsInUseTableModel.ButtonColumn
extends AbstractCellEditor
implements TableCellRenderer, TableCellEditor, ActionListener, MouseListener
- See Also:
-
Field Summary
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
getTableCellEditorComponent
(JTable table, Object value, boolean isSelected, int row, int column) getTableCellRendererComponent
(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) void
void
void
void
void
void
setEnabled
(boolean enabled) void
setFocusBorder
(Border focusBorder) 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 Details
-
ButtonColumn
-
-
Method Details
-
getFocusBorder
-
setFocusBorder
-
setEnabled
public void setEnabled(boolean enabled) -
getCellEditorValue
- Specified by:
getCellEditorValue
in interfaceCellEditor
-
mousePressed
- Specified by:
mousePressed
in interfaceMouseListener
-
mouseReleased
- Specified by:
mouseReleased
in interfaceMouseListener
-
mouseClicked
- Specified by:
mouseClicked
in interfaceMouseListener
-
mouseEntered
- Specified by:
mouseEntered
in interfaceMouseListener
-
mouseExited
- Specified by:
mouseExited
in interfaceMouseListener
-
actionPerformed
- Specified by:
actionPerformed
in interfaceActionListener
-
getTableCellEditorComponent
public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column) - Specified by:
getTableCellEditorComponent
in interfaceTableCellEditor
-
getTableCellRendererComponent
public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) - Specified by:
getTableCellRendererComponent
in interfaceTableCellRenderer
-