DurationEditModel interface

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

Syntax

public interface DurationEditModel extends DurationDisplayModel

Members

All members of DurationEditModel, including inherited members.

Methods
Modifier and Type Method Description
public double getMaximumFractionalHour() Returns the maximum value allowed.
public int getMaximumValue() Returns the maximum value allowed.
public double getMinimumFractionalHour() Returns the minimum value that is enforced.
public int getMinimumValue() Returns the minimum value that is enforced.
public ProcessInputReturn processDecimalInput(double) Processes the double input.
public ProcessInputReturn processInput(int) Processes the integer input.
Inherited members from DurationDisplayModel
Modifier and Type Member Description
public DurationDisplayFormat getDurationDisplayFormat() Returns the display format specified for the duration.
public double getFractionalHourValue() Returns the current value for the duration in decimal hour.
public int getValue() Returns the current value for the duration in seconds.
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.