org.wicketstuff.progressbar
Class ProgressionModel

java.lang.Object
  extended by org.apache.wicket.model.AbstractReadOnlyModel<Progression>
      extended by org.wicketstuff.progressbar.ProgressionModel
All Implemented Interfaces:
Serializable, IDetachable, IModel<Progression>, IClusterable

public abstract class ProgressionModel
extends AbstractReadOnlyModel<Progression>

Typed model that returns the current progress for the ProgressBar component.

Author:
Christopher Hlubek (hlubek)
See Also:
Serialized Form

Constructor Summary
ProgressionModel()
           
 
Method Summary
 Progression getObject()
           
protected abstract  Progression getProgression()
          Return the progress in form of a Progression value object.
 
Methods inherited from class org.apache.wicket.model.AbstractReadOnlyModel
detach, setObject, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProgressionModel

public ProgressionModel()
Method Detail

getObject

public final Progression getObject()
Specified by:
getObject in interface IModel<Progression>
Specified by:
getObject in class AbstractReadOnlyModel<Progression>

getProgression

protected abstract Progression getProgression()
Return the progress in form of a Progression value object.

Returns:
the progress


Copyright © 2007-2013. All Rights Reserved.