StringEditModel interface

Interface given to a string edit extension object so it can call back into the host.

Syntax

public interface StringEditModel implements StringDisplayModel

Implemented interfaces

Members

All members of StringEditModel, including inherited members.

Methods
Modifier and Type Method Description
public int getMaximumLength() This retrieves the maximum number of characters that the edit text field will allow upon field validation.
public int getMinimumLength() This retrieves the minimum number of characters that the edit text field will allow upon field validation.
public boolean isPasswordInput() This is used to determine if the edit field should obscure its input, as would be the case if it were being used to retrieve a password.
public ProcessInputReturn processInput(String) Processes the input of the field.
Inherited members from StringDisplayModel
Modifier and Type Member Description
public String getValue() Returns the current value of the field.
public boolean isCarriageReturnAllowed() Returns whether the field allows carriage returns.
public boolean isWordWrapAllowed() Returns whether the field allows word wrap.
Inherited members from FieldModel
Modifier and Type Member Description
public ActionResult executeAgentryAction(String) Asks Agentry to execute the action specified by name.
public ActionResult executeHyperlinkAction() Asks Agentry to run the field's hyperlink action.
public ActionEnableType getAgentryActionEnableState(String) Asks Agentry what the current enable state is for the action specified by name.
public String getAgentryString(String) Asks Agentry for a specific string value.
public String getLabel() Returns the label text for the field.
public boolean isAutosizeSupported() Checks whether the the field is allowed to automatically decide its own height.
public boolean isEnabled() Returns whether the field is currently enabled based on current rule evaluation.
public boolean isHidden() Returns whether or not the field is currently hidden based on current rule evaluations.
public boolean isHyperlinkEnabled() Returns whether or not the label hyperlink action is enabled.
public void launchActivity(Intent, int) If the extension needs to launch an new activity, it has to call through this method to do it.
public void requestLayoutHeight(int) This is called by a field's UI extension to tell the model's layout manager that the field needs to have a specific pixel height.