|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.kupzog.ktable.KTableCellEditor
de.kupzog.ktable.editors.KTableCellEditorText2
public class KTableCellEditorText2
A simple cell editor that simply creates a text widget that allows the user to type in one line of text.
This class is very similar to KTableCellEditorText
, but
allows the navigation within the text widget using ARROW_LEFT and ARROW_RIGHT
keys.
KTableCellEditorText
Field Summary |
---|
Fields inherited from class de.kupzog.ktable.KTableCellEditor |
---|
DOUBLECLICK, KEY_ANY, KEY_RETURN_AND_SPACE, SINGLECLICK |
Constructor Summary | |
---|---|
KTableCellEditorText2()
|
Method Summary | |
---|---|
void |
close(boolean save)
Deactivates the editor. |
void |
open(KTable table,
int col,
int row,
org.eclipse.swt.graphics.Rectangle rect)
Activates the editor at the given position. |
void |
setBounds(org.eclipse.swt.graphics.Rectangle rect)
Sets the editor's position and size |
void |
setContent(java.lang.Object content)
Allows that external classes can set the content of the underlying |
Methods inherited from class de.kupzog.ktable.KTableCellEditor |
---|
dispose, getActivationSignals, getBounds, getControl, isApplicable, isFocused, setToolTipText |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KTableCellEditorText2()
Method Detail |
---|
public void open(KTable table, int col, int row, org.eclipse.swt.graphics.Rectangle rect)
KTableCellEditor
open
in class KTableCellEditor
public void close(boolean save)
KTableCellEditor
close
in class KTableCellEditor
save
- If true, the content is saved to the underlying table.public void setBounds(org.eclipse.swt.graphics.Rectangle rect)
KTableCellEditor
setBounds
in class KTableCellEditor
public void setContent(java.lang.Object content)
KTableCellEditor
setContent
in class KTableCellEditor
content
- The new content to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |