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 class
Useful for instantiatingFieldLayoutItemImpl
objects from scratch or copying them. -
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(FieldLayoutItem fieldLayoutItem) boolean
This method should be used to retrieve the HTML rendered representation of the field description.Returns theFieldLayout
that 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.int
hashCode()
boolean
isHidden()
Whether the field should be invisible in the UI.boolean
Whether a field value is mandatory.toString()
-
Method Details
-
getOrderableField
Description copied from interface:FieldLayoutItem
Gets the field in question.- Specified by:
getOrderableField
in interfaceFieldLayoutItem
- Returns:
- the field.
-
getFieldDescription
Description copied from interface:FieldLayoutItem
This method should be used to retrieve the HTML rendered representation of the field description.- Specified by:
getFieldDescription
in interfaceFieldLayoutItem
- Returns:
- a rendered view of the description for OnDemand only
-
getRawFieldDescription
Description copied from interface:FieldLayoutItem
This method should be used to retrieve the NON-HTML rendered representation of the field description.- Specified by:
getRawFieldDescription
in interfaceFieldLayoutItem
- Returns:
- the raw field description.
-
isHidden
public boolean isHidden()Description copied from interface:FieldLayoutItem
Whether the field should be invisible in the UI.- Specified by:
isHidden
in interfaceFieldLayoutItem
- Returns:
- true only if the field should be hidden.
-
isRequired
public boolean isRequired()Description copied from interface:FieldLayoutItem
Whether a field value is mandatory.- Specified by:
isRequired
in interfaceFieldLayoutItem
- Returns:
- true only if a value is required.
-
getRendererType
Description copied from interface:FieldLayoutItem
Returns the renderer type, e.g.DefaultTextRenderer.RENDERER_TYPE
.- Specified by:
getRendererType
in interfaceFieldLayoutItem
- Returns:
- the renderer for the field configuration for this field.
-
getFieldLayout
Description copied from interface:FieldLayoutItem
Returns theFieldLayout
that this item is a part of.- Specified by:
getFieldLayout
in interfaceFieldLayoutItem
- Returns:
- the field layout; may be null.
-
toString
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<FieldLayoutItem>
-