Package com._1c.g5.lwt.controls
Class LongLightSpinner
-
- All Implemented Interfaces:
IEditable
,ILightComposite
,ILightContentComposite<LightText>
,ILightControl
public class LongLightSpinner extends AbstractLightSpinner<Long>
Light spinner control for long values.
-
-
Constructor Summary
Constructors Constructor Description LongLightSpinner(boolean nullable)
The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Long
getDefaultMaximum()
Gets the default maximum value.protected Long
getDefaultMinimum()
Gets the default minimum value.protected Long
getInvalidValue()
Gets the invalid value.protected Pattern
getVerifyPattern()
Gets the verify pattern for value.protected Long
nextValue(Long value)
Gets the next value to given value.protected Long
parseValue(String text)
Parses value from given text.protected Long
previousValue(Long value)
Gets the previous value to given value.-
Methods inherited from class com._1c.g5.lwt.controls.AbstractLightSpinner
addValueListener, getMaximum, getMinimum, getValue, removeValueListener, setEditable, setMaximum, setMinimum, setValue
-
Methods inherited from class com._1c.g5.lwt.controls.LightTextEditorBar
addButton, getButtons, isTextEditable, removeButton, setEditable, setTextEditable
-
Methods inherited from class com._1c.g5.lwt.controls.LightEditorBar
contentSet, contentUnset, getBackgroundColor, getBorderColor, getImage, getLeftSide, getRightSide, isEditable, paint, setBackgroundColor, setBorderColor, setEnabled, setImage, setVisible
-
Methods inherited from class com._1c.g5.lwt.AbstractLightContentComposite
getContent, setContent
-
Methods inherited from class com._1c.g5.lwt.LightComposite
addChild, addChild, addChildAfter, addLayerAbove, addLayerBehind, computeSize, controlFromPoint, dispose, getActiveControl, getChildCount, getChildren, getLayers, getLayout, layout, layout, removeChild, removeChild, revealRectangle, setActiveControl, setBounds, setFocus, setLayout, translatePointFromControl, translatePointToControl, translateRectangleFromControl, translateRectangleToControl, traverse, traverse
-
Methods inherited from class com._1c.g5.lwt.AbstractLightControl
addControlListener, getBounds, getCursor, getData, getLayoutData, getOverlay, getParent, getTooltip, getVisibleBounds, handleEvent, invalidate, invalidate, isDisposed, isEnabled, isFocused, isVisible, removeControlListener, setCursor, setData, setFocusable, setLayoutData, setOverlay, setParent, setTooltip
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com._1c.g5.lwt.ILightComposite
getMainLayer
-
Methods inherited from interface com._1c.g5.lwt.ILightControl
addControlListener, getBounds, getCursor, getData, getLayoutData, getParent, getTooltip, getVisibleBounds, handleEvent, initialize, invalidate, invalidate, isDisposed, isEnabled, isFocused, isVisible, removeControlListener, setCursor, setData, setLayoutData, setParent, setTooltip
-
-
-
-
Method Detail
-
getDefaultMaximum
protected Long getDefaultMaximum()
Description copied from class:AbstractLightSpinner
Gets the default maximum value.- Specified by:
getDefaultMaximum
in classAbstractLightSpinner<Long>
- Returns:
- The default maximum value.
-
getDefaultMinimum
protected Long getDefaultMinimum()
Description copied from class:AbstractLightSpinner
Gets the default minimum value.- Specified by:
getDefaultMinimum
in classAbstractLightSpinner<Long>
- Returns:
- The default minimum value.
-
getInvalidValue
protected Long getInvalidValue()
Description copied from class:AbstractLightSpinner
Gets the invalid value.- Specified by:
getInvalidValue
in classAbstractLightSpinner<Long>
- Returns:
- The invalid value.
-
getVerifyPattern
protected Pattern getVerifyPattern()
Description copied from class:AbstractLightSpinner
Gets the verify pattern for value.- Specified by:
getVerifyPattern
in classAbstractLightSpinner<Long>
- Returns:
- The verify pattern.
-
nextValue
protected Long nextValue(Long value)
Description copied from class:AbstractLightSpinner
Gets the next value to given value.- Specified by:
nextValue
in classAbstractLightSpinner<Long>
- Parameters:
value
- The given value.- Returns:
- The next value.
-
parseValue
protected Long parseValue(String text)
Description copied from class:AbstractLightSpinner
Parses value from given text.- Specified by:
parseValue
in classAbstractLightSpinner<Long>
- Parameters:
text
- The given text.- Returns:
- The parsed value.
-
previousValue
protected Long previousValue(Long value)
Description copied from class:AbstractLightSpinner
Gets the previous value to given value.- Specified by:
previousValue
in classAbstractLightSpinner<Long>
- Parameters:
value
- The given value.- Returns:
- The previous value.
-
-