BlowTorch
 All Classes Namespaces Files Functions Variables Enumerator Pages
Classes | Public Member Functions | List of all members
com.offsetnull.bt.service.LayoutGroup Class Reference

Classes

enum  LAYOUT_TYPE
 

Public Member Functions

 LayoutGroup ()
 
final void setPortraitParams (final RelativeLayout.LayoutParams portraitParams)
 
final RelativeLayout.LayoutParams getPortraitParams ()
 
final void setLandscapeParams (final RelativeLayout.LayoutParams landscapeParams)
 
final RelativeLayout.LayoutParams getLandscapeParams ()
 
final void setType (final LayoutGroup.LAYOUT_TYPE input)
 
final LayoutGroup.LAYOUT_TYPE getType ()
 
final void setPortraitHeight (final int size)
 
final void setLandscapeHeight (final int size)
 

Detailed Description

Represents a group of layouts for small, normal, large and xlarge screen sizes.

Constructor & Destructor Documentation

com.offsetnull.bt.service.LayoutGroup.LayoutGroup ( )

Generic constructor.

Here is the call graph for this function:

Member Function Documentation

final RelativeLayout.LayoutParams com.offsetnull.bt.service.LayoutGroup.getLandscapeParams ( )

Getter for mLandscapeParams.

Returns
the layout parameter object.

Here is the caller graph for this function:

final RelativeLayout.LayoutParams com.offsetnull.bt.service.LayoutGroup.getPortraitParams ( )

mPortraitParams getter.

Returns
the layout parameter object.

Here is the caller graph for this function:

final LayoutGroup.LAYOUT_TYPE com.offsetnull.bt.service.LayoutGroup.getType ( )

Getter for mType.

Returns
The layout group type for this object.

Here is the caller graph for this function:

final void com.offsetnull.bt.service.LayoutGroup.setLandscapeHeight ( final int  size)

Utility method to quickly set the landscape height of this group.

Parameters
sizeThe new size in pixels (or LayoutParamter rule) to use.
final void com.offsetnull.bt.service.LayoutGroup.setLandscapeParams ( final RelativeLayout.LayoutParams  landscapeParams)

mLandscapeParams setter.

Parameters
landscapeParamsthe new layout params.

Here is the caller graph for this function:

final void com.offsetnull.bt.service.LayoutGroup.setPortraitHeight ( final int  size)

Utility method to quickly set the portrait height of this group.

Parameters
sizeThe new size in pixels (or LayoutParamter rule) to use.
final void com.offsetnull.bt.service.LayoutGroup.setPortraitParams ( final RelativeLayout.LayoutParams  portraitParams)

mPortraitParams setter.

Parameters
portraitParamsnew layout parameters.

Here is the caller graph for this function:

final void com.offsetnull.bt.service.LayoutGroup.setType ( final LayoutGroup.LAYOUT_TYPE  input)

Setter for mType.

Parameters
inputThe new layout group type to use.

Here is the caller graph for this function:


The documentation for this class was generated from the following file: