public class EditorGroup extends Object
Constructor and Description |
---|
EditorGroup(Context context,
String groupName) |
EditorGroup(Context context,
String groupName,
int layoutId) |
EditorGroup(Context context,
String groupName,
ViewGroup rootLayout) |
EditorGroup(Context context,
String groupName,
ViewGroup rootLayout,
ViewGroup editorsLayout)
Used to programmatically initialize the layout of the editors group.
|
Modifier and Type | Method and Description |
---|---|
void |
arrangeEditors() |
List<EntityPropertyViewer> |
editors() |
static DataFormLayoutManager |
getDefaultLayoutManager(Context context) |
ViewGroup |
getEditorsContainer() |
ViewGroup |
getHeaderContainer() |
View |
getHeaderView() |
DataFormLayoutManager |
getLayoutManager() |
String |
name() |
View |
rootLayout() |
static void |
setDefaultLayoutManager(DataFormLayoutManager value) |
void |
setLayoutManager(DataFormLayoutManager layoutManager) |
public EditorGroup(Context context, String groupName, ViewGroup rootLayout, ViewGroup editorsLayout)
context
- an instance of the Context
class used to resolve resources, layouts, etc.groupName
- the name of the editors group.rootLayout
- the root layout of the editors group.editorsLayout
- the container of the editors.public static DataFormLayoutManager getDefaultLayoutManager(Context context)
public static void setDefaultLayoutManager(DataFormLayoutManager value)
public View rootLayout()
public View getHeaderView()
public ViewGroup getHeaderContainer()
public ViewGroup getEditorsContainer()
public String name()
public List<EntityPropertyViewer> editors()
public void arrangeEditors()
public DataFormLayoutManager getLayoutManager()
public void setLayoutManager(DataFormLayoutManager layoutManager)