Class DataStoreLayerWhereEditor
- java.lang.Object
-
- javax.swing.AbstractCellEditor
-
- com.vividsolutions.jump.workbench.ui.plugin.datastore.DataStoreLayerWhereEditor
-
- All Implemented Interfaces:
ActionListener,Serializable,EventListener,CellEditor,TableCellEditor
public class DataStoreLayerWhereEditor extends AbstractCellEditor implements TableCellEditor, ActionListener
A resizable textArea to edit layers WHERE clause. From Netbeans Outline examples.- Author:
- nicolas Ribot
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected intclickCountToStart-
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactionPerformed(ActionEvent ae)ObjectgetCellEditorValue()intgetClickCountToStart()ComponentgetTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)booleanisCellEditable(EventObject e)voidsetClickCountToStart(int clickCountToStart)-
Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, 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, removeCellEditorListener, shouldSelectCell, stopCellEditing
-
-
-
-
Method Detail
-
getClickCountToStart
public int getClickCountToStart()
-
setClickCountToStart
public void setClickCountToStart(int clickCountToStart)
-
isCellEditable
public boolean isCellEditable(EventObject e)
- Specified by:
isCellEditablein interfaceCellEditor- Overrides:
isCellEditablein classAbstractCellEditor
-
actionPerformed
public void actionPerformed(ActionEvent ae)
- Specified by:
actionPerformedin interfaceActionListener
-
getTableCellEditorComponent
public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
- Specified by:
getTableCellEditorComponentin interfaceTableCellEditor
-
getCellEditorValue
public Object getCellEditorValue()
- Specified by:
getCellEditorValuein interfaceCellEditor
-
-