com.vaadin.client.ui
Class VProgressBar

java.lang.Object
  extended by Widget
      extended by com.vaadin.client.ui.VProgressBar
Direct Known Subclasses:
VProgressIndicator

public class VProgressBar
extends Widget

Widget for showing the current progress of a long running task.

The default mode is to show the current progress internally represented by a floating point value between 0 and 1 (inclusive). The progress bar can also be in an indeterminate mode showing an animation indicating that the task is running but without providing any information about the current progress.

Since:
7.1
Author:
Vaadin Ltd

Constructor Summary
VProgressBar()
           
 
Method Summary
 float getState()
           
 boolean isEnabled()
           
 boolean isIndeterminate()
           
 void setEnabled(boolean enabled)
           
 void setIndeterminate(boolean indeterminate)
           
 void setState(float state)
           
 void setStylePrimaryName(java.lang.String style)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VProgressBar

public VProgressBar()
Method Detail

setStylePrimaryName

public void setStylePrimaryName(java.lang.String style)

setIndeterminate

public void setIndeterminate(boolean indeterminate)

setState

public void setState(float state)

isIndeterminate

public boolean isIndeterminate()

getState

public float getState()

isEnabled

public boolean isEnabled()

setEnabled

public void setEnabled(boolean enabled)


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.