public static class

AbstractEntityCell.GroupLayoutParams

extends ViewGroup.MarginLayoutParams
java.lang.Object
   ↳ android.view.ViewGroup.LayoutParams
     ↳ android.view.ViewGroup.MarginLayoutParams
       ↳ com.sap.cloud.mobile.fiori.object.AbstractEntityCell.GroupLayoutParams
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

Layout information for child views of AbstractEntityCells.

Child view added in XML must have a layout_group parameter to tell the parent AbstractEntityCell how to layout this child view.

Summary

Nested Classes
@interface AbstractEntityCell.GroupLayoutParams.LayoutGroup  
Constants
int LAYOUT_GROUP_INTERNAL Internal layout group.
[Expand]
Inherited Constants
From class android.view.ViewGroup.LayoutParams
[Expand]
Inherited Fields
From class android.view.ViewGroup.MarginLayoutParams
From class android.view.ViewGroup.LayoutParams
Public Constructors
GroupLayoutParams(Context c, AttributeSet attrs)
GroupLayoutParams(ViewGroup.LayoutParams p)
GroupLayoutParams(int width, int height)
Creates a new set of layout parameters with the specified width and height.
GroupLayoutParams(ViewGroup.MarginLayoutParams source)
GroupLayoutParams(AbstractEntityCell.GroupLayoutParams source)
Copy constructor.
Public Methods
int getLayoutGroup()
Gets the layout group associated with this child view.
void setLayoutGroup(int layoutGroup)
Sets the layout group associated with this child view.
Protected Methods
int getDefaultGroup()
Returns the default group if not specified.
[Expand]
Inherited Methods
From class android.view.ViewGroup.MarginLayoutParams
From class android.view.ViewGroup.LayoutParams
From class java.lang.Object

Constants

public static final int LAYOUT_GROUP_INTERNAL

Internal layout group. Only to be used by internal child views.

Constant Value: 0 (0x00000000)

Public Constructors

public GroupLayoutParams (Context c, AttributeSet attrs)

public GroupLayoutParams (ViewGroup.LayoutParams p)

public GroupLayoutParams (int width, int height)

Creates a new set of layout parameters with the specified width and height.

Parameters
width the width, either MATCH_PARENT, WRAP_CONTENT or a fixed size in pixels
height the height, either MATCH_PARENT, WRAP_CONTENT or a fixed size in pixels

public GroupLayoutParams (ViewGroup.MarginLayoutParams source)

public GroupLayoutParams (AbstractEntityCell.GroupLayoutParams source)

Copy constructor. Clones the width, height, margin values, weight, and gravity of the source.

Parameters
source The layout params to copy from.

Public Methods

public int getLayoutGroup ()

Gets the layout group associated with this child view.

Returns
  • the layout group

public void setLayoutGroup (int layoutGroup)

Sets the layout group associated with this child view.

Parameters
layoutGroup the layout group

Protected Methods

protected int getDefaultGroup ()

Returns the default group if not specified.