public interface SacSelection extends SelectionModel<SacJS>
SelectionModel.AbstractSelectionModel<T>
Modifier and Type | Field and Description |
---|---|
static RegExp |
A_PATTERN
The value pattern of an 'a' superaccount selection switch.
|
Modifier and Type | Method and Description |
---|---|
Switch |
aSacSwitch()
The 'a' superaccount selection switch (which ought not to be a switch).
|
CountJS |
count()
The count that is currently shown, or null if none is shown.
|
SacJS |
getSac()
The superaccount that is currently selected, or null if none is selected.
|
void |
setSac(SacJS newSac)
Sets the superaccount that is currently selected.
|
addSelectionChangeHandler, isSelected, setSelected
fireEvent
getKey
static final RegExp A_PATTERN
vVotes
v'Votes
"v" is the mnemonic for the
counting method, and "Votes" is the account name.
Either form is acceptable in this case. The apostrophe form
(v'Votes
) is required only if the account name begins with an ASCII
lower case letter a-z (example below), digit 0-9 or apostrophe:
q'my account
A match against the pattern sets group 1 to the counting method mnemonic ("q" in this case) and 2 to the account name ("my account").
Switch aSacSwitch()
getSac()
CountJS count()
SacJS getSac()
setSac(SacJS)
void setSac(SacJS newSac)
setSelected( newSac, true );
Setting the superaccount to null, or explicitly deselecting it, does not have the effect of actual deselection. Rather it selects the null superaccount.
getSac()