Skip navigation links
org.apache.myfaces.trinidad.model
Class BoundedRangeModel
java.lang.Object
org.apache.myfaces.trinidad.model.BoundedRangeModel
- Direct Known Subclasses:
- DefaultBoundedRangeModel
-
public abstract class BoundedRangeModel
- extends Object
Model that represents a bounded range, 0 <- value <- maximum if value > -1 and maximum > -1. 'value' or 'maximum' being -1 indicates that they are unknown. This model is used by the 'progress' components.
- Version:
- $Name: $ ($Revision: /main/2 $) $Date: 2012/01/04 16:18:05 $
| Method Summary |
abstract long |
getMaximum()
Gets the maximum value for this model. |
abstract long |
getValue()
Gets the current value for this model. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BoundedRangeModel
public BoundedRangeModel()
getMaximum
public abstract long getMaximum()
- Gets the maximum value for this model.
-
- Returns:
- the maximum value. A return of -1 indicates that maximum is unknown.
getValue
public abstract long getValue()
- Gets the current value for this model.
-
- Returns:
- the current value. A return of -1 indicates that value is unknown.
Skip navigation links
Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.