show rendered image

added loading icon
image is scaled to available space
This commit is contained in:
2016-12-21 20:06:11 +01:00
parent d1e39513f3
commit bc5d1b0b7b
19 changed files with 461 additions and 47 deletions

View File

@@ -3,6 +3,10 @@ package org.lucares.pdbui.domain;
public class PlotRequest {
private String query;
private int height;
private int width;
public String getQuery() {
return query;
}
@@ -11,8 +15,24 @@ public class PlotRequest {
this.query = query;
}
public int getWidth() {
return width;
}
public void setWidth(final int width) {
this.width = width;
}
public int getHeight() {
return height;
}
public void setHeight(final int height) {
this.height = height;
}
@Override
public String toString() {
return query;
return query + ":" + height + "x" + width;
}
}