public class MockFieldScreen extends Object implements FieldScreen
FieldScreen
.DEFAULT_SCREEN_ID
Constructor and Description |
---|
MockFieldScreen() |
MockFieldScreen(long id) |
Modifier and Type | Method and Description |
---|---|
MockFieldScreenTab |
addMockTab() |
MockFieldScreen |
addTab(FieldScreenTab tab) |
FieldScreenTab |
addTab(String tabName) |
boolean |
containsField(String fieldId) |
boolean |
equals(Object o) |
String |
getDescription() |
org.ofbiz.core.entity.GenericValue |
getGenericValue() |
Long |
getId() |
String |
getName() |
FieldScreenTab |
getTab(int tabPosition) |
List<FieldScreenTab> |
getTabs() |
int |
hashCode() |
boolean |
isModified()
Indicates whether any fields of the screen have been modified
|
void |
moveFieldScreenTabLeft(int tabPosition) |
void |
moveFieldScreenTabRight(int tabPosition) |
void |
moveFieldScreenTabToPosition(int tabPosition,
int newPosition) |
MockFieldScreen |
name(String name) |
void |
remove() |
void |
removeFieldScreenLayoutItem(String fieldId) |
void |
removeTab(int tabPosition) |
void |
resequence() |
boolean |
resetStored() |
void |
setDescription(String description) |
void |
setGenericValue(org.ofbiz.core.entity.GenericValue genericValue) |
void |
setId(Long id) |
void |
setName(String name) |
void |
store() |
String |
toString() |
public MockFieldScreen()
public MockFieldScreen(long id)
public Long getId()
getId
in interface FieldScreen
public String getName()
getName
in interface FieldScreen
public MockFieldScreen name(String name)
public void setName(String name)
setName
in interface FieldScreen
public String getDescription()
getDescription
in interface FieldScreen
public void setDescription(String description)
setDescription
in interface FieldScreen
public List<FieldScreenTab> getTabs()
getTabs
in interface FieldScreen
public FieldScreenTab getTab(int tabPosition)
getTab
in interface FieldScreen
public MockFieldScreen addTab(FieldScreenTab tab)
public MockFieldScreenTab addMockTab()
public FieldScreenTab addTab(String tabName)
addTab
in interface FieldScreen
public void removeTab(int tabPosition)
removeTab
in interface FieldScreen
public void moveFieldScreenTabToPosition(int tabPosition, int newPosition)
moveFieldScreenTabToPosition
in interface FieldScreen
public void moveFieldScreenTabLeft(int tabPosition)
moveFieldScreenTabLeft
in interface FieldScreen
public void moveFieldScreenTabRight(int tabPosition)
moveFieldScreenTabRight
in interface FieldScreen
public void resequence()
resequence
in interface FieldScreen
public org.ofbiz.core.entity.GenericValue getGenericValue()
getGenericValue
in interface FieldScreen
public void setGenericValue(org.ofbiz.core.entity.GenericValue genericValue)
setGenericValue
in interface FieldScreen
public boolean isModified()
FieldScreen
isModified
in interface FieldScreen
public void store()
store
in interface FieldScreen
public boolean resetStored()
public void remove()
remove
in interface FieldScreen
public void setId(Long id)
setId
in interface FieldScreen
public boolean containsField(String fieldId)
containsField
in interface FieldScreen
public void removeFieldScreenLayoutItem(String fieldId)
removeFieldScreenLayoutItem
in interface FieldScreen
Copyright © 2002-2019 Atlassian. All Rights Reserved.