com.dlsc.flexgantt.policy.dateline

## Class SimpleGranularityZoomPolicy

- java.lang.Object
- - com.dlsc.flexgantt.policy.AbstractPolicy
  - - com.dlsc.flexgantt.policy.dateline.AbstractZoomPolicy<SimpleGranularity>
    - - com.dlsc.flexgantt.policy.dateline.SimpleGranularityZoomPolicy

- All Implemented Interfaces:
    IZoomPolicy<SimpleGranularity>, IPolicy

      public class SimpleGranularityZoomPolicy
      extends AbstractZoomPolicy<SimpleGranularity>

  An implementation of the zoom policy that gets used when using the `SimpleGranularity` concept. For more information on this policy please refer to `IZoomPolicy`.
  Since:
    1.0
  Version:
    $Revision: 1.5 $
  Author:
    Dirk Lemmermann

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SimpleGranularityZoomPolicy()` Constructs a new policy.
    `SimpleGranularityZoomPolicy(SimpleGranularity[] granularites)` Constructs a new policy.

  - ### Method Summary

    - ### Methods inherited from class com.dlsc.flexgantt.policy.dateline.AbstractZoomPolicy

      `getGranularity, getGranularityCount, getGranularityIndex, setGranularities`

    - ### Methods inherited from class com.dlsc.flexgantt.policy.AbstractPolicy

      `assertClass`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SimpleGranularityZoomPolicy

          public SimpleGranularityZoomPolicy(SimpleGranularity[] granularites)

      Constructs a new policy.
      Parameters:
        `granularites` - the list of supported simple granularities (granularities that will be shown in the dateline)
      Since:
        1.0

    - #### SimpleGranularityZoomPolicy

          public SimpleGranularityZoomPolicy()

      Constructs a new policy.
      Since:
        1.0

Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.