Gridarta Editor
LayoutInfo.java
Go to the documentation of this file.
1 package net.sf.gridarta.action.exportmap;
2 
4 import org.jetbrains.annotations.NotNull;
5 
9 public class LayoutInfo {
10 
14  @NotNull
15  private final MapFile mapFile;
16 
22  private final int x;
23 
29  private final int y;
30 
39  public LayoutInfo(@NotNull final MapFile mapFile, final int x, final int y) {
40  this.mapFile = mapFile;
41  this.x = x;
42  this.y = y;
43  }
44 
49  @NotNull
50  public MapFile getMapFile() {
51  return mapFile;
52  }
53 
60  public int getX() {
61  return x;
62  }
63 
70  public int getY() {
71  return y;
72  }
73 
74  @NotNull
75  @Override
76  public String toString() {
77  return mapFile + ": " + x + "/" + y;
78  }
79 
80 }
net.sf.gridarta.action.exportmap.LayoutInfo.LayoutInfo
LayoutInfo(@NotNull final MapFile mapFile, final int x, final int y)
Definition: LayoutInfo.java:39
net.sf.gridarta.action.exportmap.LayoutInfo.getY
int getY()
Definition: LayoutInfo.java:70
net.sf.gridarta
net.sf
net.sf.gridarta.model.mapmodel
Definition: AboveFloorInsertionMode.java:20
net.sf.gridarta.action.exportmap.LayoutInfo.mapFile
final MapFile mapFile
Definition: LayoutInfo.java:15
net
net.sf.gridarta.action.exportmap.LayoutInfo.x
final int x
Definition: LayoutInfo.java:22
net.sf.gridarta.action.exportmap.LayoutInfo.toString
String toString()
Definition: LayoutInfo.java:76
net.sf.gridarta.action.exportmap.LayoutInfo.y
final int y
Definition: LayoutInfo.java:29
net.sf.gridarta.model.mapmodel.MapFile
Definition: MapFile.java:31
net.sf.gridarta.model
net.sf.gridarta.action.exportmap.LayoutInfo.getX
int getX()
Definition: LayoutInfo.java:60
net.sf.gridarta.action.exportmap.LayoutInfo.getMapFile
MapFile getMapFile()
Definition: LayoutInfo.java:50
net.sf.gridarta.action.exportmap.LayoutInfo
Definition: LayoutInfo.java:9