|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hivemind.impl.BaseLocatable org.apache.tapestry.AbstractComponent org.apache.tapestry.BaseComponent net.sf.tacos.ajax.components.FisheyeList
public abstract class FisheyeList
Implementation of dojo's(contributed from cal at yahoo/flickr) Fisheye widget that provides zooming/clicking effects for a list of iconifiable items.
Constructor Summary | |
---|---|
FisheyeList()
|
Method Summary | |
---|---|
abstract String |
getAttachEdge()
attach edge |
abstract int |
getBreakOn()
Break list on specified index |
abstract double |
getEffectUnits()
Effect units |
abstract int |
getItemHeight()
Height of each list item |
abstract int |
getItemMaxHeight()
Max height of each item |
abstract int |
getItemMaxWidth()
Max width of each item |
abstract double |
getItemPadding()
Padding space between each item |
abstract int |
getItemWidth()
Width of each list item |
abstract String |
getLabelEdge()
Label edge |
abstract String |
getOrientation()
Orientation of list/horizontal or vertical |
abstract org.apache.tapestry.IScript |
getScript()
java script |
abstract Object |
getSource()
Source list |
abstract org.apache.tapestry.coerce.ValueConverter |
getValueConverter()
injected |
protected void |
renderComponent(org.apache.tapestry.IMarkupWriter writer,
org.apache.tapestry.IRequestCycle cycle)
|
protected void |
renderFisheye(org.apache.tapestry.IMarkupWriter writer,
org.apache.tapestry.IRequestCycle cycle,
int currIndex,
List fisheyeIds)
Handles starting/ending the main outer fisheye widget div tags. |
protected void |
renderFisheyeAttributes(org.apache.tapestry.IMarkupWriter writer,
List fisheyeIds)
Renders the fisheye attributes |
Methods inherited from class org.apache.tapestry.BaseComponent |
---|
addOuter, finishLoad |
Methods inherited from class org.apache.tapestry.AbstractComponent |
---|
addAsset, addBody, addComponent, checkActiveLock, cleanupAfterRender, enterActiveState, finishLoad, format, format, format, format, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getBody, getBodyCount, getComponent, getComponents, getContainedComponent, getContainer, getExtendedId, getId, getIdPath, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, isInActiveState, isParameterBound, isRendering, pageEndRender, prepareForRender, render, renderBody, renderInformalParameters, setBinding, setContainedComponent, setContainer, setId, setNamespace, setPage, setProperty, toString |
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.IComponent |
---|
addAsset, addBody, addComponent, enterActiveState, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getComponent, getComponents, getContainedComponent, getContainer, 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 |
Constructor Detail |
---|
public FisheyeList()
Method Detail |
---|
public abstract int getItemWidth()
public abstract int getItemHeight()
public abstract int getItemMaxWidth()
public abstract int getItemMaxHeight()
public abstract String getOrientation()
public abstract double getEffectUnits()
public abstract double getItemPadding()
public abstract String getAttachEdge()
public abstract String getLabelEdge()
public abstract int getBreakOn()
public abstract Object getSource()
public abstract org.apache.tapestry.coerce.ValueConverter getValueConverter()
public abstract org.apache.tapestry.IScript getScript()
protected void renderComponent(org.apache.tapestry.IMarkupWriter writer, org.apache.tapestry.IRequestCycle cycle)
renderComponent
in class org.apache.tapestry.BaseComponent
AbstractComponent.renderComponent(org.apache.tapestry.IMarkupWriter,
org.apache.tapestry.IRequestCycle)
protected void renderFisheye(org.apache.tapestry.IMarkupWriter writer, org.apache.tapestry.IRequestCycle cycle, int currIndex, List fisheyeIds)
writer
- cycle
- currIndex
- Current index of list iterating onfisheyeIds
- List of unique element ids for each fisheye, will be appended
to if current iteration requires creating a new fisheye.protected void renderFisheyeAttributes(org.apache.tapestry.IMarkupWriter writer, List fisheyeIds)
writer
- fisheyeIds
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |