com.dopanic.panicarkit.lib
Class PARProgressBar

java.lang.Object
  extended by ProgressBar
      extended by com.dopanic.panicarkit.lib.PARProgressBar

public class PARProgressBar
extends ProgressBar

Created by azeitler on 29.08.14.


Constructor Summary
PARProgressBar(Context context, AttributeSet attrs, int defStyle)
           
 
Method Summary
 RelativeLayout getMainLayout()
          get the main layout container
 TextView getTextView()
           
 void hide()
          hide progress bar
 void setText(java.lang.String text)
          set the display text of the progress bar
 void setVisibility(int v)
          set the visibility of this progress bar (with all childs)
 void showWithText(java.lang.String text)
          show progress bar with text
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PARProgressBar

public PARProgressBar(Context context,
                      AttributeSet attrs,
                      int defStyle)
Method Detail

setVisibility

public void setVisibility(int v)
set the visibility of this progress bar (with all childs)

Parameters:
v - the visibility VISIBLE, INVISIBLE, GONE

setText

public void setText(java.lang.String text)
set the display text of the progress bar

Parameters:
text -

showWithText

public void showWithText(java.lang.String text)
show progress bar with text

Parameters:
text -

hide

public void hide()
hide progress bar


getMainLayout

public RelativeLayout getMainLayout()
get the main layout container

Returns:
mainLayoutContainer

getTextView

public TextView getTextView()



Copyright © 2014 doPanic GmbH. All rights reserved.