BBjInputTSpinner
Description
In BBj 24.00 and higher, the BBjInputTSpinner object provides a spinner on a BBjInputT.
Implemented Interfaces
DragSource, DropTarget, Editable, Focusable, MouseWheelEnabled, RecordSetBindable, SimpleRecordSetBindable, TabTraversable, TextAlignable, TextControl, Validateable
Creation
BBjAPI > BBjSysGui > BBjWindow > BBjInputTSpinner
A BBjInputTSpinner object is created through the following BBjWindow methods:
Return Value | Method |
---|---|
BBjInputTSpinner |
|
BBjInputTSpinner |
addInputTSpinner(int ID) |
BBjInputTSpinner |
addInputTSpinner(int ID, number x, number y, number w, number h) |
BBjInputTSpinner |
addInputTSpinner(int ID, number x, number y, number w, number h, number min, number max) |
BBjInputTSpinner |
addInputTSpinner(int ID, number x, number y, number w, number h, string flags$) |
BBjInputTSpinner |
addInputTSpinner(int ID, number x, number y, number w, number h, string flags$, number min, number max) |
BBjInputTSpinner |
addInputTSpinner(int ID, number x, number y, number w, number h, string flags$, string mask$) |
BBjInputTSpinner |
addInputTSpinner(int ID, number x, number y, number w, number h, string flags$, string mask$, number min, number max) |
BBjInputTSpinner |
addInputTSpinner(int ID, number x, number y, number w, number h, string flags$, string mask$, string rules$) |
BBjInputTSpinner |
addInputTSpinner(int ID, number x, number y, number w, number h, string flags$, string mask$, string rules$, number restore, number value) |
BBjInputTSpinner |
addInputTSpinner(int ID, number x, number y, number w, number h, string flags$, string mask$, string rules$, number restore, number value, number min, number max) |
BBjInputTSpinner |
addInputTSpinner(int ID, number min, number max) |
BBjInputTSpinner |
addInputTSpinner(int ID, String flags$) |
BBjInputTSpinner |
addInputTSpinner(int ID, String flags$, number min, number max) |
BBjInputTSpinner |
addInputTSpinner(int ID, String flags$, String mask$) |
BBjInputTSpinner |
addInputTSpinner(int ID, String flags$, String mask$, number min, number max) |
BBjInputTSpinner |
addInputTSpinner(int ID, String flags$, String mask$, string rules$) |
BBjInputTSpinner |
addInputTSpinner(int ID, String flags$, String mask$, string rules$, number restore, number value) |
BBjInputTSpinner |
addInputTSpinner(int ID, String flags$, String mask$, string rules$, number restore, number value, number min, number max) |
BBjInputTSpinner |
addInputTSpinner(number min, number max) |
BBjInputTSpinner |
addInputTSpinner(String flags$) |
BBjInputTSpinner |
addInputTSpinner(String flags$, number min, number max) |
BBjInputTSpinner |
addInputTSpinner(String flags$, String mask$) |
BBjInputTSpinner |
addInputTSpinner(String flags$, String mask$, number min, number max) |
BBjInputTSpinner |
addInputTSpinner(String flags$, String mask$, string rules$) |
BBjInputTSpinner |
addInputTSpinner(String flags$, String mask$, string rules$, number restore, number value) |
BBjInputTSpinner |
addInputTSpinner(String flags$, String mask$, string rules$, number restore, number value, number min, number max) |
Methods of BBjInputTSpinner
Return Value | Method |
---|---|
number |
|
number |
|
number |
|
number |
|
int |
|
void |
setMaximumTime(number max) |
void |
setMinimumTime(number min) |
void |
setSpinField(int spinField) |
Methods of BBjInputTSpinner inherited from BBjSpinner
Return Value | Method |
---|---|
void | spin(boolean up) |
Methods of BBjInputTSpinner inherited from BBjInputT
Return Value |
Method |
---|---|
boolean |
getBeep() |
int |
|
string |
|
int |
getError() |
boolean |
|
boolean |
|
int |
|
string |
|
int |
|
string |
getMask() |
boolean |
|
boolean |
|
string |
|
number |
getValue() |
boolean |
|
void |
restore() |
void |
|
void |
setBeep(boolean beep) |
void |
setCaretPosition(int pos) |
void |
setEditable(boolean editable) |
void |
setEditString(string edit) |
void |
setHighlight(boolean highlight) |
void |
setInsertMode(boolean insert) |
void |
setLength(int length) |
void |
setLocale(String locale) |
void |
setMargin(int marginWidth) |
void |
setMask(string mask) |
void |
setPassEnter(boolean pass) |
void |
setPassTab(boolean pass) |
void |
setRestore(string restore) |
void |
setValue(number value) |
void |
Methods of BBjInputTSpinner implemented for DragSource
Return Value | Method |
---|---|
int | getDragActions() |
string | getDragType() |
void | setDragActions(int actions) |
void | setDragType(string type) |
Methods of BBjInputTSpinner implemented for DropTarget
Return Value | Method |
---|---|
int | getDropActions() |
void | setDropActions(int actions) |
BBjVector | getDropTypes() |
void | setDropTypes(BBjVector types) |
Methods of BBjInputTSpinner implemented for Editable
Return Value | Method |
---|---|
boolean | isEditable() |
void | setEditable(boolean edit) |
Methods of BBjInputTSpinner implemented for Focusable
Return Value | Method |
---|---|
boolean | isFocusable() |
void | setFocusable(boolean focus) |
Methods of BBjInputTSpinner implemented for MouseWheelEnabled
Return Value | Method |
---|---|
int | getScrollWheelBehavior() |
void | setScrollWheelBehavior(int trav) |
Methods of BBjInputTSpinner implemented for RecordSetBindable
Return Value | Method |
---|---|
void | bindRecordSet(BBjRecordSet recordset!, string fieldname) |
string | getBoundFieldName() |
Methods of BBjInputTSpinner implemented for SimpleRecordSetBindable
Return Value | Method |
---|---|
BBjRecordSet | getBoundRecordSet() |
void | unbindRecordSet() |
Methods of BBjInputTSpinner implemented for TabTraversable
Return Value | Method |
---|---|
boolean | isTabTraversable() |
void | setTabTraversable(boolean trav) |
Methods of BBjInputTSpinner implemented for TextAlignable
Return Value | Method |
---|---|
int | getAlignment() |
void | setAlignment(int align) |
Methods of BBjInputTSpinner implemented for TextControl
Methods of BBjInputTSpinner implemented for Validateable
Return Value | Method |
---|---|
void | accept(boolean valid) |
string | getValidationText() |
Methods of BBjInputTSpinner inherited from BBjControl
Callback Code |
Object-oriented Event |
Read Record Event |
Code |
---|---|---|---|
ON_CONTROL_VALIDATION |
v |
||
ON_DROP_TARGET_DROP |
D |
||
ON_EDIT_MODIFY |
e |
||
ON_GAINED_FOCUS |
f |
||
ON_INPUT_KEYPRESS |
N (Notify Code 1) |
||
ON_LOST_FOCUS |
f |
||
ON_MOUSE_ENTER |
E |
||
ON_MOUSE_EXIT |
E |
||
ON_POPUP_REQUEST |
r |
||
ON_RIGHT_MOUSE_DOWN |
R |
||
ON_SPIN | BBjSpinEvent | Spin Event | x |
CSS
The visual appearance of BUI controls is defined using CSS (cascading style sheets) rules. Easily change the default colors, border, and other settings by customizing these rules, all without changing any application code. See CSS API for a high-level overview of BUI CSS.
For BBjSpinner samples, refer to the BUI Showcase (demo, code). The BBjInputTSpinner control contains a BBjInputT, followed by spinner arrows in a structure with the style name .BBjSpinner-arrows and either .BBjSpinner-horizontal-arrows or .BBjSpinner-vertical-arrows. It defines the following style names:
.BBjSpinner |
.BBjInputTSpinner |
.BBjInputT |
.BBjInputT-picker |
.BBjInputTSpinner.bbj-disabled |
.BBjInputTSpinner.bbj-focused |
.BBjInputTSpinner.bbj-readonly |
.BBjSpinner-arrows |
.BBjSpinner-horizontal-arrows (on touch-oriented devices) |
.BBjSpinner-vertical-arrows (on mouse-oriented systems) |
.BBjSpinner-upArrow |
.BBjSpinner-downArrow |
Constants
Value | Constant |
---|---|
10 | HOUR |
11 | HOUR_OF_DAY |
12 | MINUTE |
13 | SECOND |
14 | MILLISECOND |
Constants inherited from BBjControl
Example
|
Version History
See Also
CALLBACK Verb - Register BBj Subroutine
DWC Component: dwc-timefield-spinner
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.