us.the.mac.board
Class Board.LayoutParams

java.lang.Object
  extended by android.view.ViewGroup.LayoutParams
      extended by android.view.ViewGroup.MarginLayoutParams
          extended by android.widget.FrameLayout.LayoutParams
              extended by us.the.mac.board.Board.LayoutParams
Enclosing class:
Board

public static class Board.LayoutParams
extends FrameLayout.LayoutParams


Field Summary
 
Fields inherited from class android.widget.FrameLayout.LayoutParams
gravity
 
Fields inherited from class android.view.ViewGroup.MarginLayoutParams
bottomMargin, leftMargin, rightMargin, topMargin
 
Fields inherited from class android.view.ViewGroup.LayoutParams
FILL_PARENT, height, layoutAnimationParameters, MATCH_PARENT, width, WRAP_CONTENT
 
Constructor Summary
Board.LayoutParams()
          Sets the child width to ViewGroup.LayoutParams and the child height to ViewGroup.LayoutParams.WRAP_CONTENT.
Board.LayoutParams(Context c, AttributeSet attrs)
          
Board.LayoutParams(int w, int h)
          Sets the child width and the child height.
Board.LayoutParams(ViewGroup.LayoutParams p)
          
Board.LayoutParams(ViewGroup.MarginLayoutParams source)
          
 
Method Summary
protected  void setBaseAttributes(TypedArray a, int widthAttr, int heightAttr)
           
 
Methods inherited from class android.view.ViewGroup.MarginLayoutParams
setMargins
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Board.LayoutParams

public Board.LayoutParams(Context c,
                          AttributeSet attrs)


Board.LayoutParams

public Board.LayoutParams(int w,
                          int h)

Sets the child width and the child height.

Parameters:
w - the desired width
h - the desired height

Board.LayoutParams

public Board.LayoutParams()

Sets the child width to ViewGroup.LayoutParams and the child height to ViewGroup.LayoutParams.WRAP_CONTENT.


Board.LayoutParams

public Board.LayoutParams(ViewGroup.LayoutParams p)


Board.LayoutParams

public Board.LayoutParams(ViewGroup.MarginLayoutParams source)

Method Detail

setBaseAttributes

protected void setBaseAttributes(TypedArray a,
                                 int widthAttr,
                                 int heightAttr)
Overrides:
setBaseAttributes in class ViewGroup.LayoutParams