com.cc.framework.taglib.base
Class InnerFrameTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byjavax.servlet.jsp.tagext.BodyTagSupport
          extended bycom.cc.framework.taglib.base.InnerFrameTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class InnerFrameTag
extends javax.servlet.jsp.tagext.BodyTagSupport

Inner frame definition

Version:
$Revision: 1.3 $
Author:
Harald Schulz
See Also:
Serialized Form

Field Summary
private  InnerFrame frame
          Design model
private static long serialVersionUID
          Serial Version UID
 
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
InnerFrameTag()
          Constructor
 
Method Summary
 int doAfterBody()
           
protected  InnerFrame doCreateInnerFrame()
          Creates the inner frame element
 int doEndTag()
           
 int doStartTag()
           
protected  InnerFrame getInnerFrame()
          Returns the DesignModel for the inner frame
 void release()
           
protected  void releaseInnerFrame()
          This method gets called when the design model is not longer needed
 void setBorder(java.lang.String border)
          Enables or Disables the frames border
 void setHeight(java.lang.String height)
          Sets the height of the frame element (pixel or %)
 void setPageContext(javax.servlet.jsp.PageContext pc)
           
 void setPermission(java.lang.String permission)
          Sets the permission for the element
 void setStyle(java.lang.String style)
          An HTML-style.
 void setStyleClass(java.lang.String styleClass)
          The HTML-class attribute.
 void setStyleId(java.lang.String styleId)
          The HTML-id attribute.
 void setSummary(java.lang.String summary)
          Sets the property that can be used for rendering to non-visual media such as speech or Braille
 void setValign(java.lang.String alignment)
          Specifies the alignment of the inner frame in the surrounding container: top = top alignment.
 void setWidth(java.lang.String width)
          Sets the width of the frame element (pixel or %)
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doInitBody, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, 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, setParent
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serial Version UID

See Also:
Constant Field Values

frame

private InnerFrame frame
Design model

Constructor Detail

InnerFrameTag

public InnerFrameTag()
Constructor

Method Detail

getInnerFrame

protected InnerFrame getInnerFrame()
Returns the DesignModel for the inner frame

Returns:
ColumnDesignModel

doCreateInnerFrame

protected InnerFrame doCreateInnerFrame()
Creates the inner frame element

Returns:
Group Element

releaseInnerFrame

protected void releaseInnerFrame()
This method gets called when the design model is not longer needed


setPageContext

public void setPageContext(javax.servlet.jsp.PageContext pc)
See Also:
Tag.setPageContext(PageContext pc)

release

public void release()
See Also:
Tag.release()

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException
See Also:
Tag.doStartTag()

doAfterBody

public int doAfterBody()
                throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException
See Also:
IterationTag.doAfterBody()

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException
See Also:
Tag.doEndTag()

setSummary

public void setSummary(java.lang.String summary)
Sets the property that can be used for rendering to non-visual media such as speech or Braille

Parameters:
summary - specifies a description and/or structure of the object.

setPermission

public void setPermission(java.lang.String permission)
                   throws javax.servlet.jsp.JspException
Sets the permission for the element

Parameters:
permission - Permission
Throws:
javax.servlet.jsp.JspException - If the Argument can't be converted to Permission

setHeight

public void setHeight(java.lang.String height)
Sets the height of the frame element (pixel or %)

Parameters:
height - The Height

setWidth

public void setWidth(java.lang.String width)
Sets the width of the frame element (pixel or %)

Parameters:
width - The Width

setValign

public void setValign(java.lang.String alignment)
               throws javax.servlet.jsp.JspException
Specifies the alignment of the inner frame in the surrounding container:

Parameters:
alignment - The alignment of the column
Throws:
javax.servlet.jsp.JspException - If the argument can not be parsed

setStyle

public void setStyle(java.lang.String style)
An HTML-style. See HTML documentation for the attribute style.

Parameters:
style - An HTML-style

setStyleClass

public void setStyleClass(java.lang.String styleClass)
The HTML-class attribute. See HTML documentation for the attribute class.

Parameters:
styleClass - The HTML-class attribute

setStyleId

public void setStyleId(java.lang.String styleId)
The HTML-id attribute. See HTML documentation for the Attribute id.

Parameters:
styleId - The HTML-id attribute

setBorder

public void setBorder(java.lang.String border)
               throws javax.servlet.jsp.JspException
Enables or Disables the frames border

Parameters:
border - true if the frames should be visible
Throws:
javax.servlet.jsp.JspException - If the Argument can't be converted to boolean


Copyright © 2000-2005 SCC Informationssysteme GmbH. All Rights Reserved.