org.apache.tapestry.dojo.html
Class Dialog

java.lang.Object
  extended by org.apache.hivemind.impl.BaseLocatable
      extended by org.apache.tapestry.AbstractComponent
          extended by org.apache.tapestry.dojo.AbstractWidget
              extended by org.apache.tapestry.dojo.html.Dialog
All Implemented Interfaces:
org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder, IWidget, IComponent, IDirectEvent, Component, IRender

public abstract class Dialog
extends AbstractWidget

Implementation of dojo Dialog widget.


Field Summary
 
Fields inherited from class org.apache.tapestry.AbstractComponent
_body, _bodyCount
 
Constructor Summary
Dialog()
           
 
Method Summary
abstract  String getBackgroundColor()
           
abstract  int getBlockDuration()
           
abstract  boolean getCloseOnBackgroundClick()
           
abstract  boolean getFollowScroll()
           
abstract  int getLifeTime()
           
abstract  float getOpacity()
           
abstract  IScript getScript()
          injected.
abstract  String getToggle()
           
abstract  int getToggleDuration()
           
 void hide()
           
abstract  boolean isHidden()
           
 void renderWidget(IMarkupWriter writer, IRequestCycle cycle)
          Similar to the semantics involved with normal AbstractComponent.renderComponent method writing component state to the output stream.
abstract  void setHidden(boolean hidden)
           
 void show()
           
 
Methods inherited from class org.apache.tapestry.dojo.AbstractWidget
getDestroy, renderComponent, setDestroy
 
Methods inherited from class org.apache.tapestry.AbstractComponent
addAsset, addBody, addComponent, checkActiveLock, cleanupAfterRender, enterActiveState, equals, finishLoad, finishLoad, generateClientId, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getBody, getBodyCount, getBoundId, getClientId, getComponent, getComponents, getContainedComponent, getContainedRenderers, getContainer, getEventInvoker, getExtendedId, getId, getIdPath, getInnerRenderers, getListeners, getMessages, getNamespace, getPage, getRenderWorker, getSpecification, getSpecifiedId, getTemplateTagName, hasEvents, hashCode, isInActiveState, isParameterBound, isRendering, isStateful, pageEndRender, peekClientId, prepareForRender, render, renderBody, renderIdAttribute, renderInformalParameters, setBinding, setClientId, setContainedComponent, setContainer, setHasEvents, setId, setNamespace, setPage, setTemplateTagName, toString, triggerEvent
 
Methods inherited from class org.apache.hivemind.impl.BaseLocatable
getLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.tapestry.IDirectEvent
isStateful, triggerEvent
 
Methods inherited from interface org.apache.tapestry.IComponent
addAsset, addBody, addComponent, enterActiveState, finishLoad, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getClientId, getComponent, getComponents, getContainedComponent, getContainer, getEventInvoker, getExtendedId, getId, getIdPath, getListeners, getMessages, getNamespace, getPage, getSpecification, getSpecifiedId, getTemplateTagName, isRendering, peekClientId, renderBody, setBinding, setClientId, setContainedComponent, setContainer, setId, setNamespace, setPage, setTemplateTagName
 
Methods inherited from interface org.apache.tapestry.IRender
render
 
Methods inherited from interface org.apache.hivemind.LocationHolder
setLocation
 
Methods inherited from interface org.apache.hivemind.Locatable
getLocation
 

Constructor Detail

Dialog

public Dialog()
Method Detail

isHidden

public abstract boolean isHidden()

setHidden

public abstract void setHidden(boolean hidden)

getBackgroundColor

public abstract String getBackgroundColor()

getOpacity

public abstract float getOpacity()

getFollowScroll

public abstract boolean getFollowScroll()

getCloseOnBackgroundClick

public abstract boolean getCloseOnBackgroundClick()

getBlockDuration

public abstract int getBlockDuration()

getLifeTime

public abstract int getLifeTime()

getToggle

public abstract String getToggle()

getToggleDuration

public abstract int getToggleDuration()

show

public void show()

hide

public void hide()

renderWidget

public void renderWidget(IMarkupWriter writer,
                         IRequestCycle cycle)
Similar to the semantics involved with normal AbstractComponent.renderComponent method writing component state to the output stream.

Parameters:
writer - The markup writer used to write any output.
cycle - The corresponding request.

getScript

public abstract IScript getScript()
injected.



Copyright © 2006-2007 Apache Software Foundation. All Rights Reserved.