org.lyra.Widgets
Class RatingCellEditor
java.lang.Object
javax.swing.AbstractCellEditor
org.lyra.Widgets.RatingCellEditor
- All Implemented Interfaces:
- java.io.Serializable, javax.swing.CellEditor, javax.swing.table.TableCellEditor
public class RatingCellEditor
- extends javax.swing.AbstractCellEditor
- implements javax.swing.table.TableCellEditor
Generates a user interface necessary to modify the rating section of the
song listing. Will display a series of stars that when clicked will
set the rating to a specific value.
- Since:
- 1.0.1
- Version:
- 1.0.5, %Revision, 174%, %LastChangedDate, 27/10/12 3:33PM%
- Author:
- Martin Foster
- See Also:
- Serialized Form
Fields inherited from class javax.swing.AbstractCellEditor |
changeEvent, listenerList |
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 |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
myRating
private RatingBar myRating
RatingCellEditor
public RatingCellEditor()
getCellEditorValue
public java.lang.Object getCellEditorValue()
- Specified by:
getCellEditorValue
in interface javax.swing.CellEditor
getTableCellEditorComponent
public java.awt.Component getTableCellEditorComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
int row,
int column)
- Specified by:
getTableCellEditorComponent
in interface javax.swing.table.TableCellEditor