show rendered image
added loading icon image is scaled to available space
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user