|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectto.etc.domui.dom.css.CssBase
to.etc.domui.dom.html.NodeBase
to.etc.domui.dom.html.NodeContainer
to.etc.domui.dom.html.Div
public class Div
Constructor Summary | |
---|---|
Div()
|
|
Div(NodeBase... children)
|
|
Div(java.lang.String txt)
|
Method Summary | |
---|---|
protected void |
afterCreateContent()
|
void |
componentHandleWebAction(RequestContextImpl ctx,
java.lang.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 java.lang.String |
getCustomUpdatesCallJS()
Returns Domui internal javascript call: WebUI.doCustomUpdates(); |
IDragHandler |
getDragHandler()
Returns the current handler for dragging. |
TBody |
getDropBody()
|
IDropHandler |
getDropHandler()
Return the current drop handler for a node. |
DropMode |
getDropMode()
|
IReturnPressed |
getReturnPressed()
|
void |
setDragHandler(IDragHandler dragHandler)
Set the drag handler to use for this thingy. |
void |
setDropBody(TBody 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 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. |
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 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Div()
public Div(java.lang.String txt)
public Div(NodeBase... children)
Method Detail |
---|
public void visit(INodeVisitor v) throws java.lang.Exception
NodeBase
visit
in class NodeBase
java.lang.Exception
public IReturnPressed getReturnPressed()
public void setReturnPressed(IReturnPressed returnPressed)
protected void afterCreateContent() throws java.lang.Exception
afterCreateContent
in class NodeBase
java.lang.Exception
public void componentHandleWebAction(RequestContextImpl ctx, java.lang.String action) throws java.lang.Exception
componentHandleWebAction
in class NodeBase
java.lang.Exception
NodeBase.componentHandleWebAction(to.etc.domui.server.RequestContextImpl, java.lang.String)
public MiniTableBuilder tb()
public void setDragHandler(IDragHandler dragHandler)
setDragHandler
in interface IDraggable
IDraggable.setDragHandler(to.etc.domui.util.IDragHandler)
public IDragHandler getDragHandler()
getDragHandler
in interface IDraggable
IDraggable.getDragHandler()
public IDropHandler getDropHandler()
getDropHandler
in interface IDropTargetable
IDropTargetable.getDropHandler()
public void setDropHandler(IDropHandler dropHandler)
setDropHandler
in interface IDropTargetable
IDropTargetable.setDropHandler(to.etc.domui.util.IDropHandler)
public void setDropBody(TBody body, DropMode dropMode)
body
- dropMode
- public TBody 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 java.lang.String getCustomUpdatesCallJS()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |