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: adfrt/faces/adf-faces-api/src/main/java/oracle/adf/view/faces/model/BoundedRangeModel.java#0 $) $Date: 10-nov-2005.19:08:49 $

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `BoundedRangeModel()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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`

- - ### Constructor Detail

    - #### BoundedRangeModel

          public BoundedRangeModel()

  - ### Method Detail

    - #### 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.

Copyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.