to.etc.domui.dom.html
Class ModificationFenceDiv

java.lang.Object
  extended by to.etc.domui.dom.css.CssBase
      extended by to.etc.domui.dom.html.NodeBase
          extended by to.etc.domui.dom.html.NodeContainer
              extended by to.etc.domui.dom.html.Div
                  extended by to.etc.domui.dom.html.ModificationFenceDiv
All Implemented Interfaces:
java.lang.Iterable<NodeBase>, IModelBinding, INodeErrorDelegate, IHasModifiedIndication, IUserInputModifiedFence, IDraggable, IDropTargetable

public class ModificationFenceDiv
extends Div
implements IUserInputModifiedFence

This is DIV that is used as user input modified flag fence. Usually it is used to ignore input controls modification in some screen region. When components are used for read only data presentation purposes (like viewers of selection filters) those components does not modify any page value content.

Author:
Igor Milovanović Created on Dec 8, 2009

Constructor Summary
ModificationFenceDiv()
           
 
Method Summary
 boolean isFinalUserInputModifiedFence()
           
 boolean isIgnoreModifiedInputs()
          Indicates wether component keep tracks on its childs modifications.
 boolean isModified()
          Returns the modified-by-user flag.
 void onModifyFlagRaised()
          Used to notify fence component in case when its modified flag is being set for first time.
 void setFinalUserInputModifiedFence(boolean finalUserInputModifiedFence)
           
 void setIgnoreModifiedInputs(boolean ignoreModifiedInputs)
           
 void setModified(boolean as)
          Set or clear the modified by user flag.
 
Methods inherited from class to.etc.domui.dom.html.Div
afterCreateContent, componentHandleWebAction, fadeIn, fadeIn, fadeOut, getDragHandler, getDropBody, getDropHandler, getDropMode, getReturnPressed, setDragHandler, setDropBody, setDropHandler, setReturnPressed, slideDown, slideUp, tb, visit
 
Methods inherited from class to.etc.domui.dom.html.NodeContainer
add, add, add, addTable, canContain, delegateTo, findChildIndex, forceRebuild, getChild, getChildCount, getChildren, getDeepChild, getDeepChildren, getErrorFence, internalCheckNotDirty, internalClearDelta, internalClearDeltaFully, internalGetOldChildren, internalShelve, internalUnshelve, iterator, moveControlToModel, moveModelToControl, onRefresh, removeAllChildren, removeChild, removeChild, replaceChild, setControlsEnabled, setErrorFence, setErrorFence, setText, setValue
 
Methods inherited from class to.etc.domui.dom.html.NodeBase
$, acceptRequestParameter, addCssClass, addGlobalMessage, appendAfterMe, appendBeforeMe, appendCreateJS, appendJavascript, build, changed, clearFocusRequested, clearGlobalMessage, clearGlobalMessage, clearGlobalMessage, clearMessage, createContent, findComponentBundle, getActualID, getClicked, getComponentBundle, getCreateJS, getCssClass, getErrorDelegate, getErrorLocation, getMessage, getOnClickJS, getOnMouseDownJS, getPage, getParent, getParent, getParent, getSharedContext, getSpecialAttribute, getSpecialAttributeList, getTag, getTestID, getTitle, getUserObject, handleDrop, hasCssClass, hasError, internalGetOldParent, internalHasChangedAttributes, internalNeedClickHandler, internalOnClicked, internalSetHasChangedAttributes, internalSetHasChangedAttributes, internalSetTag, isBuilt, isFocusRequested, onAddedToPage, onBeforeFullRender, onForceRebuild, onHeaderContributors, onRemoveFromPage, onShelve, onUnshelve, refresh, remove, removeCssClass, renderJavascriptState, replaceWith, setClicked, setComponentBundle, setCssClass, setErrorDelegate, setErrorLocation, setFocus, setMessage, setOnClickJS, setOnMouseDownJS, setSpecialAttribute, setTestID, setTitle, setUserObject, stretchHeight, toString
 
Methods inherited from class to.etc.domui.dom.css.CssBase
getBackgroundAttachment, getBackgroundColor, getBackgroundImage, getBackgroundPosition, getBackgroundRepeat, getBorderBottomColor, getBorderBottomStyle, getBorderBottomWidth, getBorderLeftColor, getBorderLeftStyle, getBorderLeftWidth, getBorderRightColor, getBorderRightStyle, getBorderRightWidth, getBorderTopColor, getBorderTopStyle, getBorderTopWidth, getBottom, getCachedStyle, getClear, getColor, getDisplay, getFloat, getFontFamily, getFontSize, getFontSizeAdjust, getFontStyle, getFontVariant, getFontWeight, getHeight, getLeft, getLineHeight, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOverflow, getPosition, getRight, getTextAlign, getTop, getTransform, getVerticalAlign, getVisibility, getWidth, getZIndex, internalSetDisplay, setBackgroundAttachment, setBackgroundColor, setBackgroundImage, setBackgroundPosition, setBackgroundRepeat, setBorder, setBorder, setBorderBottomColor, setBorderBottomStyle, setBorderBottomWidth, setBorderColor, setBorderLeftColor, setBorderLeftStyle, setBorderLeftWidth, setBorderRightColor, setBorderRightStyle, setBorderRightWidth, setBorderStyle, setBorderTopColor, setBorderTopStyle, setBorderTopWidth, setBorderWidth, setBottom, setBottom, setCachedStyle, setClear, setColor, setDisplay, setFloat, setFontFamily, setFontSize, setFontSizeAdjust, setFontStyle, setFontVariant, setFontWeight, setHeight, setLeft, setLeft, setLineHeight, setMargin, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setOverflow, setPosition, setRight, setRight, setTextAlign, setTop, setTop, setTransform, setVerticalAlign, setVisibility, setWidth, setZIndex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ModificationFenceDiv

public ModificationFenceDiv()
Method Detail

isIgnoreModifiedInputs

public boolean isIgnoreModifiedInputs()
Indicates wether component keep tracks on its childs modifications. By default set to true.

Returns:

setIgnoreModifiedInputs

public void setIgnoreModifiedInputs(boolean ignoreModifiedInputs)

isFinalUserInputModifiedFence

public boolean isFinalUserInputModifiedFence()
Specified by:
isFinalUserInputModifiedFence in interface IUserInputModifiedFence
See Also:
By default set to true.

setFinalUserInputModifiedFence

public void setFinalUserInputModifiedFence(boolean finalUserInputModifiedFence)
See Also:
IUserInputModifiedFence.isFinalUserInputModifiedFence()

onModifyFlagRaised

public void onModifyFlagRaised()
Description copied from interface: IUserInputModifiedFence
Used to notify fence component in case when its modified flag is being set for first time.

Specified by:
onModifyFlagRaised in interface IUserInputModifiedFence

isModified

public boolean isModified()
Description copied from interface: IHasModifiedIndication
Returns the modified-by-user flag.

Specified by:
isModified in interface IHasModifiedIndication

setModified

public void setModified(boolean as)
Description copied from interface: IHasModifiedIndication
Set or clear the modified by user flag.

Specified by:
setModified in interface IHasModifiedIndication