Package com.explodingpixels.macwidgets
Class ITunesRatingTableCellEditor
java.lang.Object
javax.swing.AbstractCellEditor
com.explodingpixels.macwidgets.ITunesRatingTableCellEditor
- All Implemented Interfaces:
Serializable
,CellEditor
,TableCellEditor
This table cell editor allows users to a adjust a Rating dragging a mouse
over the editor area.
- See Also:
-
Field Summary
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTableCellEditorComponent
(JTable table, Object value, boolean isSelected, int row, int column) boolean
boolean
shouldSelectCell
(EventObject anEvent) Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListener, 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, removeCellEditorListener, stopCellEditing
-
Constructor Details
-
ITunesRatingTableCellEditor
public ITunesRatingTableCellEditor()
-
-
Method Details
-
getCellEditorValue
- Specified by:
getCellEditorValue
in interfaceCellEditor
-
getTableCellEditorComponent
public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column) - Specified by:
getTableCellEditorComponent
in interfaceTableCellEditor
-
isCellEditable
- Specified by:
isCellEditable
in interfaceCellEditor
- Overrides:
isCellEditable
in classAbstractCellEditor
-
shouldSelectCell
- Specified by:
shouldSelectCell
in interfaceCellEditor
- Overrides:
shouldSelectCell
in classAbstractCellEditor
-