Class Style

  • Direct Known Subclasses:
    XavaStyle

    @Deprecated
    public class Style
    extends java.lang.Object
    Deprecated.
    Since v7.1 should use directly the CSS classes in your HTML code.
    This class and its subclasses is used from JSP code to give style to the web applications.

    Since v7.1 we started to use directly CSS classes in HTML and removing methods from this class. This class was useful when working with portals to get the portal style, given that since v7.0 portals are no longer supported, now it's a overload.
    The nomenclature is:

    • By default: CSS class name.
    • ..Style: A CSS inline style.
    • ..Image: URI of image
    • ..Events: code for javascript events
    • ..StartDecoration/EndDecoration: HTML code to put before and after.
    • ..Spacing: Table spacing
    Author:
    Javier Paniza
    • Constructor Detail

      • Style

        public Style()
        Deprecated.
    • Method Detail

      • getInstance

        public static Style getInstance()
        Deprecated.
      • getDefaultModeController

        public java.lang.String getDefaultModeController()
        Deprecated.
        Since:
        4.2
      • getListAdjustment

        public double getListAdjustment()
        Deprecated.
        Pixels to add/substract from list width to a correct adjustament.
        Since:
        5.1.1
      • getCollectionAdjustment

        public double getCollectionAdjustment()
        Deprecated.
        Pixels to add/substract from list width to a correct adjustament.
        Since:
        5.1.1
      • isUseIconsInsteadOfImages

        public boolean isUseIconsInsteadOfImages()
        Deprecated.
        Since:
        5.4
      • getSetHtmlFunction

        public java.lang.String getSetHtmlFunction()
        Deprecated.
        The JavaScript function that assign the HTML token to a specific a element.
        Since:
        4.2
      • allowsResizeColumns

        public boolean allowsResizeColumns()
        Deprecated.
        Since:
        4.2
      • getInitThemeScript

        public java.lang.String getInitThemeScript()
        Deprecated.
      • getCoreStartDecoration

        public java.lang.String getCoreStartDecoration()
        Deprecated.
        Since:
        4.2
      • getCoreEndDecoration

        public java.lang.String getCoreEndDecoration()
        Deprecated.
        Since:
        4.2
      • getCssFile

        public java.lang.String getCssFile()
        Deprecated.
      • getMetaTags

        public java.lang.String getMetaTags()
        Deprecated.
        Since:
        4.2
      • getEditorWrapper

        public java.lang.String getEditorWrapper()
        Deprecated.
      • getImagesFolder

        public java.lang.String getImagesFolder()
        Deprecated.
        The folder with images used for actions.

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

        Since:
        4.2
      • getPageNavigationSelectedImage

        public java.lang.String getPageNavigationSelectedImage()
        Deprecated.
        Since:
        4.2
      • getPageNavigationImage

        public java.lang.String getPageNavigationImage()
        Deprecated.
        Since:
        4.2
      • getListMode

        public java.lang.String getListMode()
        Deprecated.
        Since:
        6.0
      • getView

        public java.lang.String getView()
        Deprecated.
        Since:
        4.2
      • getActionLink

        public java.lang.String getActionLink()
        Deprecated.
      • getActionImage

        public java.lang.String getActionImage()
        Deprecated.
      • getActionLabel

        public java.lang.String getActionLabel()
        Deprecated.
        Since:
        6.6
      • getCustomizeControls

        public java.lang.String getCustomizeControls()
        Deprecated.
        Since:
        5.5
      • getButtonBarContainer

        public java.lang.String getButtonBarContainer()
        Deprecated.
        Since:
        6.6
      • isSeveralActionsPerRow

        public boolean isSeveralActionsPerRow()
        Deprecated.
      • isUseLinkForNoButtonBarAction

        public boolean isUseLinkForNoButtonBarAction()
        Deprecated.
        Since:
        4.2
      • isUseStandardImageActionForOnlyImageActionOnButtonBar

        public boolean isUseStandardImageActionForOnlyImageActionOnButtonBar()
        Deprecated.
        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.
        Since:
        4.2
      • isSeparatorBeforeBottomButtons

        public boolean isSeparatorBeforeBottomButtons()
        Deprecated.
        Since:
        4.2
      • getButtonBarImage

        public java.lang.String getButtonBarImage()
        Deprecated.
        Since:
        4.2
      • getActive

        public java.lang.String getActive()
        Deprecated.
        Since:
        4.2
      • getFirst

        public java.lang.String getFirst()
        Deprecated.
        Since:
        4.2
      • getLast

        public java.lang.String getLast()
        Deprecated.
        Since:
        4.2
      • getLabel

        public java.lang.String getLabel()
        Deprecated.
      • getModuleDescription

        public java.lang.String getModuleDescription()
        Deprecated.
        Since:
        4.2
      • getFrameContent

        protected java.lang.String getFrameContent()
        Deprecated.
      • getSelectedListFormat

        public java.lang.String getSelectedListFormat()
        Deprecated.
        Since:
        5.4
      • getCharts

        public java.lang.String getCharts()
        Deprecated.
        Since:
        5.4
      • getChartXColumn

        public java.lang.String getChartXColumn()
        Deprecated.
        Since:
        5.4
      • getChartType

        public java.lang.String getChartType()
        Deprecated.
        Since:
        5.4
      • getListCellSpacing

        public java.lang.String getListCellSpacing()
        Deprecated.
      • getListSubheader

        public java.lang.String getListSubheader()
        Deprecated.
      • getListOrderBy

        public java.lang.String getListOrderBy()
        Deprecated.
      • getListPairEvents

        public java.lang.String getListPairEvents()
        Deprecated.
        Parameters:
        Since - v4m5 it has no parameters
      • getListOddEvents

        public java.lang.String getListOddEvents()
        Deprecated.
        Parameters:
        Since - v4m5 it has no parameters
      • getListPairSelected

        public java.lang.String getListPairSelected()
        Deprecated.
      • getListOddSelected

        public java.lang.String getListOddSelected()
        Deprecated.
      • getListInfo

        public java.lang.String getListInfo()
        Deprecated.
      • getListTitle

        public java.lang.String getListTitle()
        Deprecated.
      • getHeaderListCount

        public java.lang.String getHeaderListCount()
        Deprecated.
        Since:
        4.2
      • getListTitleWrapper

        public java.lang.String getListTitleWrapper()
        Deprecated.
      • getFrameHeaderStartDecoration

        public java.lang.String getFrameHeaderStartDecoration()
        Deprecated.
      • getCollectionFrameHeaderStartDecoration

        public java.lang.String getCollectionFrameHeaderStartDecoration​(int width)
        Deprecated.
        Since:
        5.1.1
      • getFrameHeaderStartDecoration

        public java.lang.String getFrameHeaderStartDecoration​(int width)
        Deprecated.
      • getFrameHeaderStartDecoration

        public java.lang.String getFrameHeaderStartDecoration​(int width,
                                                              boolean collection)
        Deprecated.
      • getFrameHeaderEndDecoration

        public java.lang.String getFrameHeaderEndDecoration()
        Deprecated.
      • getFrameTitleStartDecoration

        public java.lang.String getFrameTitleStartDecoration()
        Deprecated.
      • getFrameTitleEndDecoration

        public java.lang.String getFrameTitleEndDecoration()
        Deprecated.
      • getFrameActions

        public java.lang.String getFrameActions()
        Deprecated.
        Since:
        4.2
      • getFrameActionsStartDecoration

        public java.lang.String getFrameActionsStartDecoration()
        Deprecated.
      • getFrameActionsEndDecoration

        public java.lang.String getFrameActionsEndDecoration()
        Deprecated.
      • getFrameTotals

        public java.lang.String getFrameTotals()
        Deprecated.
        Since:
        4.4
      • getFrameTotalsLabel

        public java.lang.String getFrameTotalsLabel()
        Deprecated.
        Since:
        4.4
      • getFrameTotalsValue

        public java.lang.String getFrameTotalsValue()
        Deprecated.
        Since:
        4.4
      • getFrameContentStartDecoration

        public java.lang.String getFrameContentStartDecoration()
        Deprecated.
      • getFrameContentStartDecoration

        public java.lang.String getFrameContentStartDecoration​(java.lang.String id,
                                                               boolean closed)
        Deprecated.
      • getFrameContentEndDecoration

        public java.lang.String getFrameContentEndDecoration()
        Deprecated.
      • getFrame

        public java.lang.String getFrame()
        Deprecated.
      • getHalfFrame

        protected java.lang.String getHalfFrame()
        Deprecated.
        Since:
        6.6.3
      • getFullFrame

        protected java.lang.String getFullFrame()
        Deprecated.
        Since:
        6.6.3
      • getFrameTitle

        protected java.lang.String getFrameTitle()
        Deprecated.
      • getFrameTitleLabel

        protected java.lang.String getFrameTitleLabel()
        Deprecated.
      • getFrameSpacing

        protected java.lang.String getFrameSpacing()
        Deprecated.
      • getEditor

        public java.lang.String getEditor()
        Deprecated.
      • getEditorSuffix

        public java.lang.String getEditorSuffix()
        Deprecated.
        Since:
        6.5.3
      • getSmallLabel

        public java.lang.String getSmallLabel()
        Deprecated.
      • getRadioButtons

        public java.lang.String getRadioButtons()
        Deprecated.
        Since:
        5.5
      • getIcon

        public java.lang.String getIcon()
        Deprecated.
        For icon editor.
        Since:
        5.5
      • getIconInList

        public java.lang.String getIconInList()
        Deprecated.
        For icon in list as data.
        Since:
        5.5
      • getDescriptionsList

        public java.lang.String getDescriptionsList()
        Deprecated.
        Since:
        5.5
      • getReadOnlyHtmlText

        public java.lang.String getReadOnlyHtmlText()
        Deprecated.
        Since:
        6.4.1
      • getMoney

        public java.lang.String getMoney()
        Deprecated.
        Since:
        5.6.1
      • getMessages

        public java.lang.String getMessages()
        Deprecated.
      • getInfos

        public java.lang.String getInfos()
        Deprecated.
        Since:
        4.3
      • getWarnings

        public java.lang.String getWarnings()
        Deprecated.
        Since:
        4.3
      • getMessagesWrapper

        public java.lang.String getMessagesWrapper()
        Deprecated.
        For messages
      • getSortIndicator

        public java.lang.String getSortIndicator()
        Deprecated.
        Since:
        v5.5
      • getSortIndicator2

        public java.lang.String getSortIndicator2()
        Deprecated.
        Since:
        v5.5
      • getSections

        public java.lang.String getSections()
        Deprecated.
        Since:
        v5.7
      • getSection

        public java.lang.String getSection()
        Deprecated.
      • getSectionTab

        public java.lang.String getSectionTab()
        Deprecated.
        Since:
        4.2
      • getSectionTableAttributes

        public java.lang.String getSectionTableAttributes()
        Deprecated.
      • getActiveSection

        public java.lang.String getActiveSection()
        Deprecated.
        Since:
        4.2, renamed from getSectionActive()
      • getSectionBarStartDecoration

        public java.lang.String getSectionBarStartDecoration()
        Deprecated.
      • getSectionBarEndDecoration

        public java.lang.String getSectionBarEndDecoration()
        Deprecated.
      • getActiveSectionTabStartDecoration

        public java.lang.String getActiveSectionTabStartDecoration​(boolean first,
                                                                   boolean last)
        Deprecated.
      • getSectionTabStartDecoration

        public java.lang.String getSectionTabStartDecoration​(boolean first,
                                                             boolean last)
        Deprecated.
      • getSectionTabStartDecoration

        protected java.lang.String getSectionTabStartDecoration​(boolean first,
                                                                boolean last,
                                                                boolean active)
        Deprecated.
      • getActiveSectionTabEndDecoration

        public java.lang.String getActiveSectionTabEndDecoration()
        Deprecated.
      • getSectionTabEndDecoration

        public java.lang.String getSectionTabEndDecoration()
        Deprecated.
      • getCollection

        public java.lang.String getCollection()
        Deprecated.
        Since:
        5.8
      • getCollectionListActions

        public java.lang.String getCollectionListActions()
        Deprecated.
      • getRestoreImage

        public java.lang.String getRestoreImage()
        Deprecated.
        If it starts with '/' the URI is absolute, otherwise the context path is inserted before.
      • getMinimizeImage

        public java.lang.String getMinimizeImage()
        Deprecated.
        If it starts with '/' the URI is absolute, otherwise the context path is inserted before.
      • getRemoveImage

        public java.lang.String getRemoveImage()
        Deprecated.
        If it starts with '/' the URI is absolute, otherwise the context path is inserted before.
      • isAlignHeaderAsData

        public boolean isAlignHeaderAsData()
        Deprecated.
        If true By default is false.
      • isFixedPositionSupported

        public boolean isFixedPositionSupported()
        Deprecated.
      • isApplySelectedStyleToCellInList

        public boolean isApplySelectedStyleToCellInList()
        Deprecated.
        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.

      • isShowImageInButtonBarButton

        public boolean isShowImageInButtonBarButton()
        Deprecated.
      • isShowModuleDescription

        public boolean isShowModuleDescription()
        Deprecated.
        Since:
        4.2
      • isShowPageNumber

        public boolean isShowPageNumber()
        Deprecated.
        Since:
        4.2
      • getBottomButtons

        public java.lang.String getBottomButtons()
        Deprecated.
      • isChangingPageRowCountAllowed

        public boolean isChangingPageRowCountAllowed()
        Deprecated.
        Since:
        4.2
      • isHideRowsAllowed

        public boolean isHideRowsAllowed()
        Deprecated.
        Since:
        4.2
      • isShowRowCountOnTop

        public boolean isShowRowCountOnTop()
        Deprecated.
        Since:
        4.2
      • getSelectedRow

        public java.lang.String getSelectedRow()
        Deprecated.
      • setBrowser

        public void setBrowser​(java.lang.String browser)
        Deprecated.
      • getBrowser

        public java.lang.String getBrowser()
        Deprecated.
      • isFirefox

        protected boolean isFirefox()
        Deprecated.
      • isIE6

        protected boolean isIE6()
        Deprecated.
        Since:
        4m5
      • isIE7

        protected boolean isIE7()
        Deprecated.
        Since:
        4m5
      • isIE

        protected boolean isIE()
        Deprecated.
        Since:
        5.5.1
      • getCurrentRow

        public java.lang.String getCurrentRow()
        Deprecated.
        Since:
        4m5
      • getSubcontrollerSelected

        public java.lang.String getSubcontrollerSelected()
        Deprecated.
        Since:
        6.1
      • getCurrentRowCell

        public java.lang.String getCurrentRowCell()
        Deprecated.
        Since:
        4m5
      • getPageNavigationSelected

        public java.lang.String getPageNavigationSelected()
        Deprecated.
        Since:
        4m5
      • getPageNavigation

        public java.lang.String getPageNavigation()
        Deprecated.
        Since:
        4m5
      • getPageNavigationPages

        public java.lang.String getPageNavigationPages()
        Deprecated.
        Since:
        4.2
      • getPageNavigationArrow

        public java.lang.String getPageNavigationArrow()
        Deprecated.
        Since:
        4m5
      • getNextPageNavigationEvents

        public java.lang.String getNextPageNavigationEvents​(java.lang.String listId)
        Deprecated.
        Since:
        4.2
      • getPreviousPageNavigationEvents

        public java.lang.String getPreviousPageNavigationEvents​(java.lang.String listId)
        Deprecated.
        Since:
        4.2
      • getPageNavigationArrowDisable

        public java.lang.String getPageNavigationArrowDisable()
        Deprecated.
        Since:
        4m5
      • getRowsPerPage

        public java.lang.String getRowsPerPage()
        Deprecated.
        Since:
        4m5
      • isHelpAvailable

        public boolean isHelpAvailable()
        Deprecated.
        Since:
        4.2
      • getHelpImage

        public java.lang.String getHelpImage()
        Deprecated.
        Since:
        4m6
      • getHelp

        public java.lang.String getHelp()
        Deprecated.
        CSS class for the help icon, link or button.

        Since:
        4m6
      • getTotalRow

        public java.lang.String getTotalRow()
        Deprecated.
      • getFilterCell

        public java.lang.String getFilterCell()
        Deprecated.
        Since:
        4.2
      • getLayoutLabelCell

        public java.lang.String getLayoutLabelCell()
        Deprecated.
        To allow the definition of different style for the label side of the view.
        Since:
        4.5
      • getLayoutDataCell

        public java.lang.String getLayoutDataCell()
        Deprecated.
        To allow the definition of different style for the data side of the view.
        Since:
        4.5
      • getLayoutRowSpacer

        public java.lang.String getLayoutRowSpacer()
        Deprecated.
        To define the space between rows.
        Since:
        4.5
      • getLayoutContent

        public java.lang.String getLayoutContent()
        Deprecated.
        Helps define additional styles for the content.
        Since:
        4.7
      • getFrameSibling

        public java.lang.String getFrameSibling()
        Deprecated.
        Returns:
        Style for the second and next frames within the same row.
        Since:
        4.9.1
      • getPropertyLeftMargin

        public int getPropertyLeftMargin()
        Deprecated.
        Returns:
        Left margin for properties.
        Since:
        4.9.1
      • getErrorEditor

        public java.lang.String getErrorEditor()
        Deprecated.
        Since:
        v6.0
      • getRequiredEditor

        public java.lang.String getRequiredEditor()
        Deprecated.
        Since:
        v6.0
      • getAttachedFile

        public java.lang.String getAttachedFile()
        Deprecated.
        Returns:
        Style class for attached files.
        Since:
        5.1
      • getResizeColumns

        public java.lang.String getResizeColumns()
        Deprecated.
        Since:
        5.7
      • getSubscribed

        public java.lang.String getSubscribed()
        Deprecated.
        Since:
        5.9
      • getUnsubscribed

        public java.lang.String getUnsubscribed()
        Deprecated.
        Since:
        5.9