org.openxava.web.style
Class Liferay43Style

java.lang.Object
  extended by org.openxava.web.style.Style
      extended by org.openxava.web.style.PortalStyle
          extended by org.openxava.web.style.Liferay43Style
Direct Known Subclasses:
Liferay51Style

public class Liferay43Style
extends PortalStyle

For Liferay 4.3, 4.4 and 5.0.

Author:
Javier Paniza

Constructor Summary
protected Liferay43Style()
           
 
Method Summary
 java.lang.String getActiveSection()
           
 java.lang.String getActiveSectionTabEndDecoration()
           
protected  java.lang.String getActiveSectionTabStartDecoration()
           
 java.lang.String getAscendingImage()
           
 java.lang.String getButton()
           
 java.lang.String getDescendingImage()
           
 java.lang.String getDetail()
           
 java.lang.String getEditor()
           
 java.lang.String getEditorWrapper()
           
 java.lang.String getFrameActionsEndDecoration()
           
 java.lang.String getFrameActionsStartDecoration()
           
 java.lang.String getFrameContentEndDecoration()
           
 java.lang.String getFrameContentStartDecoration(java.lang.String id, boolean closed)
           
 java.lang.String getFrameHeaderEndDecoration()
           
 java.lang.String getFrameHeaderStartDecoration(int width)
           
 java.lang.String getFrameTitleEndDecoration()
           
 java.lang.String getFrameTitleStartDecoration()
           
 java.lang.String getHelpImage()
           
 java.lang.String getInitThemeScript()
           
static Style getInstance()
           
protected  java.lang.String getJQueryCss()
           
 java.lang.String getLabel()
           
protected  java.lang.String getLiferayImagesFolder()
           
 java.lang.String getList()
           
 java.lang.String getListCellSpacing()
           
 java.lang.String getListHeader()
           
 java.lang.String getListHeaderCell()
           
 java.lang.String getListInfo()
           
 java.lang.String getListOdd()
           
 java.lang.String getListOddCell()
           
 java.lang.String getListOddEvents()
           
 java.lang.String getListOddSelected()
           
 java.lang.String getListPair()
           
 java.lang.String getListPairCell()
           
 java.lang.String getListPairEvents()
           
 java.lang.String getListPairSelected()
           
 java.lang.String getListStyle()
           
 java.lang.String getListSubheader()
           
 java.lang.String getListSubheaderCell()
           
 java.lang.String getListTitle()
           
 java.lang.String getLoadingImage()
           
 java.lang.String getMaximizeImage()
          If it starts with '/' the URI is absolute, otherwise the context path is inserted before.
 java.lang.String getMessagesWrapper()
          For messages and errors
 java.lang.String getMinimizeImage()
          If it starts with '/' the URI is absolute, otherwise the context path is inserted before.
 java.lang.String getModule()
           
 java.lang.String getModuleSpacing()
           
 java.lang.String getNoPortalModuleEndDecoration()
           
 java.lang.String[] getNoPortalModuleJsFiles()
           
 java.lang.String getNoPortalModuleStartDecoration(java.lang.String title)
           
 java.lang.String getProcessing()
           
 java.lang.String getRemoveImage()
          If it starts with '/' the URI is absolute, otherwise the context path is inserted before.
 java.lang.String getRestoreImage()
          If it starts with '/' the URI is absolute, otherwise the context path is inserted before.
 java.lang.String getSection()
           
 java.lang.String getSectionBarEndDecoration()
           
 java.lang.String getSectionBarStartDecoration()
           
 java.lang.String getSectionLink()
           
 java.lang.String getSectionLinkStyle()
           
 java.lang.String getSectionTabEndDecoration()
           
 java.lang.String getSectionTableAttributes()
           
protected  java.lang.String getSectionTabStartDecoration()
           
 java.lang.String getSelectedRow()
           
 java.lang.String getSelectedRowStyle()
           
 java.lang.String getSmallLabel()
           
 java.lang.String getTotalCellStyle()
           
 java.lang.String getTotalEmptyCellStyle()
           
 boolean isApplySelectedStyleToCellInList()
          If true the style for selected row (or special style) in a list is applied to the row (tr) and to also the cell (td).
 
Methods inherited from class org.openxava.web.style.PortalStyle
createAdditionalCssFiles, getActiveSectionFirstTabStartDecoration, getActiveSectionLastTabStartDecoration, getActiveSectionTabStartDecoration, getCollectionListActions, getCurrentRow, getDefaultModeController, getErrors, getFrame, getFrameContent, getFrameTitle, getFrameTitleLabel, getInfos, getListInfoDetail, getListOrderBy, getMessages, getPageNavigation, getPageNavigationArrow, getPageNavigationArrowDisable, getPageNavigationSelected, getRowsPerPage, getSectionFirstTabStartDecoration, getSectionLastTabStartDecoration, getSectionTabStartDecoration, getTotalCapableCell, getTotalCapableCellStyle, getTotalCell, getTotalCellAlignStyle, getTotalRow, getView, getWarnings, isAlignHeaderAsData, isForBrowse
 
Methods inherited from class org.openxava.web.style.Style
allowsResizeColumns, getActionImage, getActionLink, getActive, getAdditionalCssFiles, getAscending2Image, getBottomButtons, getBottomButtonsStyle, getBrowser, getButtonBar, getButtonBarButton, getButtonBarImage, getButtonBarModeButton, getCoreEndDecoration, getCoreStartDecoration, getCssFile, getCurrentRowCell, getDescending2Image, getErrorEndDecoration, getErrorStartDecoration, getFilterCell, getFirst, getFrameActions, getFrameContentStartDecoration, getFrameHeaderStartDecoration, getFrameSpacing, getFrameTotals, getFrameTotalsLabel, getFrameTotalsValue, getFrameWidth, getHeaderListCount, getHelp, getImagesFolder, getInstance, getLast, getLayoutData, getLayoutDataCell, getLayoutLabel, getLayoutLabelCell, getLayoutLabelLeftSpacer, getLayoutLabelRightSpacer, getLayoutLabelRightSpacerStyle, getLayoutRowSpacer, getListCellStyle, getListTitleWrapper, getMessageEndDecoration, getMessageStartDecoration, getMetaTags, getModuleDescription, getNextPageDisableImage, getNextPageNavigationEvents, getPageNavigationImage, getPageNavigationPages, getPageNavigationSelectedImage, getPreviousPageDisableImage, getPreviousPageNavigationEvents, getSectionTab, getSectionTabStartDecoration, getSetHtmlFunction, getTotalLabelCellStyle, isChangingPageRowCountAllowed, isFirefox, isFixedPositionSupported, isHelpAvailable, isHideRowsAllowed, isIE6, isIE7, isInsidePortal, isNeededToIncludeCalendar, isOnlyOneButtonForModeIfTwoModes, isRowLinkable, isSeparatorBeforeBottomButtons, isSeveralActionsPerRow, isShowImageInButtonBarButton, isShowModuleDescription, isShowPageNumber, isShowRowCountOnTop, isUseLinkForNoButtonBarAction, isUseStandardImageActionForOnlyImageActionOnButtonBar, setBrowser, setInsidePortal, setPotalInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Liferay43Style

protected Liferay43Style()
Method Detail

getInstance

public static Style getInstance()

getNoPortalModuleJsFiles

public java.lang.String[] getNoPortalModuleJsFiles()
Overrides:
getNoPortalModuleJsFiles in class PortalStyle

getJQueryCss

protected java.lang.String getJQueryCss()
Overrides:
getJQueryCss in class PortalStyle

getInitThemeScript

public java.lang.String getInitThemeScript()
Overrides:
getInitThemeScript in class Style

getNoPortalModuleStartDecoration

public java.lang.String getNoPortalModuleStartDecoration(java.lang.String title)
Overrides:
getNoPortalModuleStartDecoration in class Style

getNoPortalModuleEndDecoration

public java.lang.String getNoPortalModuleEndDecoration()
Overrides:
getNoPortalModuleEndDecoration in class Style

getModule

public java.lang.String getModule()
Overrides:
getModule in class PortalStyle

getModuleSpacing

public java.lang.String getModuleSpacing()
Overrides:
getModuleSpacing in class Style

getLabel

public java.lang.String getLabel()
Overrides:
getLabel in class PortalStyle

getEditorWrapper

public java.lang.String getEditorWrapper()
Overrides:
getEditorWrapper in class Style

getDetail

public java.lang.String getDetail()
Overrides:
getDetail in class PortalStyle

getList

public java.lang.String getList()
Overrides:
getList in class PortalStyle

getListCellSpacing

public java.lang.String getListCellSpacing()
Overrides:
getListCellSpacing in class Style

getListStyle

public java.lang.String getListStyle()
Overrides:
getListStyle in class Style

getListHeader

public java.lang.String getListHeader()
Overrides:
getListHeader in class PortalStyle

getListHeaderCell

public java.lang.String getListHeaderCell()
Overrides:
getListHeaderCell in class PortalStyle

getListSubheader

public java.lang.String getListSubheader()
Overrides:
getListSubheader in class PortalStyle

getListSubheaderCell

public java.lang.String getListSubheaderCell()
Overrides:
getListSubheaderCell in class PortalStyle

getListPair

public java.lang.String getListPair()
Overrides:
getListPair in class PortalStyle

getListPairEvents

public java.lang.String getListPairEvents()
Overrides:
getListPairEvents in class PortalStyle

getListPairCell

public java.lang.String getListPairCell()
Overrides:
getListPairCell in class PortalStyle

getListOdd

public java.lang.String getListOdd()
Overrides:
getListOdd in class PortalStyle

getListOddEvents

public java.lang.String getListOddEvents()
Overrides:
getListOddEvents in class Style

getListOddCell

public java.lang.String getListOddCell()
Overrides:
getListOddCell in class Style

getListInfo

public java.lang.String getListInfo()
Overrides:
getListInfo in class PortalStyle

getListTitle

public java.lang.String getListTitle()
Overrides:
getListTitle in class PortalStyle

getFrameContentStartDecoration

public java.lang.String getFrameContentStartDecoration(java.lang.String id,
                                                       boolean closed)
Overrides:
getFrameContentStartDecoration in class Style

getFrameContentEndDecoration

public java.lang.String getFrameContentEndDecoration()
Overrides:
getFrameContentEndDecoration in class Style

getListPairSelected

public java.lang.String getListPairSelected()
Overrides:
getListPairSelected in class PortalStyle

getListOddSelected

public java.lang.String getListOddSelected()
Overrides:
getListOddSelected in class PortalStyle

getFrameHeaderStartDecoration

public java.lang.String getFrameHeaderStartDecoration(int width)
Overrides:
getFrameHeaderStartDecoration in class Style

getFrameHeaderEndDecoration

public java.lang.String getFrameHeaderEndDecoration()
Overrides:
getFrameHeaderEndDecoration in class Style

getFrameTitleStartDecoration

public java.lang.String getFrameTitleStartDecoration()
Overrides:
getFrameTitleStartDecoration in class Style

getFrameTitleEndDecoration

public java.lang.String getFrameTitleEndDecoration()
Overrides:
getFrameTitleEndDecoration in class Style

getFrameActionsStartDecoration

public java.lang.String getFrameActionsStartDecoration()
Overrides:
getFrameActionsStartDecoration in class Style

getFrameActionsEndDecoration

public java.lang.String getFrameActionsEndDecoration()
Overrides:
getFrameActionsEndDecoration in class Style

getEditor

public java.lang.String getEditor()
Overrides:
getEditor in class PortalStyle

getSmallLabel

public java.lang.String getSmallLabel()
Overrides:
getSmallLabel in class PortalStyle

getMessagesWrapper

public java.lang.String getMessagesWrapper()
For messages and errors

Overrides:
getMessagesWrapper in class Style

getProcessing

public java.lang.String getProcessing()
Overrides:
getProcessing in class PortalStyle

getButton

public java.lang.String getButton()
Overrides:
getButton in class PortalStyle

getAscendingImage

public java.lang.String getAscendingImage()
Overrides:
getAscendingImage in class Style

getDescendingImage

public java.lang.String getDescendingImage()
Overrides:
getDescendingImage in class Style

getSection

public java.lang.String getSection()
Overrides:
getSection in class PortalStyle

getSectionTableAttributes

public java.lang.String getSectionTableAttributes()
Overrides:
getSectionTableAttributes in class Style

getActiveSection

public java.lang.String getActiveSection()
Overrides:
getActiveSection in class PortalStyle

getSectionLink

public java.lang.String getSectionLink()
Overrides:
getSectionLink in class Style

getSectionBarStartDecoration

public java.lang.String getSectionBarStartDecoration()
Overrides:
getSectionBarStartDecoration in class PortalStyle

getSectionBarEndDecoration

public java.lang.String getSectionBarEndDecoration()
Overrides:
getSectionBarEndDecoration in class PortalStyle

getActiveSectionTabStartDecoration

protected java.lang.String getActiveSectionTabStartDecoration()
Overrides:
getActiveSectionTabStartDecoration in class PortalStyle

getActiveSectionTabEndDecoration

public java.lang.String getActiveSectionTabEndDecoration()
Overrides:
getActiveSectionTabEndDecoration in class PortalStyle

getSectionTabStartDecoration

protected java.lang.String getSectionTabStartDecoration()
Overrides:
getSectionTabStartDecoration in class PortalStyle

getSectionTabEndDecoration

public java.lang.String getSectionTabEndDecoration()
Overrides:
getSectionTabEndDecoration in class PortalStyle

getRestoreImage

public java.lang.String getRestoreImage()
Description copied from class: Style
If it starts with '/' the URI is absolute, otherwise the context path is inserted before.

Overrides:
getRestoreImage in class Style

getMaximizeImage

public java.lang.String getMaximizeImage()
Description copied from class: Style
If it starts with '/' the URI is absolute, otherwise the context path is inserted before.

Overrides:
getMaximizeImage in class Style

getMinimizeImage

public java.lang.String getMinimizeImage()
Description copied from class: Style
If it starts with '/' the URI is absolute, otherwise the context path is inserted before.

Overrides:
getMinimizeImage in class Style

getRemoveImage

public java.lang.String getRemoveImage()
Description copied from class: Style
If it starts with '/' the URI is absolute, otherwise the context path is inserted before.

Overrides:
getRemoveImage in class Style

getLoadingImage

public java.lang.String getLoadingImage()
Overrides:
getLoadingImage in class Style

isApplySelectedStyleToCellInList

public boolean isApplySelectedStyleToCellInList()
Description copied from class: Style
If true the style for selected row (or special style) in a list is applied to the row (tr) and to also the cell (td).

If false the style is applied only to the row (tr).

By default is true.

Overrides:
isApplySelectedStyleToCellInList in class Style

getSectionLinkStyle

public java.lang.String getSectionLinkStyle()
Overrides:
getSectionLinkStyle in class Style

getLiferayImagesFolder

protected java.lang.String getLiferayImagesFolder()

getSelectedRow

public java.lang.String getSelectedRow()
Overrides:
getSelectedRow in class PortalStyle

getSelectedRowStyle

public java.lang.String getSelectedRowStyle()
Overrides:
getSelectedRowStyle in class Style

getHelpImage

public java.lang.String getHelpImage()
Overrides:
getHelpImage in class Style

getTotalCellStyle

public java.lang.String getTotalCellStyle()
Overrides:
getTotalCellStyle in class PortalStyle

getTotalEmptyCellStyle

public java.lang.String getTotalEmptyCellStyle()
Overrides:
getTotalEmptyCellStyle in class PortalStyle