com.atlassian.jira.issue.fields.layout.field
Interface FieldLayoutItem

All Superinterfaces:
java.lang.Comparable<FieldLayoutItem>
All Known Implementing Classes:
FieldLayoutItemImpl

public interface FieldLayoutItem
extends java.lang.Comparable<FieldLayoutItem>

Holds hidden and required attributes and renderer type of a specific OrderableField, corresponds to a single entry of a the Field Configuration in the user interface.


Method Summary
 java.lang.String getFieldDescription()
           
 FieldLayout getFieldLayout()
          Returns the FieldLayout that this item is a part of.
 OrderableField getOrderableField()
          Gets the field in question.
 java.lang.String getRendererType()
          Returns the renderer type, e.g.
 boolean isHidden()
          Whether the field should be invisible in the UI.
 boolean isRequired()
          Whether a field value is mandatory.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getOrderableField

OrderableField getOrderableField()
Gets the field in question.

Returns:
the field.

getFieldDescription

java.lang.String getFieldDescription()

isHidden

boolean isHidden()
Whether the field should be invisible in the UI.

Returns:
true only if the field should be hidden.

isRequired

boolean isRequired()
Whether a field value is mandatory.

Returns:
true only if a value is required.

getRendererType

java.lang.String getRendererType()
Returns the renderer type, e.g. DefaultTextRenderer.RENDERER_TYPE.

Returns:
the renderer for the field configuration for this field.

getFieldLayout

FieldLayout getFieldLayout()
Returns the FieldLayout that this item is a part of.

Returns:
the field layout; may be null.
Since:
v4.2


Copyright © 2002-2010 Atlassian. All Rights Reserved.