com.sas.servlet.tbeans.tableview.rpf.html
Class ImageAction

com.sas.servlet.tbeans.tableview.rpf.html.ImageAction
All Implemented Interfaces:
com.sas.beans.PropertyChangeSource, com.sas.lang.ObjectDataInterface, com.sas.rpf.ActionInterface, FormElementModificationEventInterface, com.sas.servlet.tbeans.form.JavaScriptObjectCreationInterface, com.sas.servlet.tbeans.JavaScriptEventHandlerInterface, RenderableInterface, com.sas.servlet.tbeans.ScriptActivatedInterface, StyleInterface, com.sas.servlet.tbeans.tableview.rpf.LocationInterface, TableCellContentsRenderer, com.sas.servlet.tbeans.TitleInterface, TransformationInterface, URLInterface, GenericValidatorInterface, com.sas.util.WriteToPrintWriterInterface, java.io.Serializable

public class ImageAction
implements com.sas.rpf.ActionInterface, com.sas.servlet.tbeans.tableview.rpf.LocationInterface

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sas.servlet.tbeans.form.BaseFormElement
RB_KEY
 
Constructor Summary
ImageAction()
           
 
Method Summary
 ActionLocation getLocation()
           
 void setImage(java.lang.String image, ActionLocation location)
           
 void setLocation(ActionLocation location)
           
 void write(java.io.PrintWriter out)
          If actions is null, then this method formats and writes the contents of the cell as an image.
 
Methods inherited from class com.sas.servlet.tbeans.tableview.html.CellContentsImageRenderer
getActions, getCellContentsRendererComponent, getTableView, setActions, setLocale, setTableView
 
Methods inherited from class com.sas.servlet.tbeans.form.BaseImage
getAlignment, getAlternateText, getBorderWidth, getHeight, getHeightPercentage, getHorizontalSpace, getImage, getTarget, getURL, getUseAsFormElement, getVerticalSpace, getWidth, getWidthPercentage, setAlignment, setAlternateText, setBorderWidth, setHeight, setHeightPercentage, setHorizontalSpace, setImage, setTarget, setURL, setUseAsFormElement, setVerticalSpace, setWidth, setWidthPercentage
 
Methods inherited from class com.sas.servlet.tbeans.form.BaseFormElement
getAccessKey, getErrorHandler, getModificationEventName, getName, getOnBlur, getOnChange, getOnClick, getOnDblClick, getOnFocus, getOnKeyDown, getOnKeyPress, getOnKeyUp, getOnMouseDown, getOnMouseMove, getOnMouseOut, getOnMouseOver, getOnMouseUp, getOnSelect, getStyleInfo, getTabIndex, getTitle, getValidationFunctions, getValidator, isEnabled, isValid, isValidationEnabled, setAccessKey, setEnabled, setErrorHandler, setId, setModificationEventName, setName, setOnBlur, setOnChange, setOnClick, setOnDblClick, setOnFocus, setOnKeyDown, setOnKeyPress, setOnKeyUp, setOnMouseDown, setOnMouseMove, setOnMouseOut, setOnMouseOver, setOnMouseUp, setOnSelect, setStyleInfo, setTabIndex, setTitle, setValidator, writeJavaScriptObject, writeJavaScriptObjectValidate, writeJavaScriptValidatorObject, writeValidationScript
 
Methods inherited from class com.sas.servlet.tbeans.BaseTransformation
addPropertyChangeListener, addPropertyChangeListener, cleanUpResources, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getCustomAttributes, getDescription, getId, getInputTransform, getLocale, getObjectData, getObjectDataProperty, getOutputTransform, getRequest, getResponse, getTagEpilog, getTagProlog, hasListeners, isCleanUpResourcesOn, isVisible, removePropertyChangeListener, removePropertyChangeListener, setCleanUpResourcesOn, setCustomAttributes, setDescription, setInputTransform, setLocaleDependentProperties, setObjectData, setObjectDataProperty, setOutputTransform, setRequest, setResponse, setTagEpilog, setTagProlog, setVisible, toString, write, write, write
 
Methods inherited from interface com.sas.servlet.tbeans.TransformationInterface
getCustomAttributes, getDescription, getId, getLocale, getName, getRequest, getResponse, getTagEpilog, getTagProlog, isVisible, setCustomAttributes, setDescription, setId, setName, setRequest, setResponse, setTagEpilog, setTagProlog, setVisible, write, write, write
 
Methods inherited from interface com.sas.servlet.tbeans.StyleInterface
getStyleInfo, setStyleInfo
 

Constructor Detail

ImageAction

public ImageAction()
Method Detail

getLocation

public ActionLocation getLocation()
Specified by:
getLocation in interface com.sas.servlet.tbeans.tableview.rpf.LocationInterface
Returns:
Returns the location.

setLocation

public void setLocation(ActionLocation location)
Parameters:
location - The location to set.

setImage

public void setImage(java.lang.String image,
                     ActionLocation location)

write

public void write(java.io.PrintWriter out)
           throws java.io.IOException
If actions is null, then this method formats and writes the contents of the cell as an image. Otherwise, the actions are rendered. This method calls the cleanUpResources() method at the end to reset the request and response back to null.

Specified by:
write in interface TransformationInterface
Specified by:
write in interface com.sas.util.WriteToPrintWriterInterface
Overrides:
write in class CellContentsImageRenderer
Parameters:
out - the output stream
Throws:
java.io.IOException - Thrown if some type of I/O error occurs



Copyright © 2009 SAS Institute Inc. All Rights Reserved.