Class Style

×News: XavaPro 7.7 released - March 11 · Read more
java.lang.Object
org.openxava.web.style.Style
Direct Known Subclasses:
XavaStyle

@Deprecated public class Style extends 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 Details

    • Style

      public Style()
      Deprecated.
  • Method Details

    • getInstance

      public static Style getInstance()
      Deprecated.
    • getDefaultModeController

      public 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 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 String getInitThemeScript()
      Deprecated.
    • getCoreStartDecoration

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

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

      public String getCssFile()
      Deprecated.
    • getMetaTags

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

      public String getEditorWrapper()
      Deprecated.
    • getImagesFolder

      public 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 String getPageNavigationSelectedImage()
      Deprecated.
      Since:
      4.2
    • getPageNavigationImage

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

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

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

      public String getActionLink()
      Deprecated.
    • getActionImage

      public String getActionImage()
      Deprecated.
    • getActionLabel

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

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

      public 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 String getButtonBarImage()
      Deprecated.
      Since:
      4.2
    • getActive

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

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

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

      public String getLabel()
      Deprecated.
    • getModuleDescription

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

      protected String getFrameContent()
      Deprecated.
    • getSelectedListFormat

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

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

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

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

      public String getListCellSpacing()
      Deprecated.
    • getListSubheader

      public String getListSubheader()
      Deprecated.
    • getListOrderBy

      public String getListOrderBy()
      Deprecated.
    • getListPairEvents

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

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

      public String getListPairSelected()
      Deprecated.
    • getListOddSelected

      public String getListOddSelected()
      Deprecated.
    • getListInfo

      public String getListInfo()
      Deprecated.
    • getListTitle

      public String getListTitle()
      Deprecated.
    • getHeaderListCount

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

      public String getListTitleWrapper()
      Deprecated.
    • getFrameHeaderStartDecoration

      public String getFrameHeaderStartDecoration()
      Deprecated.
    • getCollectionFrameHeaderStartDecoration

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

      public String getFrameHeaderStartDecoration(int width)
      Deprecated.
    • getFrameHeaderStartDecoration

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

      public String getFrameHeaderEndDecoration()
      Deprecated.
    • getFrameTitleStartDecoration

      public String getFrameTitleStartDecoration()
      Deprecated.
    • getFrameTitleEndDecoration

      public String getFrameTitleEndDecoration()
      Deprecated.
    • getFrameActions

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

      public String getFrameActionsStartDecoration()
      Deprecated.
    • getFrameActionsEndDecoration

      public String getFrameActionsEndDecoration()
      Deprecated.
    • getFrameTotals

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

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

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

      public String getFrameContentStartDecoration()
      Deprecated.
    • getFrameContentStartDecoration

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

      public String getFrameContentEndDecoration()
      Deprecated.
    • getFrame

      public String getFrame()
      Deprecated.
    • getHalfFrame

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

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

      protected String getFrameTitle()
      Deprecated.
    • getFrameTitleLabel

      protected String getFrameTitleLabel()
      Deprecated.
    • getFrameSpacing

      protected String getFrameSpacing()
      Deprecated.
    • getEditor

      public String getEditor()
      Deprecated.
    • getEditorSuffix

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

      public String getSmallLabel()
      Deprecated.
    • getRadioButtons

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

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

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

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

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

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

      public String getMessages()
      Deprecated.
    • getInfos

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

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

      public String getMessagesWrapper()
      Deprecated.
      For messages
    • getSortIndicator

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

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

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

      public String getSection()
      Deprecated.
    • getSectionTab

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

      public String getSectionTableAttributes()
      Deprecated.
    • getActiveSection

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

      public String getSectionBarStartDecoration()
      Deprecated.
    • getSectionBarEndDecoration

      public String getSectionBarEndDecoration()
      Deprecated.
    • getActiveSectionTabStartDecoration

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

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

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

      public String getActiveSectionTabEndDecoration()
      Deprecated.
    • getSectionTabEndDecoration

      public String getSectionTabEndDecoration()
      Deprecated.
    • getCollection

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

      public String getCollectionListActions()
      Deprecated.
    • getRestoreImage

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

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

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

      public boolean isAlignHeaderAsData()
      Deprecated.
      If trueinvalid input: '<'/codeinvalid input: '<' the header in list is aligned as data displayed in its column.

      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 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 String getSelectedRow()
      Deprecated.
    • setBrowser

      public void setBrowser(String browser)
      Deprecated.
    • getBrowser

      public 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 String getCurrentRow()
      Deprecated.
      Since:
      4m5
    • getSubcontrollerSelected

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

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

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

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

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

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

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

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

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

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

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

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

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

      Since:
      4m6
    • getTotalRow

      public String getTotalRow()
      Deprecated.
    • getFilterCell

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

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

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

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

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

      public 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 String getErrorEditor()
      Deprecated.
      Since:
      v6.0
    • getRequiredEditor

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

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

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

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

      public String getUnsubscribed()
      Deprecated.
      Since:
      5.9