org.apache.tapestry.dojo.html
Class FloatingPane

java.lang.Object
  extended by org.apache.hivemind.impl.BaseLocatable
      extended by org.apache.tapestry.AbstractComponent
          extended by org.apache.tapestry.dojo.html.FloatingPane
All Implemented Interfaces:
org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder, IDojoContentPane, IDojoFloatingPane, IDojoHtmlWidget, IWidget, IComponent, IDirectEvent, IRender

public abstract class FloatingPane
extends AbstractComponent
implements IWidget, IDojoFloatingPane

Implementation of dojo's FloatingPane.

Since:
4.1
Author:
andyhot

Constructor Summary
FloatingPane()
           
 
Method Summary
abstract  boolean getHasToolbar()
          Has Tool bar.
abstract  java.lang.String getIdParameter()
          id.
abstract  boolean getIsTaskBar()
          Is this pane a taskBar?
abstract  java.lang.String getOptions()
          More js options - JSON style.
abstract  boolean getPersistPosition()
          Should persist position (with cookies).
abstract  IScript getScript()
          Injected script.
 java.lang.String getTaskBarId()
          Get the id of the connected taskBar.
abstract  boolean isResizable()
          Allow resize.
protected  void renderComponent(IMarkupWriter writer, IRequestCycle cycle)
          Invoked by AbstractComponent.render(IMarkupWriter, IRequestCycle)to actually render the component (with any parameter values already set).
 void renderWidget(IMarkupWriter writer, IRequestCycle cycle)
          Similar to the semantics involved with normal AbstractComponent.renderComponent method writing component state to the output stream.
 
Methods inherited from class org.apache.tapestry.AbstractComponent
addAsset, addBody, addComponent, checkActiveLock, cleanupAfterRender, enterActiveState, finishLoad, finishLoad, format, format, format, format, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getBody, getBodyCount, getClientId, getComponent, getComponents, getContainedComponent, getContainer, getEventInvoker, getExtendedId, getId, getIdPath, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, isInActiveState, isParameterBound, isRendering, isStateful, pageEndRender, prepareForRender, render, renderBody, renderIdAttribute, renderInformalParameters, setBinding, setContainedComponent, setContainer, setId, setNamespace, setPage, setProperty, toString, triggerEvent
 
Methods inherited from class org.apache.hivemind.impl.BaseLocatable
getLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, 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, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, isRendering, renderBody, setBinding, setContainedComponent, setContainer, setId, setNamespace, setPage, setProperty
 
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
 
Methods inherited from interface org.apache.tapestry.dojo.html.IDojoFloatingPane
getConstrainToContainer, getDisplayCloseAction, getDisplayMaximizeAction, getDisplayMinimizeAction, getHasShadow, getIcon, getMinHeight, getMinWidth, getTaskBar, getTitle
 
Methods inherited from interface org.apache.tapestry.dojo.html.IDojoContentPane
getHref
 
Methods inherited from interface org.apache.tapestry.dojo.html.IDojoHtmlWidget
getToggle, getToggleDuration
 

Constructor Detail

FloatingPane

public FloatingPane()
Method Detail

getHasToolbar

public abstract boolean getHasToolbar()
Has Tool bar.


isResizable

public abstract boolean isResizable()
Allow resize.


getPersistPosition

public abstract boolean getPersistPosition()
Should persist position (with cookies).


getIdParameter

public abstract java.lang.String getIdParameter()
id.


getIsTaskBar

public abstract boolean getIsTaskBar()
Is this pane a taskBar?


getOptions

public abstract java.lang.String getOptions()
More js options - JSON style.


getScript

public abstract IScript getScript()
Injected script.


getTaskBarId

public java.lang.String getTaskBarId()
Get the id of the connected taskBar.


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.

Specified by:
renderWidget in interface IWidget
Parameters:
writer - The markup writer used to write any output.
cycle - The corresponding request.

renderComponent

protected void renderComponent(IMarkupWriter writer,
                               IRequestCycle cycle)
Description copied from class: AbstractComponent
Invoked by AbstractComponent.render(IMarkupWriter, IRequestCycle)to actually render the component (with any parameter values already set). This is the method that subclasses must implement.

Specified by:
renderComponent in class AbstractComponent
See Also:
AbstractComponent.renderComponent(org.apache.tapestry.IMarkupWriter, org.apache.tapestry.IRequestCycle)


Copyright © 2006 Apache Software Foundation. All Rights Reserved.