public class BulkFieldScreenRendererImpl extends Object
| Modifier and Type | Method and Description |
|---|---|
List<FieldScreenRenderLayoutItem> |
getAllScreenRenderItems()
Return a list of all the
FieldScreenRenderLayoutItems contained
on any of the FieldScreenRenderTabs. |
FieldLayout |
getFieldLayout()
Get the underlying
FieldLayout which backs this FieldScreenRenderer. |
FieldScreenRenderLayoutItem |
getFieldScreenRenderLayoutItem(OrderableField orderableField)
A convenience method to locate the
FieldScreenRenderLayoutItem which has a field
which has an id matching parameter orderableField |
FieldScreenRenderTab |
getFieldScreenRenderTabPosition(String fieldId)
Return null if cannot find tab for the given fieldId
|
List<FieldScreenRenderTab> |
getFieldScreenRenderTabs() |
Collection<FieldScreenRenderLayoutItem> |
getRequiredFieldScreenRenderItems()
A convenience method which loops through all the
FieldScreenRenderLayoutItem on all tabs, and returns
the ones that are required. |
public List<FieldScreenRenderTab> getFieldScreenRenderTabs()
FieldScreenRenderTab objects which are visible and contain at least one
FieldScreenRenderLayoutItempublic FieldLayout getFieldLayout()
FieldScreenRendererFieldLayout 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.public Collection<FieldScreenRenderLayoutItem> getRequiredFieldScreenRenderItems()
FieldScreenRendererFieldScreenRenderLayoutItem on all tabs, and returns
the ones that are required.getRequiredFieldScreenRenderItems in interface FieldScreenRendererFieldScreenRenderLayoutItem objectspublic FieldScreenRenderTab getFieldScreenRenderTabPosition(String fieldId)
getFieldScreenRenderTabPosition in interface FieldScreenRendererfieldId - The id of an the OrderableField to match againstFieldScreenRenderer.getFieldScreenRenderLayoutItem(com.atlassian.jira.issue.fields.OrderableField)public FieldScreenRenderLayoutItem getFieldScreenRenderLayoutItem(OrderableField orderableField)
FieldScreenRendererFieldScreenRenderLayoutItem which has a field
which has an id matching parameter orderableFieldgetFieldScreenRenderLayoutItem in interface FieldScreenRendererorderableField - The field to findFieldScreenRenderLayoutItem which contains the OrderableFieldFieldScreenRenderer.getFieldScreenRenderTabPosition(String)public List<FieldScreenRenderLayoutItem> getAllScreenRenderItems()
FieldScreenRendererFieldScreenRenderLayoutItems contained
on any of the FieldScreenRenderTabs.
It returns the items in order from first tab to last tab.getAllScreenRenderItems in interface FieldScreenRendererCopyright © 2002-2021 Atlassian. All Rights Reserved.