Package org.openxava.web.style
Class Style
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.Iftrue</code< 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
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
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
Deprecated.- Since:
- 4.2
-
getCoreEndDecoration
Deprecated.- Since:
- 4.2
-
getCssFile
Deprecated. -
getMetaTags
Deprecated.- Since:
- 4.2
-
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
Deprecated.- Since:
- 6.0
-
getView
Deprecated.- Since:
- 4.2
-
getActionLink
Deprecated. -
getActionImage
Deprecated. -
getActionLabel
Deprecated.- Since:
- 6.6
-
getCustomizeControls
Deprecated.- Since:
- 5.5
-
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
Deprecated.- Since:
- 4.2
-
getActive
Deprecated.- Since:
- 4.2
-
getFirst
Deprecated.- Since:
- 4.2
-
getLast
Deprecated.- Since:
- 4.2
-
getLabel
Deprecated. -
getModuleDescription
Deprecated.- Since:
- 4.2
-
getFrameContent
Deprecated. -
getSelectedListFormat
Deprecated.- Since:
- 5.4
-
getCharts
Deprecated.- Since:
- 5.4
-
getChartXColumn
Deprecated.- Since:
- 5.4
-
getChartType
Deprecated.- Since:
- 5.4
-
getListCellSpacing
Deprecated. -
getListSubheader
Deprecated. -
getListOrderBy
Deprecated. -
getListPairEvents
Deprecated.- Parameters:
Since- v4m5 it has no parameters
-
getListOddEvents
Deprecated.- Parameters:
Since- v4m5 it has no parameters
-
getListPairSelected
Deprecated. -
getListOddSelected
Deprecated. -
getListInfo
Deprecated. -
getListTitle
Deprecated. -
getHeaderListCount
Deprecated.- Since:
- 4.2
-
getListTitleWrapper
Deprecated. -
getFrameHeaderStartDecoration
Deprecated. -
getCollectionFrameHeaderStartDecoration
Deprecated.- Since:
- 5.1.1
-
getFrameHeaderStartDecoration
Deprecated. -
getFrameHeaderStartDecoration
Deprecated. -
getFrameHeaderEndDecoration
Deprecated. -
getFrameTitleStartDecoration
Deprecated. -
getFrameTitleEndDecoration
Deprecated. -
getFrameActions
Deprecated.- Since:
- 4.2
-
getFrameActionsStartDecoration
Deprecated. -
getFrameActionsEndDecoration
Deprecated. -
getFrameTotals
Deprecated.- Since:
- 4.4
-
getFrameTotalsLabel
Deprecated.- Since:
- 4.4
-
getFrameTotalsValue
Deprecated.- Since:
- 4.4
-
getFrameContentStartDecoration
Deprecated. -
getFrameContentStartDecoration
Deprecated. -
getFrameContentEndDecoration
Deprecated. -
getFrame
Deprecated. -
getHalfFrame
Deprecated.- Since:
- 6.6.3
-
getFullFrame
Deprecated.- Since:
- 6.6.3
-
getFrameTitle
Deprecated. -
getFrameTitleLabel
Deprecated. -
getFrameSpacing
Deprecated. -
getEditor
Deprecated. -
getEditorSuffix
Deprecated.- Since:
- 6.5.3
-
getSmallLabel
Deprecated. -
getRadioButtons
Deprecated.- Since:
- 5.5
-
getIcon
Deprecated.For icon editor.- Since:
- 5.5
-
getIconInList
Deprecated.For icon in list as data.- Since:
- 5.5
-
getDescriptionsList
Deprecated.- Since:
- 5.5
-
getReadOnlyHtmlText
Deprecated.- Since:
- 6.4.1
-
getMoney
Deprecated.- Since:
- 5.6.1
-
getMessages
Deprecated. -
getInfos
Deprecated.- Since:
- 4.3
-
getWarnings
Deprecated.- Since:
- 4.3
-
getMessagesWrapper
Deprecated.For messages -
getSortIndicator
Deprecated.- Since:
- v5.5
-
getSortIndicator2
Deprecated.- Since:
- v5.5
-
getSections
Deprecated.- Since:
- v5.7
-
getSection
Deprecated. -
getSectionTab
Deprecated.- Since:
- 4.2
-
getSectionTableAttributes
Deprecated. -
getActiveSection
Deprecated.- Since:
- 4.2, renamed from getSectionActive()
-
getSectionBarStartDecoration
Deprecated. -
getSectionBarEndDecoration
Deprecated. -
getActiveSectionTabStartDecoration
Deprecated. -
getSectionTabStartDecoration
Deprecated. -
getSectionTabStartDecoration
Deprecated. -
getActiveSectionTabEndDecoration
Deprecated. -
getSectionTabEndDecoration
Deprecated. -
getCollection
Deprecated.- Since:
- 5.8
-
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.Iftrue</code< 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
Deprecated.- Since:
- 4m5
-
getSubcontrollerSelected
Deprecated.- Since:
- 6.1
-
getCurrentRowCell
Deprecated.- Since:
- 4m5
-
getRowsPerPage
Deprecated.- Since:
- 4m5
-
isHelpAvailable
public boolean isHelpAvailable()Deprecated.- Since:
- 4.2
-
getHelpImage
Deprecated.- Since:
- 4m6
-
getHelp
Deprecated.CSS class for the help icon, link or button.- Since:
- 4m6
-
getTotalRow
Deprecated. -
getFilterCell
Deprecated.- Since:
- 4.2
-
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
Deprecated.To define the space between rows.- Since:
- 4.5
-
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
Deprecated.- Since:
- v6.0
-
getRequiredEditor
Deprecated.- Since:
- v6.0
-
getAttachedFile
Deprecated.- Returns:
- Style class for attached files.
- Since:
- 5.1
-
getResizeColumns
Deprecated.- Since:
- 5.7
-
getSubscribed
Deprecated.- Since:
- 5.9
-
getUnsubscribed
Deprecated.- Since:
- 5.9
-