info.magnolia.ui.form.field.upload
Interface UploadProgressIndicator

All Known Implementing Classes:
BasicUploadProgressIndicator

public interface UploadProgressIndicator

Definition used to create a custom display for a progress indicator.


Method Summary
 com.vaadin.ui.Component asVaadinComponent()
          Returns the Vaadin component used to display progress.
 void refreshLayout(long readBytes, long contentLength, String fileName)
          Refreshes the progress indicator layout.
 void setProgress(float progress)
          Sets the current progress.
 void setVisible(boolean visible)
          Set the Component Visible or not.
 

Method Detail

refreshLayout

void refreshLayout(long readBytes,
                   long contentLength,
                   String fileName)
Refreshes the progress indicator layout.


setProgress

void setProgress(float progress)
Sets the current progress.


setVisible

void setVisible(boolean visible)
Set the Component Visible or not.


asVaadinComponent

com.vaadin.ui.Component asVaadinComponent()
Returns the Vaadin component used to display progress.



Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.