List of all members.
Detailed Description
Creates a text editor.
This is the base class for various text editors. Some events such as focus or changes are handled directly by this class. The editor can be retrieved using getTextComponent() which may differ from the component returned by this engine.
- Attributes
-
- Contents
Evaluated as String to set the contents of the editor.
- Result
Specified by the sub-class, but it is a text editor.
- Actions
- "editing", "validate", "click", "doubleClick" and ContextMenuEvent.
- Author:
- kma
Constructor & Destructor Documentation
Member Function Documentation
String metadone.client.grasyla2.swing.JTextEngine< T extends JComponent >.buildContents |
( |
| ) |
throws BadPreCondition [protected] |
Rebuilds the contents from the children expressions.
- Returns:
- The text
- Exceptions:
-
boolean metadone.client.grasyla2.swing.JTextEngine< T extends JComponent >.canActivateChild |
( |
GrasylaEngine |
ch | ) |
[protected] |
String metadone.client.grasyla2.swing.JTextEngine< T extends JComponent >.composeText |
( |
| ) |
[protected] |
Composes the text for the component from the children expressions.
The children and not rebuilt.
- Returns:
- The text
void metadone.client.grasyla2.swing.JTextEngine< T extends JComponent >.disposeInternal |
( |
| ) |
[protected] |
final Component<? extends T> metadone.client.grasyla2.swing.JTextEngine< T extends JComponent >.evaluateComponent |
( |
BootstrapGrasyla |
grasyla | ) |
throws BadPreCondition [protected] |
abstract Component<? extends T> metadone.client.grasyla2.swing.JTextEngine< T extends JComponent >.evaluateComponentCreate |
( |
BootstrapGrasyla |
grasyla | ) |
throws BadPreCondition [protected, pure virtual] |
abstract JTextComponent metadone.client.grasyla2.swing.JTextEngine< T extends JComponent >.getTextComponent |
( |
| ) |
[protected, pure virtual] |
void metadone.client.grasyla2.swing.JTextEngine< T extends JComponent >.notifyChildChanged |
( |
Engine |
child, |
|
|
ChildComponent |
comp |
|
) |
| [protected] |
void metadone.client.grasyla2.swing.JTextEngine< T extends JComponent >.setText |
( |
String |
text | ) |
[package] |
Sets the text in this text component.
- Parameters:
-
void metadone.client.grasyla2.swing.JTextEngine< T extends JComponent >.validateContents |
( |
Object |
source | ) |
[package] |
Validates the contents.
Produces a UserValueChangeEvent and then rebuilds the contents of this engine.
- Parameters:
-
Member Data Documentation
boolean metadone.client.grasyla2.swing.JTextEngine< T extends JComponent >.focused [private] |
The documentation for this class was generated from the following file: