Class TileConfigDisk

  • All Implemented Interfaces:
    TileConfig


    public class TileConfigDisk
    extends Object
    implements TileConfig
    Information about a storage directory.
    • Constructor Detail

      • TileConfigDisk

        public TileConfigDisk(int id,
                              String name,
                              String path)
        Create a new TileConfig
        Parameters:
        id - an artificial id to use.
        name - the name of this configuration.
        path - where to store temporary images
    • Method Detail

      • getId

        public int getId()
        Description copied from interface: TileConfig
        A unique id that can be used to identify this TileConfig instance.
        Specified by:
        getId in interface  TileConfig
        Returns:
        the id.
      • getName

        public String getName()
        Description copied from interface: TileConfig
        A descriptive name of this configuration.
        Specified by:
        getName in interface  TileConfig
        Returns:
        the name.
      • getPath

        public String getPath()
        Returns:
        the path for temporary images.
      • toString

        public String toString()
      • equals

        public boolean equals(Object o)
      • hashCode

        public int hashCode()
      • createGlobalManager

        public PaintListener createGlobalManager()