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, org.apache.wicket.model.IDetachable, org.apache.wicket.model.IModel<Progression>, org.apache.wicket.util.io.IClusterable

public abstract class ProgressionModel
extends org.apache.wicket.model.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 org.apache.wicket.model.IModel<Progression>
Specified by:
getObject in class org.apache.wicket.model.AbstractReadOnlyModel<Progression>

getProgression

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

Returns:
the progress


Copyright © 2007–2016. All rights reserved.