|
Revision 3309M | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.AbstractCellEditor
org.pathvisio.gui.swing.propertypanel.CommentsHandler
public class CommentsHandler
This class knows how to edit comments.
| Field Summary |
|---|
| Fields inherited from class javax.swing.AbstractCellEditor |
|---|
changeEvent, listenerList |
| Constructor Summary | |
|---|---|
CommentsHandler()
|
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
|
java.lang.Object |
getCellEditorValue()
|
javax.swing.table.TableCellRenderer |
getLabelRenderer()
Gets the renderer used to display the label. |
java.awt.Component |
getTableCellEditorComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
int row,
int column)
|
PropertyType |
getType()
The PropertyType this handler is responsible for. |
javax.swing.table.TableCellEditor |
getValueEditor()
Gets the editor used to edit the value. |
javax.swing.table.TableCellRenderer |
getValueRenderer()
Gets the renderer used to display the value. |
void |
updateEditor(SwingEngine aSwingEngine,
java.util.Collection<PathwayElement> elements,
Pathway pathway,
PropertyView propHandler)
Update the editor in preparation for use. |
| 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 Detail |
|---|
public CommentsHandler()
| Method Detail |
|---|
public PropertyType getType()
TypeHandlerPropertyType this handler is responsible for.
getType in interface TypeHandlerpublic javax.swing.table.TableCellRenderer getLabelRenderer()
TypeHandler
getLabelRenderer in interface TypeHandlerpublic javax.swing.table.TableCellRenderer getValueRenderer()
TypeHandler
getValueRenderer in interface TypeHandlerpublic javax.swing.table.TableCellEditor getValueEditor()
TypeHandler
getValueEditor in interface TypeHandler
public void updateEditor(SwingEngine aSwingEngine,
java.util.Collection<PathwayElement> elements,
Pathway pathway,
PropertyView propHandler)
ContextSensitiveEditor
updateEditor in interface ContextSensitiveEditorpathway - the current pathwaypropHandler - the PropertyHandler containing the elements whose properties are being editedpublic java.lang.Object getCellEditorValue()
getCellEditorValue in interface javax.swing.CellEditor
public java.awt.Component getTableCellEditorComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
int row,
int column)
getTableCellEditorComponent in interface javax.swing.table.TableCellEditorpublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListener
|
Generated September 9 2010 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||