org.openxava.web.style
Class IPadStyle

java.lang.Object
  extended by org.openxava.web.style.Style
      extended by org.openxava.web.style.IPadStyle

public class IPadStyle
extends Style

For iPads.

Author:
Javier Paniza

Constructor Summary
protected IPadStyle()
           
 
Method Summary
 boolean allowsResizeColumns()
           
 java.lang.String getCssFile()
           
 java.lang.String getDefaultModeController()
           
 java.lang.String getImagesFolder()
          The folder with images used for actions.
 java.lang.String getInitThemeScript()
           
static Style getInstance()
           
 java.lang.String getListCellSpacing()
           
 java.lang.String getMetaTags()
           
 java.lang.String getModuleSpacing()
           
 java.lang.String getNextPageNavigationEvents(java.lang.String listId)
           
 java.lang.String[] getNoPortalModuleJsFiles()
           
 java.lang.String getPreviousPageNavigationEvents(java.lang.String listId)
           
 boolean isChangingPageRowCountAllowed()
           
 boolean isFixedPositionSupported()
           
 boolean isForBrowse(java.lang.String browser)
          If this style is specific for the indicated browser.
 boolean isHelpAvailable()
           
 boolean isHideRowsAllowed()
           
 boolean isRowLinkable()
           
 boolean isSeparatorBeforeBottomButtons()
           
 boolean isSeveralActionsPerRow()
           
 boolean isShowImageInButtonBarButton()
           
 boolean isShowModuleDescription()
           
 boolean isShowPageNumber()
           
 boolean isShowRowCountOnTop()
           
 boolean isUseLinkForNoButtonBarAction()
           
 boolean isUseStandardImageActionForOnlyImageActionOnButtonBar()
          If true an image is shown using this value as class, otherwise the image would be shown as the background of a span with the getButtonBarButton() class.
 
Methods inherited from class org.openxava.web.style.Style
createAdditionalCssFiles, getActionImage, getActionLink, getActive, getActiveSection, getActiveSectionTabEndDecoration, getActiveSectionTabStartDecoration, getAdditionalCssFiles, getAscending2Image, getAscendingImage, getBottomButtons, getBottomButtonsStyle, getBrowser, getButton, getButtonBar, getButtonBarButton, getButtonBarImage, getButtonBarModeButton, getCollectionListActions, getCoreEndDecoration, getCoreStartDecoration, getCurrentRow, getCurrentRowCell, getDescending2Image, getDescendingImage, getDetail, getEditor, getEditorWrapper, getErrorEndDecoration, getErrors, getErrorStartDecoration, getFilterCell, getFirst, getFrame, getFrameActions, getFrameActionsEndDecoration, getFrameActionsStartDecoration, getFrameContent, getFrameContentEndDecoration, getFrameContentStartDecoration, getFrameContentStartDecoration, getFrameHeaderEndDecoration, getFrameHeaderStartDecoration, getFrameHeaderStartDecoration, getFrameSpacing, getFrameTitle, getFrameTitleEndDecoration, getFrameTitleLabel, getFrameTitleStartDecoration, getFrameTotals, getFrameTotalsLabel, getFrameTotalsValue, getFrameWidth, getHeaderListCount, getHelp, getHelpImage, getInfos, getInstance, getJQueryCss, getLabel, getLast, getList, getListCellStyle, getListHeader, getListHeaderCell, getListInfo, getListInfoDetail, getListOdd, getListOddCell, getListOddEvents, getListOddSelected, getListOrderBy, getListPair, getListPairCell, getListPairEvents, getListPairSelected, getListStyle, getListSubheader, getListSubheaderCell, getListTitle, getListTitleWrapper, getLoadingImage, getMaximizeImage, getMessageEndDecoration, getMessages, getMessageStartDecoration, getMessagesWrapper, getMinimizeImage, getModule, getModuleDescription, getNextPageDisableImage, getNoPortalModuleEndDecoration, getNoPortalModuleStartDecoration, getPageNavigation, getPageNavigationArrow, getPageNavigationArrowDisable, getPageNavigationImage, getPageNavigationPages, getPageNavigationSelected, getPageNavigationSelectedImage, getPreviousPageDisableImage, getProcessing, getRemoveImage, getRestoreImage, getRowsPerPage, getSection, getSectionBarEndDecoration, getSectionBarStartDecoration, getSectionLink, getSectionLinkStyle, getSectionTab, getSectionTabEndDecoration, getSectionTableAttributes, getSectionTabStartDecoration, getSectionTabStartDecoration, getSelectedRow, getSelectedRowStyle, getSetHtmlFunction, getSmallLabel, getTotalCapableCell, getTotalCapableCellStyle, getTotalCell, getTotalCellStyle, getTotalEmptyCellStyle, getTotalLabelCellStyle, getTotalRow, getView, getWarnings, isAlignHeaderAsData, isApplySelectedStyleToCellInList, isFirefox, isIE6, isIE7, isInsidePortal, isNeededToIncludeCalendar, isOnlyOneButtonForModeIfTwoModes, setBrowser, setInsidePortal, setPotalInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IPadStyle

protected IPadStyle()
Method Detail

getInstance

public static Style getInstance()

isForBrowse

public boolean isForBrowse(java.lang.String browser)
Description copied from class: Style
If this style is specific for the indicated browser.

Overrides:
isForBrowse in class Style

isSeparatorBeforeBottomButtons

public boolean isSeparatorBeforeBottomButtons()
Overrides:
isSeparatorBeforeBottomButtons in class Style

getCssFile

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

getNoPortalModuleJsFiles

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

getInitThemeScript

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

getNextPageNavigationEvents

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

getPreviousPageNavigationEvents

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

getDefaultModeController

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

allowsResizeColumns

public boolean allowsResizeColumns()
Overrides:
allowsResizeColumns in class Style

isRowLinkable

public boolean isRowLinkable()
Overrides:
isRowLinkable in class Style

isShowPageNumber

public boolean isShowPageNumber()
Overrides:
isShowPageNumber in class Style

isShowModuleDescription

public boolean isShowModuleDescription()
Overrides:
isShowModuleDescription in class Style

isSeveralActionsPerRow

public boolean isSeveralActionsPerRow()
Overrides:
isSeveralActionsPerRow in class Style

isChangingPageRowCountAllowed

public boolean isChangingPageRowCountAllowed()
Overrides:
isChangingPageRowCountAllowed in class Style

isHideRowsAllowed

public boolean isHideRowsAllowed()
Overrides:
isHideRowsAllowed in class Style

isShowRowCountOnTop

public boolean isShowRowCountOnTop()
Overrides:
isShowRowCountOnTop in class Style

isUseLinkForNoButtonBarAction

public boolean isUseLinkForNoButtonBarAction()
Overrides:
isUseLinkForNoButtonBarAction in class Style

isHelpAvailable

public boolean isHelpAvailable()
Overrides:
isHelpAvailable in class Style

isShowImageInButtonBarButton

public boolean isShowImageInButtonBarButton()
Overrides:
isShowImageInButtonBarButton in class Style

isUseStandardImageActionForOnlyImageActionOnButtonBar

public boolean isUseStandardImageActionForOnlyImageActionOnButtonBar()
Description copied from class: Style
If true an image is shown using this value as class, otherwise the image would be shown as the background of a span with the getButtonBarButton() class.

Overrides:
isUseStandardImageActionForOnlyImageActionOnButtonBar in class Style

isFixedPositionSupported

public boolean isFixedPositionSupported()
Overrides:
isFixedPositionSupported in class Style

getMetaTags

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

getModuleSpacing

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

getListCellSpacing

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

getImagesFolder

public java.lang.String getImagesFolder()
Description copied from class: Style
The folder with images used for actions.

If it starts with / is absolute, otherwise starts from the application context path.

Overrides:
getImagesFolder in class Style