com.nordija.tapestry.bayeux.insert
Class InsertLimited

java.lang.Object
  extended by org.apache.hivemind.impl.BaseLocatable
      extended by org.apache.tapestry.AbstractComponent
          extended by org.apache.tapestry.components.Insert
              extended by com.nordija.tapestry.bayeux.insert.InsertLimited
All Implemented Interfaces:
org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder, org.apache.tapestry.IComponent, org.apache.tapestry.IDirectEvent, org.apache.tapestry.IRender

public abstract class InsertLimited
extends org.apache.tapestry.components.Insert

Outputs a limited string from the underlying object. Works as Insert.

Version:
$Id$
Author:
Thomas Christensen www.nordija.com

Constructor Summary
InsertLimited()
           
 
Method Summary
abstract  int getMaxLength()
           
abstract  java.lang.String getMoreMarker()
           
protected  void renderComponent(org.apache.tapestry.IMarkupWriter writer, org.apache.tapestry.IRequestCycle cycle)
          Prints its value parameter, possibly formatted by its format parameter.
 
Methods inherited from class org.apache.tapestry.components.Insert
getFormat, getMode, getRaw, getRenderTag, getValue, printText
 
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, getContainer, getEventInvoker, getExtendedId, getId, getIdPath, getListeners, getMessages, getNamespace, getPage, getRenderWorker, getSpecification, getSpecifiedId, getTemplateTagName, hashCode, isInActiveState, isParameterBound, isRendering, isStateful, pageEndRender, peekClientId, prepareForRender, render, renderBody, renderIdAttribute, renderInformalParameters, setBinding, setClientId, setContainedComponent, setContainer, 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.hivemind.LocationHolder
setLocation
 
Methods inherited from interface org.apache.hivemind.Locatable
getLocation
 

Constructor Detail

InsertLimited

public InsertLimited()
Method Detail

getMaxLength

public abstract int getMaxLength()

getMoreMarker

public abstract java.lang.String getMoreMarker()

renderComponent

protected void renderComponent(org.apache.tapestry.IMarkupWriter writer,
                               org.apache.tapestry.IRequestCycle cycle)
Prints its value parameter, possibly formatted by its format parameter.

Overrides:
renderComponent in class org.apache.tapestry.components.Insert


Copyright © 2004-2007 Nordija A/S. All Rights Reserved.