com.arsdigita.cms.ui
Class ContentSectionContainer.AdminURLTableCellRenderer
java.lang.Object
com.arsdigita.cms.ui.ContentSectionContainer.URLTableCellRenderer
com.arsdigita.cms.ui.ContentSectionContainer.AdminURLTableCellRenderer
- All Implemented Interfaces:
- com.arsdigita.bebop.table.TableCellRenderer
- Enclosing class:
- ContentSectionContainer
- public static class ContentSectionContainer.AdminURLTableCellRenderer
- extends ContentSectionContainer.URLTableCellRenderer
Generates the correct URL to the admin pages for a content
section.
- Author:
- Michael Bryzek
Fields inherited from interface com.arsdigita.bebop.table.TableCellRenderer |
versionId |
Method Summary |
protected String |
generateURL(String prefix)
Generates the admin url for the specified prefix. |
com.arsdigita.bebop.Component |
getComponent(com.arsdigita.bebop.Table table,
com.arsdigita.bebop.PageState state,
Object value,
boolean isSelected,
Object key,
int row,
int column)
The object passed in is the current content section |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContentSectionContainer.AdminURLTableCellRenderer
public ContentSectionContainer.AdminURLTableCellRenderer()
getComponent
public com.arsdigita.bebop.Component getComponent(com.arsdigita.bebop.Table table,
com.arsdigita.bebop.PageState state,
Object value,
boolean isSelected,
Object key,
int row,
int column)
- The object passed in is the current content section
- Specified by:
getComponent
in interface com.arsdigita.bebop.table.TableCellRenderer
- Overrides:
getComponent
in class ContentSectionContainer.URLTableCellRenderer
generateURL
protected String generateURL(String prefix)
- Generates the admin url for the specified prefix. Always
returns something that does not start with a forward slash.
- Overrides:
generateURL
in class ContentSectionContainer.URLTableCellRenderer
- Parameters:
prefix
- The prefix of the URL
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2352 UTC