|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.cosylab.vdct.inspector.InspectorCellEditor
public class InspectorCellEditor
Nested Class Summary | |
---|---|
protected class |
InspectorCellEditor.EditorDelegate
|
Field Summary | |
---|---|
protected javax.swing.event.ChangeEvent |
changeEvent
|
protected int |
clickCountToStart
|
protected InspectorCellEditor.EditorDelegate |
comboDelegate
|
protected InspectorCellEditor.EditorDelegate |
delegate
|
protected javax.swing.JComponent |
editorComponent
|
protected InspectorCellEditor.EditorDelegate |
emptyDelegate
|
protected InspectorCellEditor.EditorDelegate |
formattedTextfieldDelegate
|
protected HelpDisplayer |
helpDisplayer
|
protected javax.swing.JComboBox |
intelliComboBox
|
protected boolean |
intelliEditor
|
protected javax.swing.JTextField |
intelliFormattedTextField
|
protected javax.swing.JTextField |
intelliTextField
|
protected javax.swing.event.EventListenerList |
listenerList
Event listeners |
protected java.util.regex.Pattern |
pattern
|
protected InspectableProperty |
property
|
protected PropertyTableModel |
tableModel
|
protected InspectorCellEditor.EditorDelegate |
textfieldDelegate
|
Constructor Summary | |
---|---|
InspectorCellEditor(javax.swing.JCheckBox checkBox)
Constructs a InspectorCellEditor object that uses a check box. |
|
InspectorCellEditor(javax.swing.JComboBox comboBox)
Constructs a InspectorCellEditor object that uses a combo box. |
|
InspectorCellEditor(javax.swing.JTextField textField)
Constructs a InspectorCellEditor that uses a text field. |
|
InspectorCellEditor(PropertyTableModel tableModel,
HelpDisplayer helpDisplayer)
Insert the method's description here. |
Method Summary | |
---|---|
void |
addCellEditorListener(javax.swing.event.CellEditorListener l)
Constructs a InspectorCellEditor that uses a text field. |
void |
cancelCellEditing()
|
protected void |
fireEditingCanceled()
|
protected void |
fireEditingStopped()
|
java.lang.Object |
getCellEditorValue()
|
int |
getClickCountToStart()
ClickCountToStart controls the number of clicks required to start editing. |
java.awt.Component |
getComponent()
Returns the a reference to the editor component. |
HelpDisplayer |
getHelpDisplayer()
|
java.awt.Component |
getTableCellEditorComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
int row,
int column)
|
java.awt.Component |
getTreeCellEditorComponent(javax.swing.JTree tree,
java.lang.Object value,
boolean isSelected,
boolean expanded,
boolean leaf,
int row)
|
boolean |
isCellEditable(java.util.EventObject anEvent)
|
void |
removeCellEditorListener(javax.swing.event.CellEditorListener l)
|
void |
setClickCountToStart(int count)
Specifies the number of clicks needed to start editing. |
boolean |
shouldSelectCell(java.util.EventObject anEvent)
|
boolean |
stopCellEditing()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected javax.swing.event.EventListenerList listenerList
protected javax.swing.event.ChangeEvent changeEvent
protected boolean intelliEditor
protected PropertyTableModel tableModel
protected javax.swing.JComboBox intelliComboBox
protected InspectorCellEditor.EditorDelegate comboDelegate
protected javax.swing.JTextField intelliTextField
protected InspectorCellEditor.EditorDelegate textfieldDelegate
protected javax.swing.JTextField intelliFormattedTextField
protected InspectorCellEditor.EditorDelegate formattedTextfieldDelegate
protected java.util.regex.Pattern pattern
protected InspectableProperty property
protected javax.swing.JComponent editorComponent
protected InspectorCellEditor.EditorDelegate delegate
protected int clickCountToStart
protected InspectorCellEditor.EditorDelegate emptyDelegate
protected HelpDisplayer helpDisplayer
Constructor Detail |
---|
public InspectorCellEditor(PropertyTableModel tableModel, HelpDisplayer helpDisplayer)
public InspectorCellEditor(javax.swing.JCheckBox checkBox)
checkBox
- javax.swing.JCheckBoxpublic InspectorCellEditor(javax.swing.JComboBox comboBox)
comboBox
- javax.swing.JComboBoxpublic InspectorCellEditor(javax.swing.JTextField textField)
textField
- javax.swing.JTextFieldMethod Detail |
---|
public void addCellEditorListener(javax.swing.event.CellEditorListener l)
addCellEditorListener
in interface javax.swing.CellEditor
textField
- javax.swing.JTextFieldpublic void cancelCellEditing()
cancelCellEditing
in interface javax.swing.CellEditor
protected void fireEditingCanceled()
protected void fireEditingStopped()
public java.lang.Object getCellEditorValue()
getCellEditorValue
in interface javax.swing.CellEditor
public int getClickCountToStart()
public java.awt.Component getComponent()
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.TableCellEditor
public java.awt.Component getTreeCellEditorComponent(javax.swing.JTree tree, java.lang.Object value, boolean isSelected, boolean expanded, boolean leaf, int row)
getTreeCellEditorComponent
in interface javax.swing.tree.TreeCellEditor
public boolean isCellEditable(java.util.EventObject anEvent)
isCellEditable
in interface javax.swing.CellEditor
public void removeCellEditorListener(javax.swing.event.CellEditorListener l)
removeCellEditorListener
in interface javax.swing.CellEditor
public void setClickCountToStart(int count)
count
- an int specifying the number of clicks needed to start editinggetClickCountToStart()
public boolean shouldSelectCell(java.util.EventObject anEvent)
shouldSelectCell
in interface javax.swing.CellEditor
public boolean stopCellEditing()
stopCellEditing
in interface javax.swing.CellEditor
public HelpDisplayer getHelpDisplayer()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |