public class ImageExpandForm
extends org.apache.struts.action.ActionForm
Constructor and Description |
---|
ImageExpandForm() |
Modifier and Type | Method and Description |
---|---|
double[] |
getBox()
Get the box for output
|
double |
getHeight() |
double |
getLeft() |
double |
getMpx()
Get the pixel count
|
java.lang.String |
getName() |
double |
getTop()
Get the top of the output box
|
java.lang.String |
getType() |
java.lang.String[] |
getTypes() |
int |
getVersion() |
double |
getWidth() |
void |
setHeight(double height) |
void |
setLeft(double left) |
void |
setMpx(double mpx)
Set the pixel count
|
void |
setName(java.lang.String name) |
void |
setTop(double top)
Set the top of the output box
|
void |
setType(java.lang.String type) |
void |
setVersion(int version) |
void |
setWidth(double width) |
org.apache.struts.action.ActionErrors |
validate(org.apache.struts.action.ActionMapping map,
javax.servlet.http.HttpServletRequest req)
Validate the form input
|
public double getMpx()
public void setMpx(double mpx)
mpx
- megapixelspublic java.lang.String getType()
public void setType(java.lang.String type)
public java.lang.String getName()
public void setName(java.lang.String name)
public int getVersion()
public void setVersion(int version)
public double getTop()
public void setTop(double top)
top
- fraction of heightpublic double getLeft()
public void setLeft(double left)
public double getWidth()
public void setWidth(double width)
public double getHeight()
public void setHeight(double height)
public java.lang.String[] getTypes()
public double[] getBox()
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping map, javax.servlet.http.HttpServletRequest req)
validate
in class org.apache.struts.action.ActionForm
Copyright \ (C) Arizona Board of Regents on behalf of the \ Planetary Image Research Laboratory, Lunar and \ Planetary Laboratory at the University of Arizona