Package icyllis.arc3d.granite

# Class DrawAtlas.PlotLocator

java.lang.Object
icyllis.arc3d.granite.DrawAtlas.PlotLocator

Direct Known Subclasses:
  `DrawAtlas.AtlasLocator`, `DrawAtlas.Plot`

Enclosing class:
  `DrawAtlas`

public static class DrawAtlas.PlotLocator extends Object
Used to locate a plot in a `DrawAtlas`.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final int`
  `MAX_PAGES`
  `static final int`
  `MAX_PLOTS`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PlotLocator()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `long`
  `getGeneration()`
  `int`
  `getPageIndex()`
  `int`
  `getPlotIndex()`
  `boolean`
  `isValid()`
  `void`
  `setGeneration(long generation)`
  `void`
  `setLocation(int pageIndex, int plotIndex, long generation)`
  `void`
  `setLocation(DrawAtlas.PlotLocator plotLocator)`
  `String`
  `toString()`

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

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

- ## Field Details

  - ### MAX_PAGES

    public static final int MAX_PAGES
    See Also:
      - Constant Field Values

  - ### MAX_PLOTS

    public static final int MAX_PLOTS
    See Also:
      - Constant Field Values

- ## Constructor Details

  - ### PlotLocator

    public PlotLocator()

- ## Method Details

  - ### getGeneration

    public long getGeneration()

  - ### getPlotIndex

    public int getPlotIndex()

  - ### getPageIndex

    public int getPageIndex()

  - ### isValid

    public boolean isValid()

  - ### setLocation

    public void setLocation(@Nonnull DrawAtlas.PlotLocator plotLocator)

  - ### setLocation

    public void setLocation(int pageIndex, int plotIndex, long generation)

  - ### setGeneration

    public void setGeneration(long generation)

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`