EmbeddedImageDisplayModel interface

Interface given to a embedded image display extension object so it can call back into the host.

Syntax

public interface EmbeddedImageDisplayModel implements FieldModel

Implemented interfaces

Members

All members of EmbeddedImageDisplayModel, including inherited members.

Methods
Modifier and Type Method Description
public long getColumnCount() Retrieves from the specified number of columns in the clickable image grid.
public MaskColor getHighlightColor() Retrieves the highlight selected color to use for showing an image cell as selected.
public OpenUIImage getImage() Retrieves the OpenUIImage.
public ImagePosition getImagePosition() Retrieves the image position.
public ImagePresentation getImagePresentation() Retrieves the image presentation (scaling mode).
public long getRowCount() Retrieves from the specified number of rows in the clickable image grid.
public boolean isImageCellSelected(long, long) Retrieves if the specified cell is selected.
public void setImageCellSelected(long, long) Called to inform Agentry that an image cell has been clicked.
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.

Usage

Depending on the editor settings, the image can be split into multiple cells. Cells are identified by x- and y-coordinates, with the origin (0, 0) being at the top-left.