|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hivemind.impl.BaseLocatable
org.apache.tapestry.AbstractComponent
org.apache.tapestry.BaseComponent
org.apache.tapestry.contrib.table.components.inserted.SimpleTableColumnFormComponent
A component that renders the default column header in a form. If the current column is sortable, it renders the header as a link. Clicking on the link causes the table to be sorted on that column. Clicking on the link again causes the sorting order to be reversed. This component renders links that cause the form to be submitted. This ensures that the updated data in the other form fields is preserved.
Constructor Summary | |
SimpleTableColumnFormComponent()
|
Method Summary | |
void |
columnSelected(org.apache.tapestry.IRequestCycle objCycle)
|
boolean |
getColumnSorted()
|
java.lang.String |
getDisplayName()
|
boolean |
getIsSorted()
|
abstract java.lang.String |
getSelectedColumnName()
|
org.apache.tapestry.IAsset |
getSortImage()
|
abstract ITableColumn |
getTableColumn()
|
ITableModel |
getTableModel()
|
abstract ITableModelSource |
getTableModelSource()
|
void |
initializeRenderer(org.apache.tapestry.IRequestCycle objCycle,
ITableModelSource objSource,
ITableColumn objColumn,
java.lang.Object objRow)
|
abstract void |
setTableColumn(ITableColumn objColumn)
|
abstract void |
setTableModelSource(ITableModelSource objSource)
|
Methods inherited from class org.apache.tapestry.BaseComponent |
addOuter, finishLoad, renderComponent |
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, finishLoad, 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 SimpleTableColumnFormComponent()
Method Detail |
public abstract ITableColumn getTableColumn()
public abstract void setTableColumn(ITableColumn objColumn)
public abstract ITableModelSource getTableModelSource()
public abstract void setTableModelSource(ITableModelSource objSource)
public abstract java.lang.String getSelectedColumnName()
public void initializeRenderer(org.apache.tapestry.IRequestCycle objCycle, ITableModelSource objSource, ITableColumn objColumn, java.lang.Object objRow)
initializeRenderer
in interface ITableRendererListener
ITableRendererListener.initializeRenderer(IRequestCycle, ITableModelSource, ITableColumn, Object)
public ITableModel getTableModel()
public boolean getColumnSorted()
public java.lang.String getDisplayName()
public boolean getIsSorted()
public org.apache.tapestry.IAsset getSortImage()
public void columnSelected(org.apache.tapestry.IRequestCycle objCycle)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |