com.alee.extended.progress
Class StepData

java.lang.Object
  extended by com.alee.extended.progress.StepData

public class StepData
extends java.lang.Object

This class represents single step within WebStepProgress component.

Author:
Mikle Garin
See Also:
How to use WebStepProgress, WebStepProgress

Constructor Summary
StepData()
          Constructs new step with empty label component.
StepData(java.awt.Component label)
          Constructs new step with the specified label component.
StepData(java.lang.String label)
          Constructs new step with WebLabel component using the specified text.
 
Method Summary
 java.awt.Component getLabel()
          Returns label component.
 void setLabel(java.awt.Component label)
          Sets label component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StepData

public StepData()
Constructs new step with empty label component.


StepData

public StepData(java.lang.String label)
Constructs new step with WebLabel component using the specified text.

Parameters:
label - label text

StepData

public StepData(java.awt.Component label)
Constructs new step with the specified label component.

Parameters:
label - label component
Method Detail

getLabel

public java.awt.Component getLabel()
Returns label component.

Returns:
label component

setLabel

public void setLabel(java.awt.Component label)
Sets label component.

Parameters:
label - new label component