Overview
Defines the base class for all inline editors. An inline editor provides the user interface for viewing and editing of a value of a specific type within a Grid control.
Variable Summary
access | name | type | Can Read | Can Init | Can Write | Default Value | description |
---|---|---|---|---|---|---|---|
protected | behavior | InlineEditorBehavior | subclass | subclass | subclass |
The associated behavior. |
|
public | bounds | Bounds | ![]() | ![]() | ![]() |
A rectangle defining the position of the editor within the scene. |
|
public | item | Object | ![]() | ![]() | ![]() |
The object whose member value is being edited. |
|
public | member | String | ![]() | ![]() | ![]() |
The name of the member, which is being edited. |
|
protected | node | Node | subclass | subclass | subclass |
The node providing the editor's user interface. |
|
public | onEndEdit | function(:boolean):Void | ![]() | ![]() | ![]() |
Invoked when the editor is being closed. ![]() Invoked when the editor is being closed. In the default implementation this happens when the user clicks outside of the editor or when the endEdit method is called explicitly. |
|
public | onNextCell | function():Void | ![]() | ![]() | ![]() |
Invoke this method to close the editor and move to the next cell in the current grid row. ![]() Invoke this method to close the editor and move to the next cell in the current grid row. For example this method can be invoked in response to hitting the TAB key in a text editor. |
|
public | onNextRow | function():Void | ![]() | ![]() | ![]() |
Invoke this method to close the editor and move to the next row in the grid. ![]() Invoke this method to close the editor and move to the next row in the grid. For example this method can be invoked in response to hitting the DOWN key in a text editor. |
|
public | onPreviousCell | function():Void | ![]() | ![]() | ![]() |
Invoke this method to close the editor and move to the previous cell in the current grid row. ![]() Invoke this method to close the editor and move to the previous cell in the current grid row. For example this method can be invoked in response to hitting the SHIFT+TAB key in a text editor. |
|
public | onPreviousRow | function():Void | ![]() | ![]() | ![]() |
Invoke this method to close the editor and move to the previous row in the grid. ![]() Invoke this method to close the editor and move to the previous row in the grid. For example this method can be invoked in response to hitting the UP key in a text editor. |
|
public | scene | Scene | ![]() | ![]() | ![]() |
The scene where the editor will appear. |
Inherited Variables
Function Summary
- public endEdit(commit: Boolean) : Void
- public abstract newValue() : java.lang.Object
- public abstract newValueAsString() : java.lang.String
- public startEdit() : Void
-
Initiates an editing operation.
Initiates an editing operation. Calling this method adds node into the underlying scene.