com.alee.extended.breadcrumb
Interface BreadcrumbElement

All Known Implementing Classes:
WebBreadcrumbButton, WebBreadcrumbLabel, WebBreadcrumbPanel, WebBreadcrumbToggleButton

public interface BreadcrumbElement

Breadcrumb element interface.

Author:
Mikle Garin

Method Summary
 float getProgress()
          Returns element progress value.
 boolean isShowProgress()
          Returns whether element progress should be displayed or not.
 void setProgress(float progress)
          Sets element progress value.
 void setShowProgress(boolean showProgress)
          Sets whether element progress should be displayed or not.
 

Method Detail

setShowProgress

void setShowProgress(boolean showProgress)
Sets whether element progress should be displayed or not.

Parameters:
showProgress - whether element progress should be displayed or not

isShowProgress

boolean isShowProgress()
Returns whether element progress should be displayed or not.

Returns:
true if element progress should be displayed, false otherwise

setProgress

void setProgress(float progress)
Sets element progress value. This value should be between 0f and 1f.

Parameters:
progress - new element progress value

getProgress

float getProgress()
Returns element progress value. This value is between 0f and 1f.

Returns:
element progress value