***  This class is subject to change   ***

com.sas.taglib.servlet.tbeans.graphics
Class AbstractBaseGraphicsTag

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--javax.servlet.jsp.tagext.BodyTagSupport
              |
              +--com.sas.taglib.BaseBodyTag
                    |
                    +--com.sas.taglib.servlet.tbeans.BaseTransformationBodyTag
                          |
                          +--com.sas.taglib.servlet.tbeans.BaseActionTransformationBodyTag
                                |
                                +--com.sas.taglib.servlet.tbeans.graphics.AbstractBaseGraphicsTag
All Implemented Interfaces:
Direct Known Subclasses:
AbstractBaseGraphTag

public abstract class AbstractBaseGraphicsTag
extends BaseActionTransformationBodyTag

See Also:
Serialized Form

Fields inherited from class com.sas.taglib.BaseBodyTag
DELIMITERS, RB_KEY
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
AbstractBaseGraphicsTag()
           
 
Method Summary
protected  void applyAttributes()
          Sets the attributes (image, alternateText, alignment, height, width, horizontalSpace, verticalSpace, borderWidth, useAsFormElement, URL, target, model, modelObject) on the underlying Image object.
 String getAlignment()
          Gets the alignment attribute (String)
 String getAlternateText()
          Gets the alternateText attribute (String)
 int getBorderWidth()
          Gets the borderWidth attribute (int) The default borderWidth is 0.
 int getHeight()
          Gets the height attribute (int)
 int getHorizontalSpace()
          Gets the horizontalSpace attribute (int)
 String getImage()
          Gets the image attribute (String)
 String getStyleClassPrefix()
          Returns the styleClassPrefix property.
 String getTarget()
          Gets the target attribute (String)
 String getURL()
          Gets the URL property (String) o
 int getVerticalSpace()
          Gets the verticalSpace attribute (int)
 int getWidth()
          Gets the width attribute (int)
protected  void initialize(boolean includeAttributes)
          Initializes attributes and variables for this tag handler.
 boolean isAllActionsVisible()
          Gets the allActionVisible attribute (boolean)
 boolean isGalleryImageVisible()
          Gets the galleryImageVisible attribute (boolean)
 void setAlignment(String alignment)
          Sets the alignment attribute (String)
 void setAllActionsVisible(boolean allActionsVisible)
          Sets the allActionsVisble attribute (String)
 void setAlternateText(String alttxt)
          Sets the alternateText attribute (String)
 void setBorderWidth(int bwidth)
          Sets the borderWidth attribute (int) The default borderWidth
 void setGalleryImageVisible(boolean galleryImageVisible)
          Sets the galleryImageVisible attribute (String)
 void setHeight(int h)
          Sets the height attribute (int)
 void setHorizontalSpace(int hspace)
          Sets the horizontalSpace attribute (int)
 void setImage(String imagesrc)
          Sets the image attribute (String)
 void setStyleClassPrefix(String styleClassPrefix)
          Sets the styleClassPrefix property
 void setTarget(String value)
          Sets the target attribute (String)
 void setURL(String value)
          Sets the URL attribute (String)
 void setVerticalSpace(int vspace)
          Sets the verticalSpace attribute (int)
 void setWidth(int w)
          Sets the width attribute (int)
 
Methods inherited from class com.sas.taglib.servlet.tbeans.BaseActionTransformationBodyTag
getActionProvider, setActionProvider
 
Methods inherited from class com.sas.taglib.servlet.tbeans.BaseTransformationBodyTag
doEndTag, doStartTag, getCustomAttributes, getEpilog, getLocale, getName, getObjectDataProperty, getProlog, getRender, getRenderType, setCustomAttributes, setEpilog, setLocale, setName, setObjectDataProperty, setProlog, setRender, setRenderType
 
Methods inherited from class com.sas.taglib.BaseBodyTag
doCatch, doFinally, getApplyAttributes, getBodyStrings, getCompositeComponentKey, getInstantiate, getPageContext, getRef, getScope, getTagScope, getWrappedClassName, getWrappedObject, getWrappedObject, loadBeanInstance, newInstance, release, removeFromScope, searchContext, setApplyAttributes, setCompositeComponentKey, setInstantiate, setRef, setScope, setTagScope, setVariableWithinScope, setWrappedClassName, setWrappedObject, validate
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Constructor Detail

AbstractBaseGraphicsTag

public AbstractBaseGraphicsTag()
Method Detail

initialize

protected void initialize(boolean includeAttributes)
Initializes attributes and variables for this tag handler.
Overrides:
initialize in class BaseActionTransformationBodyTag
Parameters:
includeAttributes - Set to true if attributes are to be set to default values.

setImage

public void setImage(String imagesrc)
Sets the image attribute (String)
Parameters:
imagesrc - The URL location of the image.

setAlternateText

public void setAlternateText(String alttxt)
Sets the alternateText attribute (String)
Parameters:
alttxt - The alternate text

setAlignment

public void setAlignment(String alignment)
Sets the alignment attribute (String)
Parameters:
align - The text alignment

setHeight

public void setHeight(int h)
Sets the height attribute (int)
Parameters:
height - The height

setWidth

public void setWidth(int w)
Sets the width attribute (int)
Parameters:
width - The width of the vhart

setHorizontalSpace

public void setHorizontalSpace(int hspace)
Sets the horizontalSpace attribute (int)
Parameters:
hspace - The horizontal spacing

setVerticalSpace

public void setVerticalSpace(int vspace)
Sets the verticalSpace attribute (int)
Parameters:
vspace - The vertical spacing

setBorderWidth

public void setBorderWidth(int bwidth)
Sets the borderWidth attribute (int) The default borderWidth
Parameters:
border - The border width

setURL

public void setURL(String value)
Sets the URL attribute (String)
Parameters:
url - The URL to which the chart should be linked.

setTarget

public void setTarget(String value)
Sets the target attribute (String)
Parameters:
target - The target the chart

setAllActionsVisible

public void setAllActionsVisible(boolean allActionsVisible)
Sets the allActionsVisble attribute (String)
Parameters:
boolean1 -  

setGalleryImageVisible

public void setGalleryImageVisible(boolean galleryImageVisible)
Sets the galleryImageVisible attribute (String)
Parameters:
boolean1 -  

setStyleClassPrefix

public void setStyleClassPrefix(String styleClassPrefix)
Sets the styleClassPrefix property
Parameters:
styleClassPrefix - A string to prepend to the styleClass name
See Also:
getStyleClassPrefix()

getImage

public String getImage()
Gets the image attribute (String)
Returns:
the URL location of the chart

getAlternateText

public String getAlternateText()
Gets the alternateText attribute (String)
Returns:
The alternate text

getAlignment

public String getAlignment()
Gets the alignment attribute (String)
Returns:
the text alignment of the chart

getHeight

public int getHeight()
Gets the height attribute (int)
Returns:
the height of the chart

getWidth

public int getWidth()
Gets the width attribute (int)
Returns:
the width of the chart

getHorizontalSpace

public int getHorizontalSpace()
Gets the horizontalSpace attribute (int)
Returns:
the horizontal spacing

getVerticalSpace

public int getVerticalSpace()
Gets the verticalSpace attribute (int)
Returns:
the vertical spacing

getBorderWidth

public int getBorderWidth()
Gets the borderWidth attribute (int) The default borderWidth is 0.
Returns:
the border width

getURL

public String getURL()
Gets the URL property (String) o
Returns:
the URL to which the chart should linked

getTarget

public String getTarget()
Gets the target attribute (String)
Returns:
the target the chart

isAllActionsVisible

public boolean isAllActionsVisible()
Gets the allActionVisible attribute (boolean)
Returns:
the allActionVisible setting

isGalleryImageVisible

public boolean isGalleryImageVisible()
Gets the galleryImageVisible attribute (boolean)
Returns:
galleryImageVisible setting.

getStyleClassPrefix

public String getStyleClassPrefix()
Returns the styleClassPrefix property.
Returns:
the String that is prepends the style class..
See Also:
setStyleClassPrefix(java.lang.String)

applyAttributes

protected void applyAttributes()
                        throws JspException
Sets the attributes (image, alternateText, alignment, height, width, horizontalSpace, verticalSpace, borderWidth, useAsFormElement, URL, target, model, modelObject) on the underlying Image object.
Overrides:
applyAttributes in class BaseActionTransformationBodyTag
Following copied from class: com.sas.taglib.servlet.tbeans.BaseTransformationBodyTag
Parameters:
baseTag - Any class which extends TransformationInterface is valid
Throws:
JspException - Thrown if a JspException occurs.

***  This class is subject to change   ***




Copyright © 2005 SAS Institute Inc. All Rights Reserved.
javadoc generated Thu, 16 Feb 2006 02:29:02