@PublicApi
public interface FieldScreenRenderer
A FieldScreenRenderer glues a FieldLayout (which governs requireability and hideability) with a FieldScreen (which governs tabs, and ordering within tabs, and screen-level hideability). For example, it is possible for a field to be hidden on this screen, but still visible on other screens.
FieldScreenRenderers are usually constructed with a user, and a particular operation.
List<FieldScreenRenderTab> getFieldScreenRenderTabs()
FieldScreenRenderTab objects which are visible and contain at least one
FieldScreenRenderLayoutItemFieldScreenRenderTab getFieldScreenRenderTabPosition(String fieldId)
FieldScreenRenderLayoutItem which has a field
which has an id matching parameter fieldIdfieldId - The id of an the OrderableField to match againstgetFieldScreenRenderLayoutItem(com.atlassian.jira.issue.fields.OrderableField)FieldScreenRenderLayoutItem getFieldScreenRenderLayoutItem(OrderableField orderableField)
FieldScreenRenderLayoutItem which has a field
which has an id matching parameter orderableFieldorderableField - The field to findFieldScreenRenderLayoutItem which contains the OrderableFieldgetFieldScreenRenderTabPosition(String)FieldLayout getFieldLayout()
FieldLayout which backs this FieldScreenRenderer. This is currently used to find all
the visible fields, not just the ones visible on this screen. This allows the 'default' values to be set on
the fields not shown on this screen.FieldLayout.Collection<FieldScreenRenderLayoutItem> getRequiredFieldScreenRenderItems()
FieldScreenRenderLayoutItem on all tabs, and returns
the ones that are required.FieldScreenRenderLayoutItem objectsList<FieldScreenRenderLayoutItem> getAllScreenRenderItems()
FieldScreenRenderLayoutItems contained
on any of the FieldScreenRenderTabs.
It returns the items in order from first tab to last tab.Optional<FieldScreenRenderLayoutItem> getFieldScreenRenderLayoutItemByFieldId(String fieldId)
FieldScreenRenderLayoutItem by fieldId in all screen render itemsfieldId - field idFieldScreenRenderLayoutItem if exists, empty optional otherwiseCopyright © 2002-2024 Atlassian. All Rights Reserved.