pt.digitalis.dif.presentation.views.jsp.taglibs.layout.panels
Class PropertiesEditor

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by pt.digitalis.dif.presentation.views.jsp.taglibs.AbstractDIFTag
              extended by pt.digitalis.dif.presentation.views.jsp.taglibs.AbstractInnerDIFTag
                  extended by pt.digitalis.dif.presentation.views.jsp.taglibs.layout.panels.grid.AbstractGridTag
                      extended by pt.digitalis.dif.presentation.views.jsp.taglibs.layout.panels.PropertiesEditor
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag, IFootnoteContainer, ITagExecutionContext, ITreeItemContainer

public class PropertiesEditor
extends AbstractGridTag
implements IFootnoteContainer, ITreeItemContainer

Componente editor de propriedades. Lista de campos diversos para edição (tipo property inspector)

Author:
Pedro Viegas pviegas@digitalis.pt
See Also:
Serialized Form
Created on:
2010/04/01

Field Summary
 
Fields inherited from class pt.digitalis.dif.presentation.views.jsp.taglibs.layout.panels.grid.AbstractGridTag
theFootnotesManager, title
 
Fields inherited from class pt.digitalis.dif.presentation.views.jsp.taglibs.AbstractDIFTag
DOCUMENT_ID, DOCUMENT_SECURITY_TOKEN, MAIN_RESPONSE_ID, PAGE_CONTENT_ATTRIBUTE
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
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
PropertiesEditor()
           
 
Method Summary
 void addFootnotes(java.util.List<FootnoteBean> footnotes)
          Adds new footnotes to the container.
 void addItem(TreeItem item)
          Adds a new contained item to the container
protected  void cleanUp()
          clean up tag for future reuse
 void clearItems()
          Clears all item sin the list
 int doEndTag()
           
 int doStartTag()
           
 AbstractGridDefinition getDefinition()
          Get the Abstract grid definition
 java.lang.Integer getHeight()
          Inspector for the 'height' attribute.
 java.util.List<TreeItemDefinition> getItems()
          Inspector for the 'items' attribute.
 java.util.List<PropertiesEditorItem> getProps()
          Inspector for the 'props' attribute.
 ITreeItemContainer getTreeItemManager()
          Inspector for the 'treeItemManager' attribute.
 void setHeight(java.lang.Integer height)
          Modifier for the 'height' attribute.
 void setItems(java.util.List<TreeItemDefinition> items)
          Modifier for the 'items' attribute.
 void setProps(java.util.List<PropertiesEditorItem> props)
          Modifier for the 'props' attribute.
 void setTreeItemManager(ITreeItemContainer treeItemManager)
          Modifier for the 'treeItemManager' attribute.
 
Methods inherited from class pt.digitalis.dif.presentation.views.jsp.taglibs.layout.panels.grid.AbstractGridTag
addFootnote, clearAllFootnotes, containsFootnote, getAjaxEvent, getFootnote, getFootnoteSequenceNumber, getFootnotesList, getFootnotesManager, getGroupColumn, getId, getTitle, hasFootnotes, isAddForm, isRenderInnerContentOnTopPanel, setAddForm, setAjaxEvent, setGroupColumn, setId, setRenderInnerContentOnTopPanel, setTitle
 
Methods inherited from class pt.digitalis.dif.presentation.views.jsp.taglibs.AbstractInnerDIFTag
addHelpItem, bufferInnerContributions, flushContributions, flushContributions, flushContributions, getApplicationID, getComponentGeneratedId, getContributions, getDocumentTag, getLanguage, getLoggedProfileID, getLoggedProfileName, getLoggedUserFullName, getLoggedUserGroupIDs, getLoggedUsername, getMainDocumentTag, getMainRequestedStageID, getParentFootnoteContainerTag, getServiceID, getStageID, getTabIndexAttribute, getTabIndexAttribute, getTabIndexNumber, hasAccessToStage, hasAccessToStage, isLogged
 
Methods inherited from class pt.digitalis.dif.presentation.views.jsp.taglibs.AbstractDIFTag
getAuthorizationManager, getConfigurations, getDemManager, getDIFRequest, getDIFResponse, getDIFSession, getHttpControllerConfig, getIdentityManager, getMainRequest, getMainResponse, getMessageManager, getParameter, getParameterValueAsBoolean, getParameterValueAsString, getResponseBeanValue, getSecurityToken, getSessionManager, getStageInstance, getStageLink, getStageLink, getStageLinkURL, getStageLinkWithParameters, getTagMessage, getTagMessages, getTagMessages, getTagMessages, getUILevel, getWebUIHTMLGenerator, getWebUIJavascriptProvider, getWebUIStyleProvider, isAjaxMode, isComponentMode, isHelpMode, isPopupMode, isTemplateMode, setDIFResponse
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getParent, getValue, getValues, removeValue, 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 pt.digitalis.dif.presentation.views.jsp.taglibs.interfaces.IFootnoteContainer
addFootnote, clearAllFootnotes, containsFootnote, getFootnote, getFootnoteSequenceNumber, getFootnotesList, hasFootnotes
 
Methods inherited from interface pt.digitalis.dif.presentation.views.jsp.taglibs.interfaces.ITagExecutionContext
getSecurityToken, getTagMessage, getTagMessages, getUILevel, isAjaxMode, isComponentMode, isHelpMode, isPopupMode, isTemplateMode
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Constructor Detail

PropertiesEditor

public PropertiesEditor()
Method Detail

addFootnotes

public void addFootnotes(java.util.List<FootnoteBean> footnotes)
Description copied from interface: IFootnoteContainer
Adds new footnotes to the container.

Specified by:
addFootnotes in interface IFootnoteContainer
Parameters:
footnotes - the footnotes to add
See Also:
IFootnoteContainer.addFootnotes(java.util.List)

addItem

public void addItem(TreeItem item)
Description copied from interface: ITreeItemContainer
Adds a new contained item to the container

Specified by:
addItem in interface ITreeItemContainer
Parameters:
item - the item to add
See Also:
ITreeItemContainer.addItem(pt.digitalis.dif.presentation.views.jsp.taglibs.layout.panels.TreeItem)

cleanUp

protected void cleanUp()
clean up tag for future reuse


clearItems

public void clearItems()
Description copied from interface: ITreeItemContainer
Clears all item sin the list

Specified by:
clearItems in interface ITreeItemContainer
See Also:
ITreeItemContainer.clearItems()

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class javax.servlet.jsp.tagext.BodyTagSupport
Throws:
javax.servlet.jsp.JspException
See Also:
BodyTagSupport.doEndTag()

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.BodyTagSupport
Throws:
javax.servlet.jsp.JspException
See Also:
BodyTagSupport.doStartTag()

getDefinition

public AbstractGridDefinition getDefinition()
Description copied from class: AbstractGridTag
Get the Abstract grid definition

Specified by:
getDefinition in class AbstractGridTag
Returns:
the abstract definition
See Also:
AbstractGridTag.getDefinition()

getHeight

public java.lang.Integer getHeight()
Inspector for the 'height' attribute.

Returns:
the height value

getItems

public java.util.List<TreeItemDefinition> getItems()
Description copied from interface: ITreeItemContainer
Inspector for the 'items' attribute.

Specified by:
getItems in interface ITreeItemContainer
Returns:
the items value
See Also:
ITreeItemContainer.getItems()

getProps

public java.util.List<PropertiesEditorItem> getProps()
Inspector for the 'props' attribute.

Returns:
the props value

getTreeItemManager

public ITreeItemContainer getTreeItemManager()
Inspector for the 'treeItemManager' attribute.

Returns:
the treeItemManager value

setHeight

public void setHeight(java.lang.Integer height)
Modifier for the 'height' attribute.

Parameters:
height - the new height value to set

setItems

public void setItems(java.util.List<TreeItemDefinition> items)
Description copied from interface: ITreeItemContainer
Modifier for the 'items' attribute.

Specified by:
setItems in interface ITreeItemContainer
Parameters:
items - the new items value to set
See Also:
ITreeItemContainer.setItems(java.util.List)

setProps

public void setProps(java.util.List<PropertiesEditorItem> props)
Modifier for the 'props' attribute.

Parameters:
props - the new props value to set

setTreeItemManager

public void setTreeItemManager(ITreeItemContainer treeItemManager)
Modifier for the 'treeItemManager' attribute.

Parameters:
treeItemManager - the new treeItemManager value to set


Copyright © 2011 Digitalis Informática Lda. All Rights Reserved.