Class Style
×News: XavaPro 7.7 released - March 11 · Read more
java.lang.Object
org.openxava.web.style.Style
- Direct Known Subclasses:
XavaStyle
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.getActiveSectionTabStartDecoration(boolean first, boolean last) Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.doubleDeprecated.Pixels to add/substract from list width to a correct adjustament.getCollectionFrameHeaderStartDecoration(int width) Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.getFirst()Deprecated.getFrame()Deprecated.Deprecated.Deprecated.Deprecated.protected StringDeprecated.Deprecated.Deprecated.getFrameContentStartDecoration(String id, boolean closed) Deprecated.Deprecated.Deprecated.getFrameHeaderStartDecoration(int width) Deprecated.getFrameHeaderStartDecoration(int width, boolean collection) Deprecated.Deprecated.protected StringDeprecated.protected StringDeprecated.Deprecated.protected StringDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.protected StringDeprecated.protected StringDeprecated.Deprecated.getHelp()Deprecated.CSS class for the help icon, link or button.Deprecated.getIcon()Deprecated.For icon editor.Deprecated.For icon in list as data.Deprecated.The folder with images used for actions.getInfos()Deprecated.Deprecated.static StyleDeprecated.getLabel()Deprecated.getLast()Deprecated.Deprecated.Helps define additional styles for the content.Deprecated.To allow the definition of different style for the data side of the view.Deprecated.To allow the definition of different style for the label side of the view.Deprecated.To define the space between rows.doubleDeprecated.Pixels to add/substract from list width to a correct adjustament.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.For messagesDeprecated.Deprecated.If it starts with '/' the URI is absolute, otherwise the context path is inserted before.Deprecated.getMoney()Deprecated.getNextPageNavigationEvents(String listId) Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.intDeprecated.Deprecated.Deprecated.Deprecated.If it starts with '/' the URI is absolute, otherwise the context path is inserted before.Deprecated.Deprecated.Deprecated.If it starts with '/' the URI is absolute, otherwise the context path is inserted before.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.getSectionTabStartDecoration(boolean first, boolean last) Deprecated.protected StringgetSectionTabStartDecoration(boolean first, boolean last, boolean active) Deprecated.Deprecated.Deprecated.Deprecated.The JavaScript function that assign the HTML token to a specific a element.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.getView()Deprecated.Deprecated.booleanDeprecated.Iftrueinvalid input: '<'/codeinvalid input: '<' the header in list is aligned as data displayed in its column.booleanDeprecated.Iftruethe style for selected row (or special style) in a list is applied to the row (tr) and to also the cell (td).booleanDeprecated.protected booleanDeprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.protected booleanisIE()Deprecated.protected booleanisIE6()Deprecated.protected booleanisIE7()Deprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.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.voidsetBrowser(String browser) Deprecated.
-
Constructor Details
-
Style
public Style()Deprecated.
-
-
Method Details
-
getInstance
Deprecated. -
getDefaultModeController
-
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
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
Deprecated. -
getCoreStartDecoration
-
getCoreEndDecoration
-
getCssFile
Deprecated. -
getMetaTags
-
getEditorWrapper
Deprecated. -
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
-
getListMode
-
getView
-
getActionLink
Deprecated. -
getActionImage
Deprecated. -
getActionLabel
-
getCustomizeControls
-
getButtonBarContainer
-
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
-
getActive
-
getFirst
-
getLast
-
getLabel
Deprecated. -
getModuleDescription
-
getFrameContent
Deprecated. -
getSelectedListFormat
-
getCharts
-
getChartXColumn
-
getChartType
-
getListCellSpacing
Deprecated. -
getListSubheader
Deprecated. -
getListOrderBy
Deprecated. -
getListPairEvents
-
getListOddEvents
-
getListPairSelected
Deprecated. -
getListOddSelected
Deprecated. -
getListInfo
Deprecated. -
getListTitle
Deprecated. -
getHeaderListCount
-
getListTitleWrapper
Deprecated. -
getFrameHeaderStartDecoration
Deprecated. -
getCollectionFrameHeaderStartDecoration
-
getFrameHeaderStartDecoration
Deprecated. -
getFrameHeaderStartDecoration
Deprecated. -
getFrameHeaderEndDecoration
Deprecated. -
getFrameTitleStartDecoration
Deprecated. -
getFrameTitleEndDecoration
Deprecated. -
getFrameActions
-
getFrameActionsStartDecoration
Deprecated. -
getFrameActionsEndDecoration
Deprecated. -
getFrameTotals
-
getFrameTotalsLabel
-
getFrameTotalsValue
-
getFrameContentStartDecoration
Deprecated. -
getFrameContentStartDecoration
-
getFrameContentEndDecoration
Deprecated. -
getFrame
Deprecated. -
getHalfFrame
-
getFullFrame
-
getFrameTitle
Deprecated. -
getFrameTitleLabel
Deprecated. -
getFrameSpacing
Deprecated. -
getEditor
Deprecated. -
getEditorSuffix
-
getSmallLabel
Deprecated. -
getRadioButtons
-
getIcon
-
getIconInList
-
getDescriptionsList
-
getReadOnlyHtmlText
-
getMoney
-
getMessages
Deprecated. -
getInfos
-
getWarnings
-
getMessagesWrapper
-
getSortIndicator
-
getSortIndicator2
-
getSections
-
getSection
Deprecated. -
getSectionTab
-
getSectionTableAttributes
Deprecated. -
getActiveSection
-
getSectionBarStartDecoration
Deprecated. -
getSectionBarEndDecoration
Deprecated. -
getActiveSectionTabStartDecoration
Deprecated. -
getSectionTabStartDecoration
Deprecated. -
getSectionTabStartDecoration
Deprecated. -
getActiveSectionTabEndDecoration
Deprecated. -
getSectionTabEndDecoration
Deprecated. -
getCollection
-
getCollectionListActions
Deprecated. -
getRestoreImage
Deprecated.If it starts with '/' the URI is absolute, otherwise the context path is inserted before. -
getMinimizeImage
Deprecated.If it starts with '/' the URI is absolute, otherwise the context path is inserted before. -
getRemoveImage
Deprecated.If it starts with '/' the URI is absolute, otherwise the context path is inserted before. -
isAlignHeaderAsData
public boolean isAlignHeaderAsData()Deprecated.Iftrueinvalid 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.Iftruethe style for selected row (or special style) in a list is applied to the row (tr) and to also the cell (td).If
falsethe 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
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
Deprecated. -
setBrowser
Deprecated. -
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
-
getSubcontrollerSelected
-
getCurrentRowCell
-
getRowsPerPage
-
isHelpAvailable
public boolean isHelpAvailable()Deprecated.- Since:
- 4.2
-
getHelpImage
-
getHelp
-
getTotalRow
Deprecated. -
getFilterCell
-
getLayoutLabelCell
Deprecated.To allow the definition of different style for the label side of the view.- Since:
- 4.5
-
getLayoutDataCell
Deprecated.To allow the definition of different style for the data side of the view.- Since:
- 4.5
-
getLayoutRowSpacer
-
getLayoutContent
Deprecated.Helps define additional styles for the content.- Since:
- 4.7
-
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
-
getRequiredEditor
-
getAttachedFile
-
getResizeColumns
-
getSubscribed
-
getUnsubscribed
-