|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.issue.fields.layout.field.MockFieldLayoutItem
public class MockFieldLayoutItem
Simple implementation of FieldLayoutItem
.
Constructor Summary | |
---|---|
MockFieldLayoutItem()
|
Method Summary | |
---|---|
int |
compareTo(FieldLayoutItem fieldLayoutItem)
|
String |
getFieldDescription()
|
FieldLayout |
getFieldLayout()
Returns the FieldLayout that this item is a part of. |
OrderableField |
getOrderableField()
Gets the field in question. |
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. |
MockFieldLayoutItem |
setDescription(String description)
|
MockFieldLayoutItem |
setFieldLayout(FieldLayout fieldLayout)
|
MockFieldLayoutItem |
setHidden(boolean hidden)
|
MockFieldLayoutItem |
setOrderableField(OrderableField orderableField)
|
MockFieldLayoutItem |
setRendererType(String type)
|
MockFieldLayoutItem |
setRequired(boolean required)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MockFieldLayoutItem()
Method Detail |
---|
public OrderableField getOrderableField()
FieldLayoutItem
getOrderableField
in interface FieldLayoutItem
public MockFieldLayoutItem setOrderableField(OrderableField orderableField)
public String getFieldDescription()
getFieldDescription
in interface FieldLayoutItem
public MockFieldLayoutItem setDescription(String description)
public boolean isHidden()
FieldLayoutItem
isHidden
in interface FieldLayoutItem
public MockFieldLayoutItem setHidden(boolean hidden)
public boolean isRequired()
FieldLayoutItem
isRequired
in interface FieldLayoutItem
public MockFieldLayoutItem setRequired(boolean required)
public String getRendererType()
FieldLayoutItem
DefaultTextRenderer.RENDERER_TYPE
.
getRendererType
in interface FieldLayoutItem
public MockFieldLayoutItem setRendererType(String type)
public FieldLayout getFieldLayout()
FieldLayoutItem
FieldLayout
that this item is a part of.
getFieldLayout
in interface FieldLayoutItem
public MockFieldLayoutItem setFieldLayout(FieldLayout fieldLayout)
public int compareTo(FieldLayoutItem fieldLayoutItem)
compareTo
in interface Comparable<FieldLayoutItem>
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |