edu.ustc.cs.compile.platform.util.ASTView.core
类 ASTViewFrame.PropertyCellEditor

java.lang.Object
  继承者 javax.swing.AbstractCellEditor
      继承者 edu.ustc.cs.compile.platform.util.ASTView.core.ASTViewFrame.PropertyCellEditor
所有已实现的接口:
java.io.Serializable, javax.swing.CellEditor, javax.swing.table.TableCellEditor
正在封闭类:
ASTViewFrame

private class ASTViewFrame.PropertyCellEditor
extends javax.swing.AbstractCellEditor
implements javax.swing.table.TableCellEditor

Provides a default cell editor to ASTViewFrame.astProperty.


字段摘要
private  org.eclipse.jdt.core.dom.ASTNode gotoASTNode
          The target ASTNode to which will be jumped when pressing the button.
private  javax.swing.JButton gotoButton
          A button with text "GO!"
 
从类 javax.swing.AbstractCellEditor 继承的字段
changeEvent, listenerList
 
构造函数摘要
private ASTViewFrame.PropertyCellEditor()
           
 
方法摘要
 java.lang.Object getCellEditorValue()
          Gets the ASTNode to which will be jumped when pressing the button
 java.awt.Component getTableCellEditorComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, int row, int column)
          Sets an initial value for the editor.
 
从类 javax.swing.AbstractCellEditor 继承的方法
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
从接口 javax.swing.CellEditor 继承的方法
addCellEditorListener, cancelCellEditing, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
 

字段详细信息

gotoButton

private javax.swing.JButton gotoButton
A button with text "GO!" displyed in the cell.


gotoASTNode

private org.eclipse.jdt.core.dom.ASTNode gotoASTNode
The target ASTNode to which will be jumped when pressing the button.

构造函数详细信息

ASTViewFrame.PropertyCellEditor

private ASTViewFrame.PropertyCellEditor()
方法详细信息

getTableCellEditorComponent

public java.awt.Component getTableCellEditorComponent(javax.swing.JTable table,
                                                      java.lang.Object value,
                                                      boolean isSelected,
                                                      int row,
                                                      int column)
Sets an initial value for the editor.

指定者:
接口 javax.swing.table.TableCellEditor 中的 getTableCellEditorComponent
参数:
table - the JTable that is asking the editor to edit; can be null
value - the value of the cell to be edited; should be an ASTNode
isSelected - true if the cell is to be rendered with highlighting
row - the row of the cell being edited
column - the column of the cell being edited
返回:
a button with text "GO!" if value is not null, or null otherwise.

getCellEditorValue

public java.lang.Object getCellEditorValue()
Gets the ASTNode to which will be jumped when pressing the button

指定者:
接口 javax.swing.CellEditor 中的 getCellEditorValue
返回:
the target ASTNode