public class Div extends NodeContainer implements IDropTargetable, IDraggable, IDropBody
| Constructor and Description |
|---|
Div() |
Div(NodeBase... children) |
Div(String css) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterCreateContent() |
void |
componentHandleWebAction(RequestContextImpl ctx,
String action)
Handle the action sent by the return pressed Javascript thingerydoo.
|
void |
fadeIn()
Redisplay a display: fadeIn thing slowly.
|
void |
fadeOut()
Effect: hide this div by fading out.
|
protected static String |
getCustomUpdatesCallJS()
Returns Domui internal javascript call: WebUI.doCustomUpdates();
|
IDragHandler |
getDragHandler()
Returns the current handler for dragging.
|
IDropBody |
getDropBody() |
IDropHandler |
getDropHandler()
Return the current drop handler for a node.
|
DropMode |
getDropMode() |
IReturnPressed<? extends NodeBase> |
getReturnPressed() |
void |
setDragHandler(IDragHandler dragHandler)
Set the drag handler to use for this thingy.
|
void |
setDropBody(IDropBody body,
DropMode dropMode)
Sets this DIV in table-drop mode.
|
void |
setDropHandler(IDropHandler dropHandler)
Make this node acceptable for dropping dragged items into.
|
void |
setReturnPressed(IReturnPressed<? extends NodeBase> returnPressed) |
void |
slideDown()
Redisplay a display: slideDown thing slowly.
|
void |
slideUp()
Effect: hide this div by adjusting it's height, ending as a display: none.
|
MiniTableBuilder |
tb() |
void |
visit(INodeVisitor v)
This must visit the appropriate method in the node visitor.
|
add, add, add, addTable, addTableForLayout, addTableForLayout, appendTreeErrors, canContain, createFrame, delegateTo, disableAllChildControlsDeep, findChildIndex, forceRebuild, getChild, getChildCount, getChildren, getDeepChildren, getDelegate, getErrorFence, getTextContents, hasError, internalAdd, internalCheckNotDirty, internalClearDelta, internalClearDeltaFully, internalCreateFrame, internalGetNodeCount, internalGetOldChildren, internalOnBeforeRender, internalShelve, internalUnshelve, iterator, onRefresh, removeAllChildren, removeChild, removeChild, replaceChild, setErrorFence, setErrorFence, setText, setValue, undelegatedAdd, undelegatedGetChild$, acceptRequestParameter, addBinding, addCssClass, addGlobalMessage, addNotificationListener, alignToLeft, alignToLeft, alignToMiddle, alignToMiddle, alignTopToBottom, alignTopToBottom, alignToRight, alignToRight, alignToTop, alignToTop, appendAfterMe, appendBeforeMe, appendCreateJS, appendJavascript, appendJQuerySelector, appendJsCustomUpdatesContributor, appendShowOverflowTextAsTitleJs, appendStatement, beforeCreateContent, bind, bind, bindErrors, build, calcTestID, changed, changedJavascriptState, clearFocusRequested, clearGlobalMessage, clearGlobalMessage, clearGlobalMessage, clearMessage, clearValidationFailure, componentHandleWebDataRequest, createContent, createStatement, findComponentBundle, findParent, getActualID, getAllocationTracepoint, getBindingErrors, getBindingList, getBrowserWindowSize, getCalculatedTestID, getClicked, getClientBounds, getComponentBundle, getComponentDataURL, getComponentDataURL, getComponentInfo, getComponentJSONURL, getCreateJS, getCssClass, getErrorList, getErrorLocation, getFocusID, getMessage, getOnClickJS, getOnMouseDownJS, getOnSizeAndPositionChange, getPage, getParent, getParent, getParent, getParentOfTypes, getSharedContext, getSharedContextFactory, getSpecialAttribute, getSpecialAttributeList, getTag, getTestID, getTestRepeatId, getThemedResourceRURL, getTitle, getUserObject, handleDrop, hasCssClass, hasParent, internalGetOldParent, internalGetParent, internalHasChangedAttributes, internalNeedClickHandler, internalOnClicked, internalOnValueChanged, internalRenderJavascriptDelta, internalRenderJavascriptState, internalSetHasChangedAttributes, internalSetHasChangedAttributes, internalSetLogAllocations, internalSetTag, isAttached, isBuilt, isFocusable, isFocusRequested, isRendersOwnClose, isStretchHeight, lc, notify, notifyParentOrOpenerPage, onAddedToPage, onBeforeFullRender, onBeforeRender, onForceRebuild, onHeaderContributors, onRemoveFromPage, onShelve, onUnshelve, refresh, remove, removeBinding, removeCssClass, renderJavascriptDelta, renderJavascriptState, renderJavascriptState, replaceWith, setBrowserWindowSize, setCalculcatedId, setCalculcatedId, setClicked, setClientBounds, setComponentBundle, setCssClass, setErrorLocation, setFocus, setMessage, setOnClickJS, setOnMouseDownJS, setOnSizeAndPositionChange, setOverrideTitle, setSpecialAttribute, setStretchHeight, setTestID, setTestRepeatID, setTitle, setUserObject, toStringgetBackgroundAttachment, 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, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, 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, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setPosition, setRight, setRight, setTextAlign, setTop, setTop, setTransform, setVerticalAlign, setVisibility, setWidth, setZIndexclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic void visit(INodeVisitor v) throws Exception
NodeBasepublic IReturnPressed<? extends NodeBase> getReturnPressed()
public void setReturnPressed(IReturnPressed<? extends NodeBase> returnPressed)
protected void afterCreateContent()
throws Exception
afterCreateContent in class NodeBaseExceptionpublic void componentHandleWebAction(@Nonnull RequestContextImpl ctx, @Nonnull String action) throws Exception
componentHandleWebAction in class NodeBaseExceptionNodeBase.componentHandleWebAction(to.etc.domui.server.RequestContextImpl, java.lang.String)public MiniTableBuilder tb()
public void setDragHandler(IDragHandler dragHandler)
setDragHandler in interface IDraggableIDraggable.setDragHandler(to.etc.domui.util.IDragHandler)public IDragHandler getDragHandler()
getDragHandler in interface IDraggableIDraggable.getDragHandler()public IDropHandler getDropHandler()
getDropHandler in interface IDropTargetableIDropTargetable.getDropHandler()public void setDropHandler(IDropHandler dropHandler)
setDropHandler in interface IDropTargetableIDropTargetable.setDropHandler(to.etc.domui.util.IDropHandler)public void setDropBody(@Nonnull IDropBody body, DropMode dropMode)
body - dropMode - public IDropBody getDropBody()
public DropMode getDropMode()
public void slideUp()
getCustomUpdatesCallJS() callback.public void slideDown()
getCustomUpdatesCallJS() callback.public void fadeOut()
getCustomUpdatesCallJS() callback.public void fadeIn()
getCustomUpdatesCallJS() callback.protected static String getCustomUpdatesCallJS()
Copyright © 2017 etc.to. All rights reserved.