public class EditorScrollbarOptions
extends org.primefaces.shaded.json.JSONObject
implements java.io.Serializable
| Constructor and Description |
|---|
EditorScrollbarOptions() |
accumulate, append, doubleToString, entrySet, get, getBigDecimal, getBigInteger, getBoolean, getDouble, getEnum, getFloat, getInt, getJSONArray, getJSONObject, getLong, getNames, getNames, getNumber, getString, has, increment, isDecimalNotation, isEmpty, isNull, keys, keySet, length, names, numberToString, opt, optBigDecimal, optBigInteger, optBoolean, optBoolean, optDouble, optDouble, optEnum, optEnum, optFloat, optFloat, optInt, optInt, optJSONArray, optJSONObject, optLong, optLong, optNumber, optNumber, optQuery, optQuery, optString, optString, put, put, put, put, put, put, put, put, putOnce, putOpt, query, query, quote, quote, remove, similar, stringToNumber, stringToValue, testValidity, toJSONArray, toMap, toString, toString, valueToString, wrap, write, writepublic java.lang.Boolean isAlwaysConsumeMouseWheel()
preventDefault() and stopPropagation() on
the browser events). Defaults to true.public EditorScrollbarOptions setAlwaysConsumeMouseWheel(java.lang.Boolean alwaysConsumeMouseWheel)
alwaysConsumeMouseWheel - Always consume mouse wheel events (always call preventDefault() and stopPropagation() on the browser events). Defaults to true.public java.lang.Number getArrowSize()
11.public EditorScrollbarOptions setArrowSize(java.lang.Number arrowSize)
arrowSize - The size of arrows (if displayed). Defaults to 11.public java.lang.Boolean isHandleMouseWheel()
true.public EditorScrollbarOptions setHandleMouseWheel(java.lang.Boolean handleMouseWheel)
handleMouseWheel - Listen to mouse wheel events and react to them by scrolling. Defaults to true.public java.lang.String getHorizontal()
auto.public EditorScrollbarOptions setHorizontal(EScrollbarHorizontal horizontal)
horizontal - Render horizontal scrollbar. Defaults to auto.public EditorScrollbarOptions setHorizontal(java.lang.String horizontal)
public java.lang.Boolean isHorizontalHasArrows()
false.public EditorScrollbarOptions setHorizontalHasArrows(java.lang.Boolean horizontalHasArrows)
horizontalHasArrows - Render arrows at the left and right of the horizontal scrollbar. Defaults to false.public java.lang.Number getHorizontalScrollbarSize()
10 (px).public EditorScrollbarOptions setHorizontalScrollbarSize(java.lang.Number horizontalScrollbarSize)
horizontalScrollbarSize - Height in pixels for the horizontal scrollbar. Defaults to 10 (px).public java.lang.Number getHorizontalSliderSize()
horizontalScrollbarSize.public EditorScrollbarOptions setHorizontalSliderSize(java.lang.Number horizontalSliderSize)
horizontalSliderSize - Height in pixels for the horizontal slider. Defaults to horizontalScrollbarSize.public java.lang.Boolean isUseShadows()
true.public EditorScrollbarOptions setUseShadows(java.lang.Boolean useShadows)
useShadows - Cast horizontal and vertical shadows when the content is scrolled. Defaults to true.public java.lang.String getVertical()
auto.public EditorScrollbarOptions setVertical(EScrollbarVertical vertical)
vertical - Render vertical scrollbar. Defaults to auto.public EditorScrollbarOptions setVertical(java.lang.String vertical)
public java.lang.Boolean isVerticalHasArrows()
false.public EditorScrollbarOptions setVerticalHasArrows(java.lang.Boolean verticalHasArrows)
verticalHasArrows - Render arrows at the top and bottom of the vertical scrollbar. Defaults to false.public java.lang.Number getVerticalScrollbarSize()
10 (px).public EditorScrollbarOptions setVerticalScrollbarSize(java.lang.Number verticalScrollbarSize)
verticalScrollbarSize - Width in pixels for the vertical scrollbar. Defaults to 10 (px).public java.lang.Number getVerticalSliderSize()
verticalScrollbarSize.public EditorScrollbarOptions setVerticalSliderSize(java.lang.Number verticalSliderSize)
verticalSliderSize - Width in pixels for the vertical slider. Defaults to verticalScrollbarSize.Copyright © 2011–2021. All rights reserved.