de.jaret.examples.table.renderer
Class RiskCellEditor
java.lang.Object
de.jaret.util.ui.table.editor.CellEditorBase
de.jaret.examples.table.renderer.RiskCellEditor
- All Implemented Interfaces:
- de.jaret.util.ui.table.editor.ICellEditor
public class RiskCellEditor
- extends de.jaret.util.ui.table.editor.CellEditorBase
- implements de.jaret.util.ui.table.editor.ICellEditor
CellEditor for a risk. Does only process clicks and key strokes. Keybindings are
- 'p': roll risk probability
- 's': roll risk severity
- Version:
- $Id: RiskCellEditor.java 179 2007-01-07 17:37:50Z olk $
- Author:
- Peter Kliem
| Fields inherited from class de.jaret.util.ui.table.editor.CellEditorBase |
_column, _row, _table |
|
Method Summary |
void |
dispose()
|
org.eclipse.swt.widgets.Control |
getEditorControl(de.jaret.util.ui.table.JaretTable table,
de.jaret.util.ui.table.model.IRow row,
de.jaret.util.ui.table.model.IColumn column,
char typedKey)
|
boolean |
handleClick(de.jaret.util.ui.table.JaretTable table,
de.jaret.util.ui.table.model.IRow row,
de.jaret.util.ui.table.model.IColumn column,
org.eclipse.swt.graphics.Rectangle drawingArea,
int x,
int y)
|
void |
stopEditing(boolean storeInput)
|
| Methods inherited from class de.jaret.util.ui.table.editor.CellEditorBase |
getPreferredHeight |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface de.jaret.util.ui.table.editor.ICellEditor |
getPreferredHeight |
_singleClick
protected boolean _singleClick
RiskCellEditor
public RiskCellEditor()
RiskCellEditor
public RiskCellEditor(boolean singleClick)
getEditorControl
public org.eclipse.swt.widgets.Control getEditorControl(de.jaret.util.ui.table.JaretTable table,
de.jaret.util.ui.table.model.IRow row,
de.jaret.util.ui.table.model.IColumn column,
char typedKey)
- Specified by:
getEditorControl in interface de.jaret.util.ui.table.editor.ICellEditor- Overrides:
getEditorControl in class de.jaret.util.ui.table.editor.CellEditorBase
stopEditing
public void stopEditing(boolean storeInput)
-
- Specified by:
stopEditing in interface de.jaret.util.ui.table.editor.ICellEditor
handleClick
public boolean handleClick(de.jaret.util.ui.table.JaretTable table,
de.jaret.util.ui.table.model.IRow row,
de.jaret.util.ui.table.model.IColumn column,
org.eclipse.swt.graphics.Rectangle drawingArea,
int x,
int y)
- Specified by:
handleClick in interface de.jaret.util.ui.table.editor.ICellEditor- Overrides:
handleClick in class de.jaret.util.ui.table.editor.CellEditorBase
dispose
public void dispose()
-
- Specified by:
dispose in interface de.jaret.util.ui.table.editor.ICellEditor- Overrides:
dispose in class de.jaret.util.ui.table.editor.CellEditorBase
Copyright © 2012. All Rights Reserved.