Class FieldLayoutItemImpl
java.lang.Object
com.atlassian.jira.issue.fields.layout.field.FieldLayoutItemImpl
- All Implemented Interfaces:
FieldLayoutItem,Comparable<FieldLayoutItem>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classUseful for instantiatingFieldLayoutItemImplobjects from scratch or copying them. -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(FieldLayoutItem fieldLayoutItem) booleanThis method should be used to retrieve the HTML rendered representation of the field description.Returns theFieldLayoutthat this item is a part of.Gets the field in question.This method should be used to retrieve the NON-HTML rendered representation of the field description.Returns the renderer type, e.g.inthashCode()booleanisHidden()Whether the field should be invisible in the UI.booleanWhether a field value is mandatory.toString()
-
Method Details
-
getOrderableField
Description copied from interface:FieldLayoutItemGets the field in question.- Specified by:
getOrderableFieldin interfaceFieldLayoutItem- Returns:
- the field.
-
getFieldDescription
Description copied from interface:FieldLayoutItemThis method should be used to retrieve the HTML rendered representation of the field description.- Specified by:
getFieldDescriptionin interfaceFieldLayoutItem- Returns:
- a rendered view of the description for OnDemand only
-
getRawFieldDescription
Description copied from interface:FieldLayoutItemThis method should be used to retrieve the NON-HTML rendered representation of the field description.- Specified by:
getRawFieldDescriptionin interfaceFieldLayoutItem- Returns:
- the raw field description.
-
isHidden
public boolean isHidden()Description copied from interface:FieldLayoutItemWhether the field should be invisible in the UI.- Specified by:
isHiddenin interfaceFieldLayoutItem- Returns:
- true only if the field should be hidden.
-
isRequired
public boolean isRequired()Description copied from interface:FieldLayoutItemWhether a field value is mandatory.- Specified by:
isRequiredin interfaceFieldLayoutItem- Returns:
- true only if a value is required.
-
getRendererType
Description copied from interface:FieldLayoutItemReturns the renderer type, e.g.DefaultTextRenderer.RENDERER_TYPE.- Specified by:
getRendererTypein interfaceFieldLayoutItem- Returns:
- the renderer for the field configuration for this field.
-
getFieldLayout
Description copied from interface:FieldLayoutItemReturns theFieldLayoutthat this item is a part of.- Specified by:
getFieldLayoutin interfaceFieldLayoutItem- Returns:
- the field layout; may be null.
-
toString
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<FieldLayoutItem>
-