Summary: Methods | Inherited Methods | [Expand All]
public class

# KeyStrokeActionResult

extends Object
implements AutoCloseable

java.lang.Object
↳ | com.pdftron.pdf.KeyStrokeActionResult

## Class Overview

A class that contains information from a KeyStrokeAction

## Summary

Public Methods
void | close() Frees the native memory of the object.
void | destroy()
String | getText() The new text to be added.
boolean | isValid() Indicates whether the added text passed validation.

[Expand] Inherited Methods
From class java.lang.Object
boolean | equals(Object arg0)
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)
final void | wait()
From interface java.lang.AutoCloseable
abstract void | close()

## Public Methods

#### public void close ()

Frees the native memory of the object. This can be explicity called to control the deallocation of native memory and avoid situations where the garbage collector does not free the object in a timely manner.

##### Throws

PDFNetException |

#### public void destroy ()

##### Throws

PDFNetException |

#### public String getText ()

The new text to be added. For example, getText() could return an upper case version of the text entered by user.

##### Returns

- added text.

##### Throws

PDFNetException |

#### public boolean isValid ()

Indicates whether the added text passed validation. returns true if it is, otherwise returns false

##### Returns

- true if passed validation, otherwise false

##### Throws

PDFNetException |