BBjInputESpinner
Description
The BBjInputESpinner object provides a spinner on a BBjInputE.
Implemented Interfaces
DragSource, DropTarget, Editable, Focusable, MouseWheelEnabled, RecordSetBindable, RecordSetFillable ,SimpleRecordSetBindable, TabTraversable, TextControl, TextAlignable, Validateable
In BBj 15.0 and higher: TextControl
Creation
BBjAPI > BBjSysGui > BBjWindow > BBjInputESpinner
A BBjInputESpinner object is created through the following BBjWindow methods:
Return Value |
Method |
---|---|
addInputESpinner(int ID, number x, number y, number w, number h) |
|
addInputESpinner(int ID, number x, number y, number w, number h, BBjVector list!) |
|
addInputESpinner(int ID, number x, number y, number w, number h, string flags$) |
|
addInputESpinner(int ID, number x, number y, number w, number h, string flags$, BBjVector list!) |
|
addInputESpinner(int ID, number x, number y, number w, number h, string flags$, int len) |
|
addInputESpinner(int ID, number x, number y, number w, number h, string flags$, int len, BBjVector list!) |
|
addInputESpinner(int ID, number x, number y, number w, number h, string flags$, int len, string pad$) |
|
addInputESpinner(int ID, number x, number y, number w, number h, string flags$, int len, string pad$, BBjVector list!) |
|
addInputESpinner(int ID, number x, number y, number w, number h, string flags$, int len, string pad$, string val$) |
|
addInputESpinner(int ID, number x, number y, number w, number h, string flags$, int len, string pad$, string val$, BBjVector list!) |
|
addInputESpinner(int ID, number x, number y, number w, number h, string flags$, int len, string pad$, int initPos, string restore$, string val$) |
|
addInputESpinner(int ID, number x, number y, number w, number h, string flags$, int len, string pad$, int initPos, string restore$, string val$, BBjVector list!) |
|
addInputESpinner(int ID, number x, number y, number w, number h, string flags$, string mask$) |
|
addInputESpinner(int ID, number x, number y, number w, number h, string flags$, string mask$, BBjVector list!) |
|
addInputESpinner(int ID, number x, number y, number w, number h, string flags$, string mask$, string pad$) |
|
addInputESpinner(int ID, number x, number y, number w, number h, string flags$, string mask$, string pad$, BBjVector list!) |
|
addInputESpinner(int ID, number x, number y, number w, number h, string flags$, string mask$, string pad$, string val$) |
|
addInputESpinner(int ID, number x, number y, number w, number h, string flags$, string mask$, string pad$, string val$, BBjVector list!) |
|
addInputESpinner(int ID, number x, number y, number w, number h, string flags$, string mask$, string pad$, int initPos, string restore$, string val$) |
|
addInputESpinner(int ID, number x, number y, number w, number h, string flags$, string mask$, string pad$, int initPos, string restore$, string val$, BBjVector list!) |
|
BBjInputESpinner | addInputESpinner(int ID) |
BBjInputESpinner | addInputESpinner(int ID, BBjVector list!) |
BBjInputESpinner | addInputESpinner(int ID, String flags$) |
BBjInputESpinner | addInputESpinner(int ID, String flags$, BBjVector list!) |
BBjInputESpinner | addInputESpinner(int ID, String flags$, int len) |
BBjInputESpinner | addInputESpinner(int ID, String flags$, int len, BBjVector list!) |
BBjInputESpinner | addInputESpinner(int ID, String flags$, int len, string pad$) |
BBjInputESpinner | addInputESpinner(int ID, String flags$, int len, string pad$, BBjVector list!) |
BBjInputESpinner | addInputESpinner(int ID, String flags$, int len, string pad$, string val$) |
BBjInputESpinner | addInputESpinner(int ID, String flags$, int len, string pad$, string val$, BBjVector list!) |
BBjInputESpinner | addInputESpinner(int ID, String flags$, int len, string pad$, int initPos, string restore$, string val$) |
BBjInputESpinner | addInputESpinner(int ID, String flags$, int len, string pad$, int initPos, string restore$, string val$, BBjVector list!) |
BBjInputESpinner | addInputESpinner(int ID, String flags$, String mask$) |
BBjInputESpinner | addInputESpinner(int ID, String flags$, String mask$, BBjVector list!) |
BBjInputESpinner | addInputESpinner(int ID, String flags$, String mask$, string pad$) |
BBjInputESpinner | addInputESpinner(int ID, String flags$, String mask$, string pad$, BBjVector list!) |
BBjInputESpinner | addInputESpinner(int ID, String flags$, String mask$, string pad$, string val$) |
BBjInputESpinner | addInputESpinner(int ID, String flags$, String mask$, string pad$, string val$, BBjVector list!) |
BBjInputESpinner | addInputESpinner(int ID, String flags$, String mask$, string pad$, int initPos, string restore$, string val$) |
BBjInputESpinner | addInputESpinner(int ID, String flags$, String mask$, string pad$, int initPos, string restore$, string val$, BBjVector list!) |
BBjInputESpinner | |
BBjInputESpinner | addInputESpinner(BBjVector list!) |
BBjInputESpinner | addInputESpinner(String flags$) |
BBjInputESpinner | addInputESpinner(String flags$, BBjVector list!) |
BBjInputESpinner | addInputESpinner(String flags$, int len) |
BBjInputESpinner | addInputESpinner(String flags$, int len, BBjVector list!) |
BBjInputESpinner | addInputESpinner(String flags$, int len, string pad$) |
BBjInputESpinner | addInputESpinner(String flags$, int len, string pad$, BBjVector list!) |
BBjInputESpinner | addInputESpinner(String flags$, int len, string pad$, string val$) |
BBjInputESpinner | addInputESpinner(String flags$, int len, string pad$, string val$, BBjVector list!) |
BBjInputESpinner | addInputESpinner(String flags$, int len, string pad$, int initPos, string restore$, string val$) |
BBjInputESpinner | addInputESpinner(String flags$, int len, string pad$, int initPos, string restore$, string val$, BBjVector list!) |
BBjInputESpinner | addInputESpinner(String flags$, String mask$) |
BBjInputESpinner | addInputESpinner(String flags$, String mask$, BBjVector list!) |
BBjInputESpinner | addInputESpinner(String flags$, String mask$, string pad$) |
BBjInputESpinner | addInputESpinner(String flags$, String mask$, string pad$, BBjVector list!) |
BBjInputESpinner | addInputESpinner(String flags$, String mask$, string pad$, string val$) |
BBjInputESpinner | addInputESpinner(String flags$, String mask$, string pad$, string val$, BBjVector list!) |
BBjInputESpinner | addInputESpinner(String flags$, String mask$, string pad$, int initPos, string restore$, string val$) |
addInputESpinner(String flags$, String mask$, string pad$, int initPos, string restore$, string val$, BBjVector list!) |
Methods of BBjInputESpinner inherited from BBjListSpinner
Return Value |
Method |
int |
|
void |
setListIndex(int index) |
void |
setSpinList(BBjVector spinList!) |
Methods of BBjInputESpinner inherited from BBjSpinner
Return Value |
Method |
void |
spin(boolean up) |
Methods of BBjInputESpinner inherited from BBjInputE
Return Value |
Method |
int |
|
int |
getError() |
string |
|
boolean |
|
boolean |
|
int |
|
string |
getMask() |
int |
|
string |
|
boolean |
|
boolean |
|
string |
|
boolean |
|
void |
restore() |
void |
setCaretPosition(int pos) |
void |
setEditable(boolean editable) |
void |
setEditString(string edit) |
void |
setHighlight(boolean highlight) |
void |
setInsertMode(boolean insert) |
void |
setLength(int len) |
void |
setMargin(int marginWidth) |
void |
setMask(string mask) |
void |
setPadCharacter(string pad) |
void |
setPassEnter(boolean pass) |
void |
setPassTab(boolean pass) |
void |
setRestore(string restore) |
Methods of BBjInputESpinner implemented for DragSource
Return Value | Method |
---|---|
int | getDragActions() |
string | getDragType() |
void | setDragActions(int actions) |
void | setDragType(string type) |
Methods of BBjInputESpinner implemented for DropTarget
Return Value | Method |
---|---|
int | getDropActions() |
void | setDropActions(int actions) |
BBjVector | getDropTypes() |
void | setDropTypes(BBjVector types) |
Methods of BBjInputESpinner implemented for Editable
Return Value | Method |
---|---|
boolean | isEditable() |
void | setEditable(boolean edit) |
Methods of BBjInputESpinner implemented for Focusable
Return Value | Method |
---|---|
boolean | isFocusable() |
void | setFocusable(boolean focus) |
Methods of BBjInputESpinner implemented for RecordSetBindable
Return Value | Method |
---|---|
void | bindRecordSet(BBjRecordSet recordset!, string fieldname) |
string | getBoundFieldName() |
of BBjInputESpinner implemented for RecordSetFillable
Return Value |
Method |
---|---|
void |
fillFromRecordSet(BBjRecordSet recordset, string fieldname) |
Methods of BBjInputESpinner implemented for SimpleRecordSetBindable
Return Value | Method |
---|---|
BBjRecordSet | getBoundRecordSet() |
void | unbindRecordSet() |
Methods of BBjInputESpinner implemented for TabTraversable
Return Value | Method |
---|---|
boolean | isTabTraversable() |
void | setTabTraversable(boolean trav) |
Methods of BBjInputESpinner implemented for TextAlignable
Return Value | Method |
---|---|
int | getAlignment() |
void | setAlignment(int align) |
Methods of of BBjInputESpinner implemented TextControl
Methods of BBjInputESpinner implemented for Validateable
Return Value | Method |
---|---|
void | accept(boolean valid) |
string | getValidationText() |
Methods of BBjInputESpinner inherited from BBjControl
Events
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 |
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 BBjInputESpinner control contains a BBjInputE, 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
.BBjInputESpinner
.BBjInputESpinner.bbj-disabled
.BBjInputESpinner.bbj-focused
.BBjInputESpinner.bbj-readonly
.BBjSpinner-arrows
.BBjSpinner-horizontal-arrows (on touch-oriented devices)
.BBjSpinner-vertical-arrows (on mouse-oriented systems)
.BBjSpinner-upArrow
.BBjSpinner-downArrow
Remarks
None.
Constants inherited from BBjControl
Example
See Also
INPUTE Mnemonic - Create Graphical Edit (INPUTE) Control
CALLBACK Verb - Register BBj Subroutine
DWC Component: dwc-textfield-spinner
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.